Regression lesson 4 Starter Dangers of Predicting (extrapolation) Interpretation questions Exam questions.

Slides:



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

Linear regression involves finding the equation of the line of best fit on a scatter graph. The equation obtained can then be used to make an estimate.
Least Squares Regression
Statistics: Unlocking the Power of Data Lock 5 STAT 101 Dr. Kari Lock Morgan Simple Linear Regression SECTION 2.6, 9.1 Least squares line Interpreting.
Correlation and Regression
Definition  Regression Model  Regression Equation Y i =  0 +  1 X i ^ Given a collection of paired data, the regression equation algebraically describes.
AP Statistics Chapters 3 & 4 Measuring Relationships Between 2 Variables.
REGRESSION Predict future scores on Y based on measured scores on X Predictions are based on a correlation from a sample where both X and Y were measured.
Simple Linear Regression Least squares line Interpreting coefficients Prediction Cautions The formal model Section 2.6, 9.1, 9.2 Professor Kari Lock Morgan.
Correlation and Linear Regression
AP STATISTICS LESSON 3 – 3 LEAST – SQUARES REGRESSION.
1.6 Linear Regression & the Correlation Coefficient.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Regression Regression relationship = trend + scatter
CHEMISTRY ANALYTICAL CHEMISTRY Fall Lecture 6.
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.
 For each given scatter diagram, determine whether there is a relationship between the variables. STAND UP!!!
Chapter 2 Examining Relationships.  Response variable measures outcome of a study (dependent variable)  Explanatory variable explains or influences.
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Statistics: Unlocking the Power of Data Lock 5 STAT 250 Dr. Kari Lock Morgan Simple Linear Regression SECTION 2.6 Least squares line Interpreting coefficients.
Section 1.6 Fitting Linear Functions to Data. Consider the set of points {(3,1), (4,3), (6,6), (8,12)} Plot these points on a graph –This is called a.
Simple Linear Regression The Coefficients of Correlation and Determination Two Quantitative Variables x variable – independent variable or explanatory.
3.2 - Residuals and Least Squares Regression Line.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Describing the Relation between Two Variables 4.
Chapter 5 Lesson 5.2 Summarizing Bivariate Data 5.2: LSRL.
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
AP Statistics Section 15 A. The Regression Model When a scatterplot shows a linear relationship between a quantitative explanatory variable x and a quantitative.
REGRESSION Stats 1 with Liz. AIMS By the end of the lesson, you should be able to… o Understand the method of least squares to find a regression line.
Copyright © Cengage Learning. All rights reserved. 8 9 Correlation and Regression.
1 Objective Given two linearly correlated variables (x and y), find the linear function (equation) that best describes the trend. Section 10.3 Regression.
Describing Bivariate Relationships. Bivariate Relationships When exploring/describing a bivariate (x,y) relationship: Determine the Explanatory and Response.
Copyright © Cengage Learning. All rights reserved. 8 4 Correlation and Regression.
10.2 Regression By the end of class you will be able to graph a regression line and use it to make predictions.
Chapter 2 Linear regression.
The simple linear regression model and parameter estimation
Copyright © Cengage Learning. All rights reserved.
Unit 4 LSRL.
LSRL.
Chapter 4.2 Notes LSRL.
Lecture #26 Thursday, November 17, 2016 Textbook: 14.1 and 14.3
Least Squares Regression Line.
LEAST – SQUARES REGRESSION
CHAPTER 3 Describing Relationships
Chapter 5 LSRL.
LSRL Least Squares Regression Line
The Least-Squares Regression Line
Regression Computer Print Out
LEAST – SQUARES REGRESSION
Least Squares Regression Line LSRL Chapter 7-continued
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Section 10.2: Fitting a Linear Model to Data
Least-Squares Regression
BA 275 Quantitative Business Methods
Chapter 3 Describing Relationships Section 3.2
Section 2: Linear Regression.
Chapter 5 LSRL.
Chapter 5 LSRL.
Chapter 5 LSRL.
Least-Squares Regression
Correlation and Regression
Least-Squares Regression
Ch 4.1 & 4.2 Two dimensions concept
3.2 – Least Squares Regression
Section 3.2: Least Squares Regressions
Tuesday, September 29 Check HW Probs 3.13, 14, 20 (7-11-doubles)
Lesson 2.2 Linear Regression.
9/27/ A Least-Squares Regression.
Presentation transcript:

Regression lesson 4 Starter Dangers of Predicting (extrapolation) Interpretation questions Exam questions.

Example: The table shows the latitude, x, and mean January temperature(°C), y, for a sample of 10 cities in the northern hemisphere. Calculate the equation of the regression line of y on x and use it to predict the mean January temperature for the city of Los Angeles, which has a latitude of 34°N. Regression CityLatitudeMean Jan. temp. (°C) Belgrade451 Bangkok1432 Cairo3014 Dublin503 Havana2322 Kuala Lumpur327 Madrid405 New York410 Reykjavik30–1 Tokyo365 Response variable y Explanatory variable x

Using a calculator gives A = , B = This is our estimate of the mean January temperature in Los Angeles Regression So, when x = 34, y = 33.3 – × 34 = 8.82°C. Note: This prediction for the mean January temperature in Los Angeles is based purely on the city’s latitude and takes no account of additional factors that can affect the climate of a city, such as altitude or proximity to the coast This gives y = 33.3 – 0.720x

Regression d1d1 d2d2 d3d3 d4d4 d5d5 d6d6 The distances d i are referred to as residuals Note: The best fitting line should pass through the mean point,. The best fitting line is the one that minimizes the sum of the squared deviations,, where d i is the vertical distance between the i th point and the line.

A regression equation can only confidently be used to predict values of y that correspond to x values that lie within the range of the data values available. Dangers of Predicting (extrapolation) It can be dangerous to extrapolate (i.e. to predict) from the graph, a value for y that corresponds to a value of x that lies beyond the range of the values in the data set. It is reasonably safe to make predictions within the range of the data. It is unwise to extrapolate beyond the given data. This is because we cannot be sure that the relationship between the two variables will continue to be true.

Interpretation of A and B for starter Give an interpretation of A and B in context Using a calculator gives A = , B = Latitude Mean temperature A is the temperature when latitude is 0 ie the temperature at the equator B is the decrease in temperature per increase in one degree of latitude.

Interpretation questions from booklet

Exam questions in booklet