Skip to content
Prev 349984 / 398506 Next

Wrong results from anova

Li Li -
    I belive it's a rounding error -- try setting

options(digits=8)

    before displaying the output:
Df Sum Sq Mean Sq F value Pr(>F) 
sample.Y     3   2203     734  190706 <2e-16 ***
Residuals    8      0       0 
---
Signif. codes:  0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1
Df  Sum Sq Mean Sq F value    Pr(>F) 
sample.Y     3 2202.70  734.23  190706 < 2.2e-16 ***
Residuals    8    0.03    0.00 
---
Signif. codes:  0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1

 					- Phil Spector
 					 Statistical Computing Facility
 					 Department of Statistics
 					 UC Berkeley
 					 spector at stat.berkeley.edu
On Tue, 14 Apr 2015, li li wrote: