Hi everyone,
I have a dataset that includes age (continuous variable) and smoking status (smokers=500 vs. non-smokers1500). Given that smokers are older than non-smokers, I would like to match two subsamples based on the age variable. In other words, I would like to have a dataset with 500 smokers and non-smokers (n=?) that have a pretty similar age.
Thanks,
NM
Related Posts with Balancing two subsamples
Factor Analysis - LR & chi square testHi there, I'm conducting a factor analysis (EFA, factor command, pf default) and have 2 questions: …
Margins command: discrete change not from the base levelHi Statalist, I am currently working on a probit model in which the dependant variable is labor for…
How to calculate BMI using height & weightGood afternoon, I was wondering if any of you, STATA experts, could assist me and guide me in how t…
RD Regression with multiple thresholdsHello all, I currently try to set up an RD-regression with 10 thresholds. For a single threshold the…
"insufficient memory" errorHi guys, When I run an OLS regression I have the following error: "insufficient memory r(950)". The…
Subscribe to:
Post Comments (Atom)
0 Response to Balancing two subsamples
Post a Comment