Skip to content
Prev 313282 / 398503 Next

Some coefficients are doubled when I use the step() function

Chris Beeley <chris.beeley <at> gmail.com> writes:
[snip]
My guess is that S1Q7.1 and S1Q5.1 are (possibly accidentally)
categorical variables (factors), and that either the second and
third levels of the factors are "1" and "2", or you have set
sum-to-zero contrasts somewhere along the line.

  Note that other variables have numeric values appended to
their names, which indicates that they are also being treated
as categorical variables, and that their levels are coded
numerically ... (e.g. SIQ4.1)

  My prediction is that this "doubling" is independent of
the use of step(), and that you would see these parameters
reflected in the summary() of the full model ...