Hi,
I was hoping if someone can help me with this. I have a data set with about 100 cases and 6000 controls. I want to create a propensity score matched cohort of 1 case:3 controls (propensity score generated based on a set of baseline variables like age, gender, kidney function etc.). The -psmatch2- command does not let me create 1-to-many matching without replacement when using the n() option
"psmatch2 treatment_variable , pscore(logit1) caliper (.2) noreplacement n(3)"- returns error message
"psmatch2 treatment_variable , pscore(logit1) caliper (.2) n(3)"- does propensity matching with replacement (not what I am looking for)
Can anyone please suggest on how to do this/share code to overcome this? I am using Stata 15 version. I can't use the -teffects- command as I need the id for matched controls to do survival analysis on the final matched cohort.
Thank you so much in advance.
Related Posts with 1-to-(n) Propensity score matching without replacement
Heckman correctionHello, is there a possibility to include an if condition in the Heckman correction? I am currently…
Replacing ID on different dataHello, I am having 2 different data file from excel. This is data A (general data) Code: . list id…
Diff-in-Diff at district level with a Pseudo PanelDear all, I currently try to carry out a diff-in-diff analysis under the use of two cross-sectional…
How to identify ID_code from _NHallo Statalists. I have the following question for you. Take the following two variables, id_code …
Panel-data mixed logit: repeated choices under different circumstancesHi Statalist, Using the panel-data mixed logit choice model – cmxtmixlogit – one can take into acco…
Subscribe to:
Post Comments (Atom)
0 Response to 1-to-(n) Propensity score matching without replacement
Post a Comment