SnowfallRegression_f10

SnowfallRegression_f10 - Statistics 3011, Course Notes...

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

View Full Document Right Arrow Icon
December 13, 2010 Regression of Late Season Snowfall on Early Season Snowfall In this handout, we will study a regression of late-season snowfall on early-season snowfall using data from Fort Collins, CO. In this example, it is natural to think of late-season snow- fall as the response variable and early-season snowfall as the explanatory variable. We want to use early-season snowfall to predict late-season snowfall, while the reverse makes no sense. It is always a good idea to plot the data, so we use R to draw a scatterplot. > loc<-"http://www.stat.umn.edu/~crolling/data/ftcollinssnow.txt" > snow<-read.table(loc,header=T) > attach(snow) > plot(x=Early,y=Late,xlab="Sept-Dec Snowfall (in.)", + ylab="Jan-June Snowfall (in.)", + main="Late vs. Early Season Snowfall in Ft. Collins, CO") > myfit<-lm(Late~Early) #Create the regression line and call it myfit 0 10 20 30 40 50 10 20 30 40 50 60 Late vs. Early Season Snowfall in Ft. Collins, CO Sept-Dec Snowfall (in.) Jan-June Snowfall (in.) Thoughts? 1
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/28/2011 for the course ECON 12421 taught by Professor Hogan during the Spring '10 term at University of Michigan.

Page1 / 4

SnowfallRegression_f10 - Statistics 3011, Course Notes...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online