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
How to give different color for all the scatter plots in a graph?Hello everyone, I am using Stata 16.0, The data is in wide format with 29 observations. It is a Nati…
matcell option in a table with weightsWhile running table son father[pw=pn], center format(%9.0f) matcell(PQ) I am getting an error messa…
Difference in Difference with propensity score matchingHello Statalist team, may I ask you the following qustion? I would like to use the DID with propens…
New package: xtbalance2 - Create a balanced subsample from unbalanced panel data.Thanks to Kit Baum, a new package called xtbalance2 is available on SSC. xtbalance2 creates an indi…
How to convert a variable in the format "day, month, year" to another variable in the format "month, year"?Hello, I would like to convert a "date" variable in is in the format "day, month, year" to another …
Subscribe to:
Post Comments (Atom)
0 Response to Post-test estimations with imputed data using stcrreg
Post a Comment