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
Merging Refinitiv ESG data with Compustat dataHi Stata experts, I am trying to merge Refinitiv ESG data Compustat data. ESG data has 8 digit cusi…
In etable the label suboption of cstat does not appear to do anything?First of all I just want to say that the etable command is a wonderful addition to Stata.. I'm tryin…
survival analysis using cure mixture mode (cureregr)hi, i'm trying to run a cure mixture model using cureregr command. as i had never use that model, ca…
Statistically compare two proportions on multiply imputed dataDear all, I calculated two proprtions based on 50 multiply imputed datasets and received the follow…
Record-to-date value in a time series or panelI will illustrate my question with an example. Say I have a variable called Temperature for 100 yea…
Subscribe to:
Post Comments (Atom)
0 Response to Exact matching on Propensity Score Matching
Post a Comment