3.2 (part 1) 9.22.2017.

Slides:



Advertisements
Similar presentations
Objectives 10.1 Simple linear regression
Advertisements

 Coefficient of Determination Section 4.3 Alan Craig
LSRL Least Squares Regression Line
LINEAR REGRESSION: Evaluating Regression Models. Overview Standard Error of the Estimate Goodness of Fit Coefficient of Determination Regression Coefficients.
Linear Regression.
Section 9.2 Linear Regression © 2012 Pearson Education, Inc. All rights reserved.
Section 4.2 Regression Equations and Predictions.
5.7 – Predicting with Linear Models  Today we will be learning how to: ◦ Determine whether a linear model is appropriate ◦ Use a linear model to make.
Get out your Interpretation WS! You will be able to predict values based on a regression line. You will be able to communicate the risk in extrapolation.
Simple Linear Regression. Deterministic Relationship If the value of y (dependent) is completely determined by the value of x (Independent variable) (Like.
Regression Regression relationship = trend + scatter
7-3 Line of Best Fit Objectives
Unit 3 Sections 9.2 – Day 1.  After we determine that a relationship between two variables exists (correlation), the next step is determine the line.
Frap Time! Linear Regression. You will have a question to try to answer and I’ll give you 15 minutes. Then we will stop, look at some commentary then.
Residual Plots Unit #8 - Statistics.
Least Squares Regression Lines Text: Chapter 3.3 Unit 4: Notes page 58.
Introduction to Regression
3.2 - Residuals and Least Squares Regression Line.
REGRESSION MODELS OF BEST FIT Assess the fit of a function model for bivariate (2 variables) data by plotting and analyzing residuals.
Chapter 5 LSRL. Bivariate data x – variable: is the independent or explanatory variable y- variable: is the dependent or response variable Use x to predict.
Chapter 8 Part I Answers The explanatory variable (x) is initial drop, measured in feet, and the response variable (y) is duration, measured in seconds.
 Understand how to determine a data point is influential  Understand the difference between Extrapolation and Interpolation  Understand that lurking.
Warm-up Get a sheet of computer paper/construction paper from the front of the room, and create your very own paper airplane. Try to create planes with.
Linear Regression Essentials Line Basics y = mx + b vs. Definitions
Trail Mix Investigation
CHAPTER 3 Describing Relationships
Logistic Regression When and why do we use logistic regression?
Simple Linear Regression
Lesson 4.5 Topic/ Objective: To use residuals to determine how well lines of fit model data. To use linear regression to find lines of best fit. To distinguish.
Unit 4 LSRL.
LSRL.
Lecture #26 Thursday, November 17, 2016 Textbook: 14.1 and 14.3
Least Squares Regression Line.
Sections Review.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
10.2 Regression If the value of the correlation coefficient is significant, the next step is to determine the equation of the regression line which is.
Residuals Algebra.
Chapter 5 LSRL.
Active Learning Lecture Slides
LSRL Least Squares Regression Line
Correlations NOT causal relationship between variables predictive.
Chapter 4 Correlation.
Chapter 3.2 LSRL.
Simple Linear Regression
Homework: Residuals Worksheet
Suppose the maximum number of hours of study among students in your sample is 6. If you used the equation to predict the test score of a student who studied.
Regression.
Least Squares Regression Line LSRL Chapter 7-continued
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Chapter 3: Describing Relationships
Examining Relationships
Residuals and Residual Plots
Simple Linear Regression
Chapter 5 LSRL.
Chapter 5 LSRL.
Lesson 2.2 Linear Regression.
11C Line of Best Fit By Eye, 11D Linear Regression
Chapter 3: Describing Relationships
CHAPTER 3 Describing Relationships
3.2 – Least Squares Regression
CHAPTER 3 Describing Relationships
Math 243 Exam 2 Preparation.
CHAPTER 3 Describing Relationships
Lesson 2.2 Linear Regression.
Jeopardy Final Jeopardy Chi Square Linear Regression CATS!!!! $100
Descriptive Statistics Univariate Data
9/27/ A Least-Squares Regression.
Residuals (resids).
Residuals and Residual Plots
Presentation transcript:

3.2 (part 1) 9.22.2017

Y-hat Why do we label the predicted value y-hat instead of just y?

Y-hat Why do we label the predicted value y-hat instead of just y? Because the “true” y values are just labeled as y So “true” or “observed” y values are just y “Predicted” y values are y-hat

GPA Example GPA Stats Grade Student 1 3.317 94.37 Student 2 2.500 76.06 Student 3 4.024 100.73 Student 4 4.238 97.11

GPA Example When I calculate a regression line, I get: 𝐺𝑟𝑎𝑑𝑒 =46.73+12.88(𝐺𝑃𝐴) GPA Stats Grade Student 1 3.317 94.37 Student 2 2.500 76.06 Student 3 4.024 100.73 Student 4 4.238 97.11

GPA Example When I calculate a regression line, I get: 𝐺𝑟𝑎𝑑𝑒 =46.73+12.88(𝐺𝑃𝐴) So if I want to estimate (or predict) the grade in AP Stats for someone with a 3.12 GPA, what would I do? GPA Stats Grade Student 1 3.317 94.37 Student 2 2.500 76.06 Student 3 4.024 100.73 Student 4 4.238 97.11

GPA Example When I calculate a regression line, I get: 𝐺𝑟𝑎𝑑𝑒 =46.73+12.88(𝐺𝑃𝐴) So if I want to estimate (or predict) the grade in AP Stats for someone with a 3.120 GPA, what would I do? 𝐺𝑟𝑎𝑑𝑒 =46.73+12.88 3.120 So our predicted grade is 86.916 GPA Stats Grade Student 1 3.317 94.37 Student 2 2.500 76.06 Student 3 4.024 100.73 Student 4 4.238 97.11

Practice (Corvettes) 𝑃 =371.6−27.9(𝐴𝑔𝑒) Use the regression equation to predict the value of a brand new Corvette Predict the value of a 3 year old Corvette Predict the value of a 20 year old Corvette

Practice (Corvettes) Note: Price in hundreds of dollars 𝑃 =371.6−27.9(𝐴𝑔𝑒) Use the regression equation to predict the value of a brand new Corvette $37,160 Predict the age of a 3 year old Corvette $28,790 Predict the age of a 20 year old Corvette -$18,640 Someone will PAY YOU to take their 20 year old Corvette!!!!!!

Extrapolation

Residuals

Positive and Negative Residuals So if a positive residual is above the line, that means that 𝑦> 𝑦 Or in other words, the model UNDERpredicted for that value of x If the residual is below the line, it is negative So 𝑦< 𝑦 The model OVERpredicted for that value of x

Residuals Practice So 𝐺𝑟𝑎𝑑𝑒 =46.73+12.88(𝐺𝑃𝐴) Find residuals for each student Y 𝒚 Residual U/O Student 1 94.37 89.45 4.92 Under-Predicted Student 2 76.06 78.93 -2.87 Over Student 3 100.73 98.56 2.17 Under Student 4 97.11 101.32 -4.21

Next Class We will learn how to actually calculate the regression line You’ve done this before on your calculaltors We will learn ways to assess whether linear regression is appropriate for the situation And we will learn how to assess how well the model is doing at predicting the outcome variable Can compare which predictor is more effective