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
The log-likelihood function of mlogit command with vce(cluster id)Hi I have a question about the mlogit command. As you know, multinomial logit model is estimated by…
Two different*scales in graph hbarHi Stata Users, I am using Stata 15 to have a horizontal bar using the dataset below Code: * Exam…
Panel data analysisDear everyone, I hope you are all doing well. I am a beginner in panel data analysis and Stata. My …
Formatting confidence intervals in .csv using esttabHi All, This is an issue I've had when using esttab for several years that I've never been able to f…
not readable outcomesHi every one kindly why my stata program suddenly comes out the tables of results like the following…
Subscribe to:
Post Comments (Atom)
0 Response to Balancing two subsamples
Post a Comment