Skip to content
Prev 248800 / 398503 Next

User error in calling predict/model.frame

On Sat, Jan 29, 2011 at 1:23 PM, Joshua Wiley <jwiley.psych at gmail.com> wrote:
don't know why I did that the hard way (besides I think I messed up
the formula slightly), but the point is there's still a difference
between the scaled interaction from unscaled variables and the
interaction of scaled variables.

sdAB <- sd(xxAB) # <-- what I should have done
[1]  0.18412267 -0.97105894 -1.45088077 -1.37131900  0.09339332  0.74663645
 [7] -1.27092403 -0.41183471 -1.45890639  0.06568750  0.60130106  1.35945072
[13]  0.79255938  1.80314145  0.51553234 -0.23553700 -0.42045914 -0.73543976
[19]  1.40009474  0.68251640