Statistics324_HW7

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 DocumentRight 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(&quot;g&quot;,&quot;p&quot;,&quot;smooth&quot;)) xyplot(age~sqrt(igf1),data=older,type=c(&quot;g&quot;,&quot;p&quot;,&quot;r&quot;)) xyplot(resid(fm1)~fitted(fm1), type=c(&quot;g&quot;,&quot;p&quot;,&quot;smooth&quot;)) 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. Its not perfect, but increasing variation is there....
View Full Document

This note was uploaded on 03/27/2008 for the course STAT 324 taught by Professor Bates during the Fall '06 term at Wisconsin.

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
Ask a homework question - tutors are online