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
ANOVA error r(422); "could not determine between-subject basic unit; use bseunit() option" Using bseunit() option, but get this error anywayHello, I'm new to using the ANOVA command (it is not common in my field). A reviewer for a journal …
Power calculations in stataI would like to use the stata power command, to estimate the smallest effect size I would be able to…
'xtoverid' after multiple imputation in panel data?Hello there, I am a first time Stata user and am having a few problems. I already searched in this f…
How to generate a new binary variable based on individuals having 2 or more of other risk factorsI would like to create a variable based on individuals being classified as "high risk" or "low risk"…
Reshape data wide to long for xtivregHello, Currently I have panel data in wide form with variables indicating the year at the end, (eg, …
Subscribe to:
Post Comments (Atom)
0 Response to Matching Case-Control Code Needed
Post a Comment