IPS6eCh02_3bb

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

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

Looking at Data - Relationships   Least-Squares Regression IPS Chapter 2.3

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

View Full Document
Objectives (IPS Chapter 2.3) Least-squares regression Regression lines Prediction and Extrapolation Correlation and r 2 Transforming relationships
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?

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

View Full Document
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.
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.

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

View Full Document
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 ˆ + =
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.

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

View Full Document
BEWARE!!! Not all calculators and software use the same convention. Some use:
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

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