{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HW #5 - fit< lm(Y~X summary(fit for 2 plots on the same...

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 <- lm(Y~X) summary(fit) # for 2 plots on the same page (and square plots) par(mfrow=c(2,1)) par(pty="s") plot(fit$residuals) title("Residuals") abline(h=0, lty=3) plot(X, fit$residuals) abline(h=0, lty=3) title("Residuals vs. X")...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online