I have a dataset where I calculated incidence by age groups using the following command:
stset censor, failure(event==1) exit(end) enter(start) id(id) scale(365.25) origin(dob)
stsplit agegroup, at(0(10) 80)
strate agegroup, per(100000)
I also need the distribution of people in _D (number of events) and _Y (person-years)
How do I get the number of people in the group instead of the person-years when using strate in Stata?
Thank you very much
Related Posts with population distribution for stsplit
help exporting lstat results after logistic regression into word/excel documentshi all, does anyone know of a way to export the results of lstat into a word document or a table/exc…
Creating variables for husband and wife using data for respondent and their partnerDear Statalist. I would like help to generate a variable, say level of education "educ" for the mal…
Threshold for small/large T in quarterly panel dataDear all, Sorry for basic question. I am estimating dynamic panel data model for 40 countries &…
Heckman Procedure for Gender Wage Gap (Oaxaca Decomposition)I am trying to decompose the gender wage gap into explained and unexplained factors using the Blinde…
Choose Which Fixed Effect Has Coefficient 0Hi Statalisters, I'm running a fixed-effects regression with fixed-effects by region (e.g. Americas…
Subscribe to:
Post Comments (Atom)
0 Response to population distribution for stsplit
Post a Comment