Hi,
I am using survey data in a study and have svy set the data. I am using Cox regression to compute hazard ratios, which is no problem with the svy command. However, I would also like to report the number of events, person-years at risk, and event rates. It seems the svy does not support e.g. stdescribe and strate. Does anyone know if there is another way to get my desired numbers?
Best wishes,
Sigrun
Related Posts with Events and rates with svy command
Cartesian product of ColumnsDear Statalisters, I have 2 sets Set_1= {HH, HT, TT, TH} and Set_2 = {1, 2, 3, 4}. These are the in…
GMM for time seriesHello Statalist, 1.I am using time series data. my main equation is pbt = a0+a1pbt-1+a2pdt-1+ogt+e b…
Mark latest observation with unbalanced paneldataI want to mark the latest observation in an unbalanced dataset with panel data Timevaribel: t (vari…
Importing an Imputed FileHi everyone, I created an Imputed version of my data on a PC machine using Stata/SE. I've now opene…
Need help with sampling processHello, I am working with a dataset with merged data from 2 survey rounds (2005 & 20011). The f…
Subscribe to:
Post Comments (Atom)
0 Response to Events and rates with svy command
Post a Comment