This code uses the MatchIt package for propensity score matching to demonstrate with and without replacement Nearest Neighbor matching. The additional extension it offers is to create panel data using matched sample in both instances (particularly non-trivial for with replacement matches).
There isn't an easy way to export messy R output for regressions into a usable table. You're probably okay manually doing this for 1-2 regressions, but what if you have to estimate hundred of models for different Ys (dependent variables). This code allows export of regression results produced from regressing different Ys ('outcome list') on a set of Xs into a usable CSV file. You can flexibly incorporate clustering, fixed effects, etc. as needed in the code. Happy regressing!
Exciting marketing research, cutting-edge methods, and highlights from marketing conferences