Re: [R] stepwise variable selection with multiple dependent variables

2012-02-10 Thread Mitchell Maltenfort
"Anova.mlm" would be one way to do model selection. On Fri, Feb 10, 2012 at 4:29 PM, Fugate, Michael L wrote: > Good Day, > > I fit a multivariate linear regression model with 3 dependent variables and > several predictors using the lm function.  I would like to use stepwise > variable select

[R] stepwise variable selection with multiple dependent variables

2012-02-10 Thread Fugate, Michael L
Good Day, I fit a multivariate linear regression model with 3 dependent variables and several predictors using the lm function. I would like to use stepwise variable selection to produce a set of candidate models. However, when I pass the fitted lm object to step() I get the following error: