Displaying 1 result from an estimated 1 matches for "firstint".
Did you mean:
firsting
2009 Jun 23
0
Fractional Polynomials in Competing Risks setting
...re I cannot use the Cox
model.
The code I used to get the MFP model was:
coxfitf <- mfp(Surv(with.Withtime,with.Wcens)~fp(all.age),family=cox,data=nearma,select=0.05,verbose=TRUE)
where with.Withtime is the time to treatment withdrawal, with.Wcens is
the censoring indictor for the event and all.firstint is the age at
baseline.
To look at the competing risks regression modelling when age in
untransformed, I can use the following code:
fitn<-crr(nearma$with.Withtime,censaeb,as.matrix(nearma$all.age),failcode=2,cencode=0)
where censaeb is the censoring indicator which is coded 1 for the
event of...