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
Problems with the ppplot command and resulting graphHi Statalisters, I faced a problem with the ppplot command by Nicholas J. Cox. First, I want to ed…
Estimation of 5-year Cumulative incidence proportions stratified by age, sex and comorbiditiesHi Stata forum, I try to post once more regarding my problem - now hopefully its easier to read my c…
Dark modeHi everyone I have a basic question about lay-out. I really like the dark mode option, but when cho…
Macro indicatorHello, I have a question concerning a macro indicator included in my Random-Effects Modell. I am stu…
Passing arguments to mata functionsArray why is there two arguments needed in the functions?What does touse stand for?I don't understan…
Subscribe to:
Post Comments (Atom)
0 Response to population distribution for stsplit
Post a Comment