How program a Propensity Score Matching?


I need to "program" a Propensity Score Matching, but using only loops and not pscore or other command, my problem is that i dont now how start o put the variables into the loop.



Not a robit
I believe STATA has some packages for PS. What kind of PS were your thinking about (e.g., inverse probabilities as scores or use of ensembles, use of strata, or matching as your title suggests). Also, there are other details that I am not over familiar with, but you can match a variable more than once and/or have many to one, etc. The book by Guo and Frazer has some STATA examples, I believe.