Dear statalist,
we know that it is possibile to check the effect modification between two categorical variables using lrtest; for example
stset fu_1, fail(morte=1) id(id)
stcox i.agegroup##i.sex
est store a
stcox i.agegroup i.sex
est store b
lrtest a b
and an interaction term can be used if p<0.05 (null hypothesis is no interaction between age and sex)
how ti perform the same test afferma stcrreg with the fine and gray model?
we know that it is possibile to check the effect modification between two categorical variables using lrtest; for example
stset fu_1, fail(morte=1) id(id)
stcox i.agegroup##i.sex
est store a
stcox i.agegroup i.sex
est store b
lrtest a b
and an interaction term can be used if p<0.05 (null hypothesis is no interaction between age and sex)
how ti perform the same test afferma stcrreg with the fine and gray model?
Comment