I am new to R & propensity matching. I doing a quasi-experimental study in which a group of 320 students received treatment and a group of 280 students did not receive treatment.

I would like to match individual students in the two groups based on gender, race and SES (these are nominal data). Can I use R to do this? Can someone send me a script?

Thank you, NJ


closed as off-topic by Sycorax, gung, Silverfish, kjetil b halvorsen, Andy Feb 11 '16 at 20:59

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question appears to be off-topic because EITHER it is not about statistics, machine learning, data analysis, data mining, or data visualization, OR it focuses on programming, debugging, or performing routine operations within a statistical computing platform. If the latter, you could try the support links we maintain." – Sycorax, gung, Silverfish, kjetil b halvorsen, Andy
If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ I don't think this should be on hold. While it does specifically address R, there is an element of statistics here in that the OP asks. $\endgroup$ – StatsStudent Feb 12 '16 at 18:10

That is called exact matching, not propensity score matching. You can use R to do exact matching. If you want to do propensity score matching, I suggest you take a look at the packages mentioned on Elizabeth Stuart's website for propensity score software: http://www.biostat.jhsph.edu/~estuart/propensityscoresoftware.html.

Personally, I like the twang package in R if you do want to do propensity score matching.

  • $\begingroup$ thank you...this is very helpful. I'll follow through with your suggestions. $\endgroup$ – Nora Jones Feb 11 '16 at 21:55

Not the answer you're looking for? Browse other questions tagged or ask your own question.