Skip to content
Prev 314685 / 398502 Next

building a regression model

Hello,

The "error" is just a warning, these are not the same thing. And the 
warning says that you're giving a wrong scope argument, one that 
includes the response. See ?add1. Argument 'scope' is "a formula giving 
the terms to be considered for adding or dropping." And you're passing 
the entire data.frame, not just the regressors.
To get rid of the warning, try the following.

add1(mydata.lm, ~ A + B + C + D, test='F')

Hope this helps,

Rui Barradas
Em 04-01-2013 23:53, dada escreveu: