Skip to content
Prev 31518 / 398506 Next

stepAIC/lme (1.6.2)

On Fri, 2 May 2003, Peter B. Mandeville wrote:

            
Even though the help does not mention those classes, and the book actually 
uses stepAIC for coxph?
It's as described on the help page, and in Robert Cuffe's example (to 
which those were replies).

data(HR)
fm1HR <- lme(HR ~ Time * Drug + baseHR, data = HR, 
             random = ~ Time | Patient, method = "ML")
stepAIC(fm1HR)

works.  What could be simpler?  (And you can't use method="REML" as this 
is step*AIC*.)

[And that works in 1.7.0 if you update VR.]