hw2sol - STAT 4220 HW2 Solution 1 Problem 1 (a) Fitting the...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
STAT 4220 HW2 Solution 1 Problem 1 (a) Fitting the model yields the following output (see appendix for R code): > summary(g) Call: lm(formula = sqrt(Species) ˜ Area + Elevation + Nearest + Scruz + Adjacent, data = data1) Residuals: Min 1Q Median 3Q Max -4.5572 -1.4969 -0.3031 1.3527 5.2110 Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 3.3919243 0.8712678 3.893 0.000690 *** Area -0.0019718 0.0010199 -1.933 0.065080 . Elevation 0.0164784 0.0024410 6.751 5.55e-07 *** Nearest 0.0249326 0.0479495 0.520 0.607844 Scruz -0.0134826 0.0097980 -1.376 0.181509 Adjacent -0.0033669 0.0008051 -4.182 0.000333 *** --- Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1 Residual standard error: 2.774 on 24 degrees of freedom Multiple R-squared: 0.7827, Adjusted R-squared: 0.7374 F-statistic: 17.29 on 5 and 24 DF, p-value: 2.874e-07 (b) Here is the “Residual versus Fitted” plot: 5 10 15 20 -4 -2 0 2 4 Plot of residual versus fitted values y ^ Residuals 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
(c) There is no clear pattern in the plot, indicating that the errors have a common variance. (d) The Q-Q plot is given below:
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 06/06/2011 for the course STAT 4220 taught by Professor Smith during the Spring '08 term at University of Georgia Athens.

Page1 / 3

hw2sol - STAT 4220 HW2 Solution 1 Problem 1 (a) Fitting the...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online