Hello,
1st time poster here, so please let me know if you need additional details to help.
I am trying to match cases to controls in a 1:2 ratio, ideally on three variables in a specific order:
1. Age +/- 0.5 years
2. lab value (with specific upper and lower calipers)
3. BMI +/- 3 kg/m2
I have tried to use -rangejoin- but seem to have two limitations:
First, I'm not sure if I can match by an age range? I have tried doing it be exact age for now.
Second, I cannot figure out how to match by the last variable.
I would appreciate any help!
Thank you,
Andrey
1st time poster here, so please let me know if you need additional details to help.
I am trying to match cases to controls in a 1:2 ratio, ideally on three variables in a specific order:
1. Age +/- 0.5 years
2. lab value (with specific upper and lower calipers)
3. BMI +/- 3 kg/m2
I have tried to use -rangejoin- but seem to have two limitations:
First, I'm not sure if I can match by an age range? I have tried doing it be exact age for now.
Second, I cannot figure out how to match by the last variable.
I would appreciate any help!
Thank you,
Andrey
Comment