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
Merge not matching for one year for a specific variable unrelated to the mergeI am looking at data on recycling and compost rates and have merged this data with recycling and was…
Matching firm algorithmI am fairly new to Stata and for my PhD would like to try and reproduce previous research done. I h…
Reshape Long to Wide to create dummy variablesI currently have data that looks like this: a X 0 a Y 0 a Y 1 b X 0 b Y 0 b Z 1 c X 1 c Y 1 c Z 0 …
gsemDear all, I am confronting some issues with multi-level gsem. I have a two-level country-individua…
Difference-in-difference model with continuous treatment levelsHi all, For my master thesis I have to calculate the effect of CSR investment on various performanc…
Subscribe to:
Post Comments (Atom)
0 Response to Matching Case-Control Code Needed
Post a Comment