Dear Stata Forum,
I’m trying to perform a Propensity Score Matching with exact matching but found most examples on years using double, which is not my case.
I have a dataset of 2345 children, I want to do exact matching on a series of cofounders X based on binary variable: Gender.
after that I want to do the propensity score matching on the same cofounders X based on Treatment.
Can anyone help me with the code?
Just a plain sample, for just PSM it should be
logit treat X
predict ps
or
pscore treat X, pscore (ps)
psmatch2 treat, out (results) pscore (ps) common
but how to add the binary gender as the criteria for exact matching is really confusing me.
Also how can obtain the pstest results for females and males separately? Does it allow for “if” command?
thank you all very much!
Related Posts with Exact matching on Propensity Score Matching
Confidence Intervals / Errr plots with binscatterI am trying to include confidence intervals / errors bars in a plot for two variables using -binscat…
Calculating difference in differences, percentages and treatment effectsHi everyone, I'm working on a project for my economic development course and am having difficulty d…
Finding the number of firms for which a given worker has worked - Matched employer-employee datasetDear all, I am working with a matched employer-employee dataset from Brazil in which each observati…
Mata debugging strategiesMight anyone suggest helpful references on strategies for Mata debugging? …
Count dates within previous 31 day range for each date using forvaluesDear Stata colleagues, I created a loop in order to count the number of dates following 3 condition…
Subscribe to:
Post Comments (Atom)
0 Response to Exact matching on Propensity Score Matching
Post a Comment