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
Gravity model for importsHi, I am new to STATA and I am having some problems in estimating a fixed effects gravity model est…
Combining graphs from a loopHi, I am making histograms using the following command that I want to loop for 122 countries, Code…
custom xline value per group in xtlineHi. I'm trying to produce a graph for each US state using -xtline- and the -xline- option (Stata 15.…
Sending output to file _instead of_ Results windowI have a do-file that produces a lot of output from various types of commands. I would like to store…
Tabulating across variables after using multencodeHi Everyone, I have a string variable that contains multi-picklist values separated by a semi-colon…
Subscribe to:
Post Comments (Atom)
0 Response to Margins after stcox with multiple records, cluster and time-varied covariates
Post a Comment