[R] Error in step() (or stepAIC) for Cox model

2005-10-24 Thread Li, Jia
Hello all, I am trying to use stepwise procedure to select covariates in Cox model and use bootstrap to repeat stepwise selection, then record how many times variables are chosen by step() in bootstrap replications. When I use step() (or stepAIC) to do model selection, I got errors. Here is

Re: [R] Error in step() (or stepAIC) for Cox model

2005-10-24 Thread Prof Brian Ripley
On Mon, 24 Oct 2005, Li, Jia wrote: Hello all, I am trying to use stepwise procedure to select covariates in Cox model and use bootstrap to repeat stepwise selection, then record how many times variables are chosen by step() in bootstrap replications. When I use step() (or stepAIC) to do