10.07.2015 Views

Using R for Introductory Statistics : John Verzani

Using R for Introductory Statistics : John Verzani

Using R for Introductory Statistics : John Verzani

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Analysis of variance 317Figure 11.6 Parallel-lines modelshowing reference slope and slope<strong>for</strong> smokers (dashed line)Coefficients:Estimate Std. Error t value Pr(>|t|)(Intercept) 107.0674 3.2642 32.80 < 2e-16***wt1 0.1204 0.0245 4.93 9.6e-07***factor(smoke)1 −8.3971 1.1246 −7.47 1.6e−13 ***f act or(smoke) 2 0.7944 1.9974 0.40 0.69factor(smoke)3 1.2550 1.9112 0.66 0.51factor(smoke)9 2.8683 5.6452 0.51 0.61--Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1‘ ’ 1Residual standard error: 17.7 on 1194 degrees offreedomMultiple R-Squared: 0.0775, Adjusted R-squared: 0.0736F-statistic: 20.1 on 5 and 1194 DF, p-value: plot(wt ~ wt1, pch=smoke, data=babies, subset=wt1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!