Least-Squares Regression

Slides:



Advertisements
Similar presentations
Simple Linear Regression. Start by exploring the data Construct a scatterplot  Does a linear relationship between variables exist?  Is the relationship.
Advertisements

CHAPTER 3 Describing Relationships
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Introduction to Regression Analysis. Dependent variable (response variable) Measures an outcome of a study  Income  GRE scores Dependent variable =
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.
^ y = a + bx Stats Chapter 5 - Least Squares Regression
LEAST-SQUARES REGRESSION 3.2 Least Squares Regression Line and Residuals.
Simple Linear Regression The Coefficients of Correlation and Determination Two Quantitative Variables x variable – independent variable or explanatory.
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
CHAPTER 5: Regression ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Least Square Regression Line. Line of Best Fit Our objective is to fit a line in the scatterplot that fits the data the best As just seen, the best fit.
The simple linear regression model and parameter estimation
CHAPTER 3 Describing Relationships
Bring project data to enter into Fathom
Unit 4 LSRL.
LSRL.
Chapter 4.2 Notes LSRL.
Least Squares Regression Line.
Statistics 101 Chapter 3 Section 3.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Chapter 5 LSRL.
Chapter 3.2 LSRL.
The Least-Squares Regression Line
Data Analysis and Statistical Software I ( ) Quarter: Autumn 02/03
AP Stats: 3.3 Least-Squares Regression Line
Least-Squares Regression
Least Squares Regression Line LSRL Chapter 7-continued
CHAPTER 3 Describing Relationships
^ y = a + bx Stats Chapter 5 - Least Squares Regression
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Chapter 3 Describing Relationships Section 3.2
Least-Squares Regression
Chapter 3: Describing Relationships
Daniela Stan Raicu School of CTI, DePaul University
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
Warmup A study was done comparing the number of registered automatic weapons (in thousands) along with the murder rate (in murders per 100,000) for 8.
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
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
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.
Lesson 2.2 Linear Regression.
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Least Squares Regression Chapter 3.2
Chapter 3: Describing Relationships
9/27/ A Least-Squares Regression.
Chapter 3: Describing Relationships
MATH 2311 Section 5.3.
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
Presentation transcript:

Least-Squares Regression

Regression Line (Model) It has the form y = a + bx, where b is the slope, the amount by which y changes when x increases by 1 unit where a is the intercept, the value of y when x = 0

Slope: Intercept: The line that makes the sum of the squares of the vertical distances of the data points from the line as small as possible.

Linear Regression Purpose: To predict the value of a difficult to measure variable, Y, based on an easy to measure variable, X. Examples Predict state revenues Predict GPA based on SAT predict reaction time from blood alcohol level

Extrapolation Extrapolation is the use of a regression line for prediction far outside the range of values of the independent variable x that you used to obtain the line. Such predictions are not accurate. GRE consideration? Be Careful!

Interpreting Results The regression line always passes through the point The slope ‘says’ that along the regression line, a change of one standard deviation in x corresponds to a change of r standard deviations in y When r = 1 or –1 the change in standard units is the same

Variation The R squared value, , is the % of the variation of Y explained by the model. The higher the value, the better the model.

No Straight Line? What if the scatterplot shows a straight line model is not appropriate? Might see if some function of y is approximately linear in some function of x. Examples Plot y versus ln(x) Plot 1/y versus 1/x If so, fit straight line model in terms of new variables.

Example Let’s use the alcoholic beverage and recall data How can we tell if it is reasonable to fit a linear regression model? Let’s run the analysis and interpret the results