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
0 Response to population distribution for stsplit
Post a Comment