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
Necessary co-variate omitted due to collinearityHi everyone, I had a quick question. I am new to Stata, so please forgive me if this question seems…
Whether coefficients of before clustering and after clustering in using reg command is strange?Hi all, Today I run a simple reg for a panel dataset with a panel of units and time periods , I con…
Merge two tables with different unique idHi, I have two tables named Ingreso and Trabajo. They look like this: Ingreso folioviv foliohog …
Behavior analysis (relational or random variables?)Dear, good night! I read several topics, but I got more lost. I tried to make a tree to check a path…
Problem with number of instrument with xtabond2Hello everyone, I am just new to managing panel series and I am working on the investigation of fina…
Subscribe to:
Post Comments (Atom)
0 Response to population distribution for stsplit
Post a Comment