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
LPM interpretation. Dummy dependent variable and Log independent variableHi everyone. I have a confusion on how to interpret a LPM where we have a dummy dependent variable …
Deriving R2 with mi estimate: mixedHi everyone, I am interested in tabulating the mean level 1 explained variance Array and mean total …
What diagnostic tests should be conducted after beta regression?Hello, I estimated a beta regression with dependent variable that falls strictly within the range of…
converting long to wide - creating a j variableHello everyone. Thanks for looking at my post. I hope you can help a PhD candidate... I have a data…
3SLS for panel dataHi! I have been trying to estimate the relationship between an endogenous variable (say X) and Y, an…
Subscribe to:
Post Comments (Atom)
0 Response to population distribution for stsplit
Post a Comment