{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Statistics324_HW7

# Statistics324_HW7 - xyplot(age~sqrt(igf1,data=...

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

Statistics 324 – Discussion 311 w/ Jack Homework 7 – Victoria Yakovleva 1. xyplot(body.weight~metabolic.rate,data = rmr,type=c("g","p","smooth")) According to this graph, a simple linear regression model doesn’t seem reasonable. xyplot(body.weight~metabolic.rate,data = rmr,type=c("g","p","r"))

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

View Full Document
flm<-lm(body.weight~metabolic.rate,data=rmr) xyplot(resid(flm)~fitted(flm), type=c("g","p","smooth")) 2. older <- subset(juul, age > 25) fm1<-lm(age~sqrt(igf1),data=older)
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: xyplot(age~sqrt(igf1),data= older,type=c("g","p","smooth")) xyplot(age~sqrt(igf1),data=older,type=c("g","p","r")) xyplot(resid(fm1)~fitted(fm1), type=c("g","p","smooth")) I think this plot does indicate increasing variation with increasing level of response because there is more vertical variation on the right hand side of the plot than the left hand side. It’s not perfect, but increasing variation is there....
View Full Document

{[ snackBarMessage ]}

### Page1 / 3

Statistics324_HW7 - xyplot(age~sqrt(igf1,data=...

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

View Full Document
Ask a homework question - tutors are online