Eric Huerta
December 30, 2017
## Call:
## aov(formula = model, data = CO2)
##
## Terms:
## Type Treatment Residuals
## Sum of Squares 3365.534 988.114 5353.327
## Deg. of Freedom 1 1 81
##
## Residual standard error: 8.129604
## Estimated effects may be unbalanced
##
## Call:
## lm(formula = model, data = CO2)
##
## Residuals:
## Min 1Q Median 3Q Max
## -23.373 -4.658 1.967 5.747 12.287
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 36.973 1.536 24.065 < 2e-16 ***
## TypeMississippi -12.660 1.774 -7.136 3.68e-10 ***
## Treatmentchilled -6.860 1.774 -3.867 0.000222 ***
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## Residual standard error: 8.13 on 81 degrees of freedom
## Multiple R-squared: 0.4485, Adjusted R-squared: 0.4349
## F-statistic: 32.94 on 2 and 81 DF, p-value: 3.407e-11
summary(cars)## speed dist
## Min. : 4.0 Min. : 2.00
## 1st Qu.:12.0 1st Qu.: 26.00
## Median :15.0 Median : 36.00
## Mean :15.4 Mean : 42.98
## 3rd Qu.:19.0 3rd Qu.: 56.00
## Max. :25.0 Max. :120.00
\[H_0:\mu_0=\mu_A\] ## Image on the web
Example