Hello Everyone! I'm wondering if someone could help me with the code for matching a case-control population or point me in the direction of literature/existing code. We have a 122 cases and 85 controls (recruitment out of a cancer clinic). We would like assess two scenarios for matching to find the best fit for the dataset.
Matching variables:
-gender
-cotinine (+/- 100 pg)
-years_smoked (+/- 5 years) - (desired but likely won't be able to match with the third variable due to sample size).
Scenarios:
1. N 1:1
2. N 1:3 with repeated cases in the pool. We would like to keep the ratio favoring controls because the number of matches will be low to keep the power in check.
Any help would be much appreciated!
Erin
Related Posts with Matching Case-Control Code Needed
Matching stringDear all, I have two datasets which I would like to join by name. Unfortunately the string name is …
Goodness of fit test for mixed efffect logistic regression modelHae, I have developed a mixed effect logistic regression model but can not test its goodness of fit.…
Creating dummies in a rolling window of the past 5 yearsDear all, I have an unbalanced, multi-level panel data. I am struggling to create dummy variables …
Forvalues loop, no observationHi, I need to estimated a regression for each industry-year based on the Fama and French 48-industry…
How to Solve conformability error r(503) in Stata using PMG model for long run relationshiphi. I am using panel data having 101 countries for time period of 29 years..my stata version is Stat…
Subscribe to:
Post Comments (Atom)
0 Response to Matching Case-Control Code Needed
Post a Comment