HW #5 - fit <- lm(Y~X) summary(fit) # for 2...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
STAT 420 Spring 2007 Homework #5 (10 points) (due Friday, March 9, by 4:00 p.m.) From the textbook: 5.6 (a), (b) without a computer, show work 5.7 5.8 5.10 5.11 If you want to use R for 5.7, use the following: X <- c(10,5,7,19,11,8) Y <- c(15,9,3,25,7,13)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: fit &lt;- lm(Y~X) summary(fit) # for 2 plots on the same page (and square plots) par(mfrow=c(2,1)) par(pty=&quot;s&quot;) plot(fit$residuals) title(&quot;Residuals&quot;) abline(h=0, lty=3) plot(X, fit$residuals) abline(h=0, lty=3) title(&quot;Residuals vs. X&quot;)...
View Full Document

This note was uploaded on 12/17/2010 for the course STAT 420 taught by Professor Stepanov during the Spring '08 term at University of Illinois, Urbana Champaign.

Ask a homework question - tutors are online