HW2 Q3

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Q3| (a) Consumption=c(327.4,179.5,279.4,139.1,92.5,926.7,2186.3,96.8,523.9,935.9,444.2,119.7,300.7,201.9,194.7,1592.9 ,5142.2) Population=c(17.3,7.7,10.4,5.1,5.0,56.9,79.7,3.5,57.8,124.0,15.1,4.3,39.0,8.7,6.9,57.7,252.7) mean(Consumption) 804.9294 sd(Consumption) 1259.702 mean(Population) 44.22353 sd(Population) 63.57411 plot(Population,Consumption,xlab="Population(in millions)",ylab="Consumption(in millions of pounds)") Consumption(in millions of pounds) 0 0 1000 2000 3000 4000 5000 50 100 Population(in millions) 150 200 250 (b) out=lm(Consumption~Population) summary(out)$coef Estimate...
View Full Document

This note was uploaded on 02/10/2012 for the course STAT 333 taught by Professor Rick during the Spring '11 term at Wisconsin Milwaukee.

Ask a homework question - tutors are online