{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

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

View Full Document Right Arrow Icon
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"))
Background image of page 1

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

View Full Document Right Arrow Icon
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)
Background image of page 2
Background image of page 3
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 Right Arrow Icon bookmark
Ask a homework question - tutors are online