Re: [R] Forcing a variableinto a model using stepAIC

2009-05-22 Thread Chuck Cleland
On 5/22/2009 9:58 AM, Laura Bonnett wrote: > Dear All, > > I am attempting to use forward and/or backward selection to determine > the best model for the variables I have. Unfortunately, because I am > dealing with patients and every patient is receiving treatment I need > to force the variable f

[R] Forcing a variableinto a model using stepAIC

2009-05-22 Thread Laura Bonnett
Dear All, I am attempting to use forward and/or backward selection to determine the best model for the variables I have. Unfortunately, because I am dealing with patients and every patient is receiving treatment I need to force the variable for treatment into the model. Is there a way to do this