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
Sample Selection BiasI have some data from the labour force survey and I'm estimating wage regression. I want to include …
can we transfer args in different do file or how to use statapush efficiently?As far as I know, user-command statapush can be used in seperate way. Usually, I have to seperate do…
Trying to do Rolling Standard Deviation give me this error. Can someone help ?Here is the command: tsset GVKEY_n Year rolling sd_NIBE=r(sd), window (4) clear : su NetIncome And…
How to make household the unit of analysis when using a household survey dataHello everyone, I am currently working on LSMS-ISA for Nigeria, however, whilst some sections have …
3SLS with Instrument VariablesIs it possible to run a 3SLS specification using instrument variables in Stata? I have the followin…
Subscribe to:
Post Comments (Atom)
0 Response to Margins after stcox with multiple records, cluster and time-varied covariates
Post a Comment