[R] glm StepAIC with all interactions and update to remove a term vs. glm specifying all but a few terms and stepAIC

2009-01-26 Thread Robert Michael Inman
Problem: I am sorting through model selection process for first time and want to make sure that I have used glm, stepAIC, and update correctly. Something is strange because I get a different result between: 1) a glm of 12 predictor variables followed by a stepAIC where all interactions are consi

[R] termplot

2009-01-19 Thread Robert Michael Inman
I have used glm and stepAIC to choose a best model. I can use termplot to assess the contribution of each explanatory variable in the glm. However the final model after running stepAIC includes interaction terms, and when I do termplot I get "Error in `[.data.frame`(mf, , i) : undefined columns s