[R] Differences in estimates calculated in R and SPSS

Charles C. Berry cberry at tajo.ucsd.edu
Sat Oct 14 18:53:36 CEST 2006

As Dirk said:

 	There is a Posting Guide recommending how to phrase questions

You are asked to study that guide before posting questions in the FAQ
Section 2.9 What mailing lists exist for R?

You have not provided a reproducible example as the posting guide asks.

To get the best responses from this mailing list you need to do some 
homework first, and the posting guide will lead you through that process.

On Sat, 14 Oct 2006, Katja Walentowitz wrote:

> I have compared the models, they are exactly the same. The same for the
> data. The problem occurs most often when I use the aov-function.
> When I calculate the fitted values, they are the same, but the intercept is
> somewhat different. In R the intercept is more or less the mean of the
> regressand values, as defined in some statistical books - but still: it is
> not the exact mean. In SPSS it is not.
> Thanks again for helping me.
> Katja
> On 10/14/06, Dirk Eddelbuettel <edd at debian.org> wrote:
>> On 14 October 2006 at 16:59, Katja Walentowitz wrote:
>> | I am a bit confused because I get different estimates for the regression
>> | coefficients from R and SPSS.
>> | Does anyone have an explanation for this?  As I am not so experienced in
>> | data analysis, I don't know why this happens.
>> Maybe you are not estimating the same model -- one may have an intercept,
>> and
>> the other doesn't.  Or maybe something happens while you read the data --
>> start by comparing summary statistics, tabulations and plots of your data.
>> But as you didn't tell what you estimated, and how, it is a tad hard for
>> use
>> to guess.  There is a Posting Guide recommending how to phrase questions
>> and
>> what to suplly ...
>> Dirk
>> --
>> Hell, there are no rules here - we're trying to accomplish something.
>>                                                   -- Thomas A. Edison
> 	[[alternative HTML version deleted]]
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

Charles C. Berry                        (858) 534-2098
                                          Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	         UC San Diego
http://biostat.ucsd.edu/~cberry/         La Jolla, San Diego 92093-0717

More information about the R-help mailing list