Least-Squares Regression

Slides:



Advertisements
Similar presentations
AP Statistics Section 3.2 C Coefficient of Determination
Advertisements

AP Statistics.  Least Squares regression is a way of finding a line that summarizes the relationship between two variables.
Definition  Regression Model  Regression Equation Y i =  0 +  1 X i ^ Given a collection of paired data, the regression equation algebraically describes.
CHAPTER 3 Describing Relationships
Regression, Residuals, and Coefficient of Determination Section 3.2.
C HAPTER 3: E XAMINING R ELATIONSHIPS. S ECTION 3.3: L EAST -S QUARES R EGRESSION Correlation measures the strength and direction of the linear relationship.
AP STATISTICS LESSON 3 – 3 LEAST – SQUARES REGRESSION.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Examining Bivariate Data Unit 3 – Statistics. Some Vocabulary Response aka Dependent Variable –Measures an outcome of a study Explanatory aka Independent.
CHAPTER 5 Regression BPS - 5TH ED.CHAPTER 5 1. PREDICTION VIA REGRESSION LINE NUMBER OF NEW BIRDS AND PERCENT RETURNING BPS - 5TH ED.CHAPTER 5 2.
Residuals Recall that the vertical distances from the points to the least-squares regression line are as small as possible.  Because those vertical distances.
LEAST-SQUARES REGRESSION 3.2 Role of s and r 2 in Regression.
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
AP STATISTICS LESSON 3 – 3 (DAY 2) The role of r 2 in regression.
Describing Bivariate Relationships. Bivariate Relationships When exploring/describing a bivariate (x,y) relationship: Determine the Explanatory and Response.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Unit 4 LSRL.
LSRL.
Least Squares Regression Line.
LEAST – SQUARES REGRESSION
Statistics 101 Chapter 3 Section 3.
CHAPTER 3 Describing Relationships
Linear Regression Special Topics.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Least-Squares Regression
Chapter 5 LSRL.
The Least-Squares Regression Line
AP Stats: 3.3 Least-Squares Regression Line
LEAST – SQUARES REGRESSION
Least-Squares Regression
Least Squares Regression Line LSRL Chapter 7-continued
AP STATISTICS LESSON 3 – 3 (DAY 2)
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
Least-Squares Regression
^ y = a + bx Stats Chapter 5 - Least Squares Regression
CHAPTER 3 Describing Relationships
GET OUT p.161 HW!.
Unit 4 Vocabulary.
Chapter 3 Describing Relationships Section 3.2
Least-Squares Regression
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Chapter 5 LSRL.
Chapter 5 LSRL.
Least-Squares Regression
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
3.2 – Least Squares Regression
CHAPTER 3 Describing Relationships
Section 3.2: Least Squares Regressions
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. Find the correlation coefficient & interpret.
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
9/27/ A Least-Squares Regression.
Chapter 3: Describing Relationships
Homework: PG. 204 #30, 31 pg. 212 #35,36 30.) a. Reading scores are predicted to increase by for each one-point increase in IQ. For x=90: 45.98;
MATH 2311 Section 5.3.
CHAPTER 3 Describing Relationships
Presentation transcript:

Least-Squares Regression Section 3.3

Regression Line A regression line is a straight line that describes how a response variable y changes as an explanatory variable x changes. A regression line can be used to the predict the value of y for a given value of x. Regression requires that we have an explanatory variable and a response variable.

Mathematical Model The least-squares regression line, or LSRL, is a model for the data. If the data shows a linear trend, it would be appropriate to fit an LSRL to the data. For some data, a curve is a more appropriate model.

The least-squares regression line No line will pass exactly through all the points… The LSRL is used to predict y from x, so we want a line that is as close as possible to the points in the vertical direction. We want a regression line that makes the vertical distances of the points in a scatterplot from the line as small as possible.

LSRL The least-squares regression line of y on x is the line that makes the sum of the squares of the vertical distances of the data points from the line as small as possible. The equation is The slope is And intercept is

Slope The slope of a regression line is usually important for the interpretation of the data. The slope is the rate of change, the amount of change in y-hat when x increases by 1.

Facts about least-squares regression line In the regression setting you must know clearly which variable is explanatory. Because the slope of the LSRL involves the standard deviations of x and y, a change of one standard deviation in x corresponds to a change of r standard deviations in y.

r2 in regression The coefficient of determination, r2, is the fraction of the variation in the values of y that is explained by least-squares regression of y on x. When you report a regression, give r2 as a measure of how successful the regression was in explaining the response