[R] removing intercept from lm() results in oddly high Rsquared

From: Joseph LeBouton <lebouton_at_msu.edu>
Date: Mon 07 Aug 2006 - 08:21:03 EST


Can anyone help me understand why an lm model summary would return an r.squared of ~0.18 with an intercept term, and an r.squared of ~0.98 without the intercept? The fit is NOT that much better, according to plot.lm: residuals are similar between the two models, and a plot of observed x predicted is almost identical.

Thanks,

-Joseph

--



Joseph P. LeBouton
Forest Ecology PhD Candidate
Department of Forestry
Michigan State University
East Lansing, Michigan 48824

Office phone: 517-355-7744
email: lebouton@msu.edu



R-help@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. Received on Mon Aug 07 08:25:31 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 07 Aug 2006 - 20:18:31 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.