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
Making the observations of a string variable as variable names after drop_allHi, I have a datasheet that has a string variable named "person" with observations like "AM", "MF",…
Removing collinearity between dummy variables in difference-in-difference regressionHello all I'm doing a difference-in-difference regression to analyse the impact of removing financia…
Crossover design analysis using mixedDear Statalist, I am using -mixed- in Stata 15.1 to analyze a crossover trial. In this trial parti…
Estimation of CAPM (beta pricing model) with GMMI want to estimate a beta-pricing CAPM model using a portfolio of 12 assets. I want to use the GMM a…
Error: Too many base levels specified?I am trying to compare coefficients before and after the crisis. I am using the SUEST command so I c…
Subscribe to:
Post Comments (Atom)
0 Response to Matching Case-Control Code Needed
Post a Comment