- 1. [S] Different R^2s? (score: 1)
- Author: Brian Beckage <bb2@duke.edu>
- Date: Thu, 29 Apr 1999 15:35:09 -0400 (EDT)
- I noticed that when I fit the following two models I get different R^2's when (I think) they should be the same. model1<-lm(log(price)~date+mileage+date:mileage+mod450+mod380+ mod280+mod200,data=mer
- /archives/html/s-news/1999-04/msg00282.html (10,554 bytes)
- 2. Re: [S] Different R^2s? (score: 1)
- Author: Prof Brian D Ripley <ripley@stats.ox.ac.uk>
- Date: Thu, 29 Apr 1999 23:07:13 +0100 (BST)
- You may think they should be the same, but S-PLUS does not. I agree. The difference is the null model: this has an intercept in the first case and not the second. Think of R^2 as RSS(fitted model) /
- /archives/html/s-news/1999-04/msg00285.html (8,838 bytes)
This search system is powered by
Namazu