[R] lm without intercept, false R-squared

Mikko Korpela mikko.korpela at aalto.fi
Wed Jun 27 10:34:56 CEST 2012


On 06/27/2012 10:33 AM, Christof Kluß wrote:
> Hi
> 
> is there a command that calculates the correct adjusted R-squared, when
> I work without intercept? (The R-squared from lm without intercept is
> false.)

Hi! This answer in R-FAQ might help you:

http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-does-summary_0028_0029-report-strange-results-for-the-R_005e2-estimate-when-I-fit-a-linear-model-with-no-intercept_003f

-- 
Mikko Korpela
Aalto University School of Science
Department of Information and Computer Science



More information about the R-help mailing list