Anova(data)
和 和有什么不一样anova(data)
?
> anova(res.full)
Analysis of Variance Table
Response: Sales
Df Sum Sq Mean Sq F value Pr(>F)
Promotional.Accounts 1 1070 1070 35.0800 0.0001465 ***
Active.Accounts 1 44337 44337 1453.2067 3.680e-12 ***
Competing.Brands 1 43331 43331 1420.2314 4.124e-12 ***
Potential 1 16 16 0.5146 0.4895772
Residuals 10 305 31
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
> Anova(res.full)
Anova Table (Type II tests)
Response: Sales
Sum Sq Df F value Pr(>F)
Promotional.Accounts 275 1 9.0193 0.01327 *
Active.Accounts 27371 1 897.1238 4.025e-11 ***
Competing.Brands 42877 1 1405.3398 4.346e-12 ***
Potential 16 1 0.5146 0.48958
Residuals 305 10
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’
我不明白为什么在每个表中每个因素的 F 统计量都不同。