Displaying 1 result from an estimated 1 matches for "ika2".
Did you mean:
ika
2005 Oct 06
1
Testing strata by covariate interactions in coxph
...).
In S-plus there seems to be a function waldtest that does the job. Is there
anything similar in R that I could use?
Here is the code for my model. The covariates are a subset of all the
covariates that I use.
fit=coxph(Surv(tykesto,
tyoll)~nainen*strata(group)+I(ika-mean(ika))*strata(group)
+I(ika2-mean(ika2))*strata(group)+keski*strata(group)+korkea*strata(group)
+frailty(hnro),data=coxdata)
tyoll2 =1, if event "getting employed" has occurred, 0 otherwise
nainen = 1, if female 0 otherwise
ika = age in years at the start of the spell
ika2 = age squared
keski =1, if sec...