IPS6eCh02_3bb

IPS6eCh02_3bb - Looking at Data Relationships Least-Squares...

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

View Full Document Right Arrow Icon
    Looking at Data - Relationships   Least-Squares Regression IPS Chapter 2.3
Background image of page 1

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

View Full DocumentRight Arrow Icon
Objectives (IPS Chapter 2.3) Least-squares regression Regression lines Prediction and Extrapolation Correlation and r 2 Transforming relationships
Background image of page 2
Correlation tells us about strength (scatter) and direction of the linear relationship between two quantitative variables. In addition, we would like to have a numerical description of how both variables vary together. For instance, is one variable increasing faster than the other one? And we would like to make predictions based on that numerical description. But which line best describes our data?
Background image of page 3

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

View Full DocumentRight Arrow Icon
The regression line A regression line is a straight line that describes how a response variable y changes as an explanatory variable x changes. We often use a regression line to predict the value of y for a given value of x . In regression, the distinction between explanatory and response variables is important.
Background image of page 4
Distances between the points and line are squared so all are positive values. This is done so that distances can be properly added (Pythagoras). The regression line The least-squares regression line is the unique line such that the sum of the squared vertical ( y ) distances between the data points and the line is as small as possible.
Background image of page 5

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

View Full DocumentRight Arrow Icon
Properties is the predicted y value (y hat) b 1 is the slope b 0 is the y -intercept ˆ y The least-squares regression line can be shown to have this equation: x b b y 1 0 ˆ + =
Background image of page 6
x y s s r b = 1 First we calculate the slope of the line, b 1 ; from statistics we already know: r is the correlation. s y is the standard deviation of the response variable y. s x is the the standard deviation of the explanatory variable x. Once we know b 1 , the slope, we can calculate b 0 , the y -intercept: x b y b 1 0 - = where x and y are the sample means of the x and y variables How to: Typically, we use a 2-var stats calculator or stats software.
Background image of page 7

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

View Full DocumentRight Arrow Icon
BEWARE!!! Not all calculators and software use the same convention. Some use:
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 23

IPS6eCh02_3bb - Looking at Data Relationships Least-Squares...

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

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