Skip to content
Prev 257224 / 398506 Next

Rsquared for anova

Dorien Herremans <dorien.herremans <at> ua.ac.be> writes:
Really ??

  When I run the example in ?lm I get:
Call:
lm(formula = weight ~ group)

Residuals:
    Min      1Q  Median      3Q     Max 
-1.0710 -0.4938  0.0685  0.2462  1.3690 

Coefficients:
            Estimate Std. Error t value Pr(>|t|)    
(Intercept)   5.0320     0.2202  22.850 9.55e-15 ***
groupTrt     -0.3710     0.3114  -1.191    0.249    
---
Signif. codes:  0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1 

Residual standard error: 0.6964 on 18 degrees of freedom
Multiple R-squared: 0.07308,	Adjusted R-squared: 0.02158 
F-statistic: 1.419 on 1 and 18 DF,  p-value: 0.249 

    Note the last three lines.  I would be shocked if there
weren't a similar set of information in your output ...

  Your output looks like the result of summary(aov(...))
There are a lot of things that could be different. Are
you treating factors (categorical predictors) as numeric by
accident?
http://r.789695.n4.nabble.com/Rsquared-for-anova-tp3452399p3452434.html