On Jul 19, 2011, at 7:19 PM, J. wrote:
@Dimitri: I tried to enter it as numeric and still got the same
outcome. I
still wonder if there is any way to get the same result from both
programs.
@David, Bert: Yes, I found that the gender coefficient is R is
exactly twice
that of the one from S
On Tue, Jul 19, 2011 at 4:19 PM, J. wrote:
> @Dimitri: I tried to enter it as numeric and still got the same outcome. I
> still wonder if there is any way to get the same result from both programs.
There is. ?C ?contrasts
But of course you must do your homework to understand how to use
these. (S
At 19.07.2011 18:50 -0700, Spencer Graves wrote:
On 7/19/2011 4:04 PM, Bert Gunter wrote:
On Tue, Jul 19, 2011 at 3:45 PM, David
Winsemius wrote:
On Jul 19, 2011, at 6:29 PM, J. wrote:
Thanks for the answer.
#
However, I am still curious about which result I should
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.
Thank
@Dimitri: I tried to enter it as numeric and still got the same outcome. I
still wonder if there is any way to get the same result from both programs.
@David, Bert: Yes, I found that the gender coefficient is R is exactly twice
that of the one from SPSS. Need to study on parametrization.
Thanks,
J
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
nomina
On 7/19/2011 4:04 PM, Bert Gunter wrote:
On Tue, Jul 19, 2011 at 3:45 PM, David Winsemius wrote:
On Jul 19, 2011, at 6:29 PM, J. wrote:
Thanks for the answer.
#
However, I am still curious about which result I should use? The result
from
R or the one from SPSS?
It
> From: dwinsem...@comcast.net
> To: seoulseoulse...@gmail.com
> Date: Tue, 19 Jul 2011 18:45:47 -0400
> CC: r-help@r-project.org
> Subject: Re: [R] Different result of multiple regression in R and SPSS
>
>
> On Jul 19, 20
On Tue, Jul 19, 2011 at 3:45 PM, David Winsemius wrote:
>
> On Jul 19, 2011, at 6:29 PM, J. wrote:
>
>> Thanks for the answer.
>>
#
>> However, I am still curious about which result I should use? The result
>> from
>> R or the one from SPSS?
>
> It is becoming apparent tha
On Jul 19, 2011, at 6:29 PM, J. wrote:
Thanks for the answer.
However, I am still curious about which result I should use? The
result from
R or the one from SPSS?
It is becoming apparent that you do not know how to use the results
from either system. The progress of science would be saf
I don't think SPSS does anything with the variables you enter there.
Have you entered it as numeric?
Have you entered gender as numeric in R?
On Tue, Jul 19, 2011 at 6:11 PM, Bert Gunter wrote:
> Answer: Contrasts, i.e. the parameterization of the categorical variable(s)
> df.
>
> ?contrasts may
Thanks for the answer.
However, I am still curious about which result I should use? The result from
R or the one from SPSS?
Why the results from two programs are different?
Jay
--
View this message in context:
http://r.789695.n4.nabble.com/Different-result-of-multiple-regression-in-R-and-SPSS-t
Answer: Contrasts, i.e. the parameterization of the categorical variable(s) df.
?contrasts may be of some help, but you really need to do some
background studying of the linear models principles involved. Googling
may provide tutorials. Also searching the mail archives, e.g.:
https://stat.ethz.ch
Hi, I am trying to do a simple multiple regression analysis that has one
nominal variable (gender) and three numeric variables as independent
variables and one numeric variable as dependent variable.
So, I got a formula like this:
summary(out.3 <- lm(scale(DV) ~ gender + scale(IV.1) + scale(IV.2)
14 matches
Mail list logo