{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lecture 12_regression only

# Lecture 12_regression only - E ffe c ts o ffo o d q ua lity...

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

Effe c ts  o f fo o d  q uality   (%  tannin  c o nte nt) o n   c ate rpillar g ro wth

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

View Full Document
Effe c ts  o f fo o d  q uality   (%  tannin  c o nte nt) o n   c ate rpillar g ro wth  Ho: Tannin content in leaves has no effect on caterpillar growth Leaves with no tannin Leaves with tannin Treatment
Experimental growth tannin Unit 1 12 0 2 10 1 3 8 2 4 11 3 5 6 4 6 7 5 7 2 6 8 3 7 Effe c ts  o f fo o d  q uality   (%  tannin  c o nte nt) o n   c ate rpillar g ro wth

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

View Full Document
y = a + b x (Growth = a + b tannin)
y = a + b x (Growth = a + b tannin)

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

View Full Document
y = a + b x (Growth = a + b tannin) b ∆y ∆x
y = 12 – 1.25 x b ∆y ∆x -12 8 -1.25

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

View Full Document
y = a + b x (Growth = a + b tannin) How to estimate regression parameters? Estimate two parameters: slope and Y-intercept
>par(mfrow=c(1,2)) >boxplot(dta\$growth,ylab=“growth”) >stripchart(dta\$growth,ylab=“growth”) Mean=6.9 Median=7.0

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

View Full Document
Median=7.0 Calculate total variance for Y growth Mean growth 12 6.9 10 6.9 8 6.9 11 6.9 6 6.9 7 6.9 2 6.9 3 6.9 3 6.9 Deviation from the mean 5.1 3.1 1.1 4.1 -0.9 0.1 -4.9 -3.9 -3.9 Square deviation
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern