[R] Different result of multiple regression in R and SPSS

Daniel Malter daniel at umd.edu
Wed Jul 20 04:32:42 CEST 2011

First, it would have helped if you had posted the actual results for us to
see how far they are off (and, more specifically, by which factor).

Second, given your epiphany, you will find that that's exactly what David
(and others before him) said or suggested. It is not about standardizing a
nominal variable, which you theoretically cannot. It is about how the
programs encode nominal variables by standard.


J. wrote:
> I finally got the same result by converting "gender" variable as numeric,
> and standardize it.
> I guess SPSS automatically doing the same thing when doing analysis.
> But, it still is not clear to me how I can interpret "standardized
> categorical (dummy coded)" variable.
> I'd rather stick to use R.
> Thanks for all the comments and advice.
> Jay

View this message in context: http://r.789695.n4.nabble.com/Different-result-of-multiple-regression-in-R-and-SPSS-tp3679423p3679861.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list