Dear all,
I am using Fine & Gray proportional subhazard models to calculate the effect of some health behaviours on my outcome variable. I use the following model (after following the steps of imputation):
mi estimate, shr: stcrreg i.smoking##i.edulevel, compete(event==2 3 4) (and some extra values but they are not relevant here).
I am interested in the interaction between smoking and educational level and I would like to get one overall p-value to see whether this is significant. I do however only get two values because both are factor variables and educational levels has three levels (smoking has only two). Does anyone know how to get one overall p-value for this interaction and then perform post-test to see where the differences are? I have tried to do post-test (contrasts) to get this value, but this doesn't work because of the imputed data. I also tried mi test / mi estimate, cmdok / mimrgns (here I only get predictive margins not contrasts), but so far I wasn't succesful.
Thank you in advance!
Related Posts with Post-test estimations with imputed data using stcrreg
Stacked graph bar with marginsplot ?Good morning everyone! I need your help for plotting the results of margins in a nice and straightf…
Extract Year from a string variableHi everyone, I would like to ask some help in order to extract year from a string variable (year of …
FD-GMM vs sys-GMMDear all. Which kind of GMM method should I use to dynamic panel data? FD-GMM or sys GMM?Some people…
Question about datesI had a question about dates. Can someone suggest an efficient method to deal with this type of date…
how to access STATA 16 sever through MAC terminalCurrently, I successfullly installed Stata on my server and can use "./stata" to initiate the progra…
Subscribe to:
Post Comments (Atom)
0 Response to Post-test estimations with imputed data using stcrreg
Post a Comment