Hi !
I use Stata 11.2.
I have a large dataset of observations : 250 are cases and 20,000 are controls. For all these observations, I get age and gender. Moreover, there is a variable named "case'" that identifies cases and controls. I would like to match cases and controls on age and gender with a 4 controls for 1 case ratio.
ccmatch does not allow 1:N matching
nnmatch needs a "treatment" variable
vmatch avoids me to define the number of controls (actually, it defines a variable number of control for each case)
to my knowledge, propensity score is not indicated here. Moreover, I would like to perform an exact matching.
Do you have any idea. I'm a beginner in Stata programming but there may be a quite simple solution with my own do-file ?
Thanks in advance for your help
Best
Guillaume
I use Stata 11.2.
I have a large dataset of observations : 250 are cases and 20,000 are controls. For all these observations, I get age and gender. Moreover, there is a variable named "case'" that identifies cases and controls. I would like to match cases and controls on age and gender with a 4 controls for 1 case ratio.
ccmatch does not allow 1:N matching
nnmatch needs a "treatment" variable
vmatch avoids me to define the number of controls (actually, it defines a variable number of control for each case)
to my knowledge, propensity score is not indicated here. Moreover, I would like to perform an exact matching.
Do you have any idea. I'm a beginner in Stata programming but there may be a quite simple solution with my own do-file ?
Thanks in advance for your help
Best
Guillaume
Comment