[R] in R when I get negative adjusted R^2 using "lm", what might be the problem?

Greg Snow Greg.Snow at imail.org
Mon Nov 10 20:04:47 CET 2008


No problem, adjusted R-squared can be negative.  If there truly is no relationship, then the adjusted R-squared should average to 0, so sometimes it must be negative.  All of your R-squared and adjusted R-squared values suggest that there is not much of a relationship (less without the transform).

--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Michael
> Sent: Sunday, November 09, 2008 6:37 PM
> To: r-help
> Subject: [R] in R when I get negative adjusted R^2 using "lm", what
> might be the problem?
>
> This is a linear regression of Y onto factors...
>
> If I take log of Y, and regress onto the factors, I got:
>
> Multiple R-squared: 0.4023,     Adjusted R-squared: 0.2731
>
> If I don't take log of Y, and directly regress Y onto the factors, I
> got:
>
> Multiple R-squared: 0.1807,     Adjusted R-squared: -0.001112
>
> Is this negative adjusted R^2 a problem?
>
> What observation can I make here and what might be the problem?
>
> Thanks!
>
> ______________________________________________
> R-help at r-project.org 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.



More information about the R-help mailing list