Displaying 1 result from an estimated 1 matches for "cbave".
Did you mean:
cave
2009 Nov 05
1
stepAIC(coxph) forward selection
Dear R-Help,
I am trying to perform forward selection on the following coxph model:
>my.bpfs <- Surv(bcox$pfsdays, bcox$pfscensor)
> b.cox <- coxph(my.bpfs ~ Cbase + Abase + Cbave + CbSD + KPS + gender +
as.factor(eor) + Age)>stepAIC(b.cox, scope=list(upper =~ Cbase + Abase +
Cbave + CbSD + KPS + gender + as.factor(eor) + Age, lower=~1), direction=
c("forward"))
However the following code returns the full model. How do I write the code
so that forward selection...