Hi,
I have a complex dataset with multiple observations and the Cox model has the cluster option and time-varied covariates: stcox a b c a#b , tvc(a b) texp(_t) vce (cluster id).
I would like to obtain margins. When I issue the margins command like the margins coefficients seem too high hence incorrect. Does anybody know how to obtain the margins for a complex model like above?
Regards
Zübe
Related Posts with Margins after stcox with multiple records, cluster and time-varied covariates
updating data in stataI want to add a value for instance '45' for country 'BE' in year '2004' (the fist row of 2004) under…
Convergence not achieved with xtlogit, fe, but it does converge with xtlogit, reI am using xtlogit on the following data: input str2 st int date byte club float(combo l ca com) by…
Sample size estimation for difference-in-difference design with continuous outcomeDear all, I have spent some time looking for possibilities to estimate the required sample size for…
Line graph of the mean of all observationsHello all, I have data that have three variables: vehicle id, speed_kmh, and Time_of_Travel. I am …
egen corr() with weightsDear Statalisters, I have panel data and want to compute a time series of cross-sectional correlati…
Subscribe to:
Post Comments (Atom)
0 Response to Margins after stcox with multiple records, cluster and time-varied covariates
Post a Comment