AP Stats: 3B ~ Least Squares Regression and Residuals. Objectives:

Similar documents
The Least Squares Regression Line

(i.e. the rate of change of y with respect to x)

Chapter 14. Descriptive Methods in Regression and Correlation. Copyright 2016, 2012, 2008 Pearson Education, Inc. Chapter 14, Slide 1

Line of Best Fit Our objective is to fit a line in the scatterplot that fits the data the best Line of best fit looks like:

STATISTICAL DISTRIBUTIONS AND THE CALCULATOR

WEB APPENDIX 8A 7.1 ( 8.9)

d) What is the slope? Interpret in the context of the problem.

Statistics TI-83 Usage Handout

Using the TI-83 Statistical Features

$0.00 $0.50 $1.00 $1.50 $2.00 $2.50 $3.00 $3.50 $4.00 Price

Stat3011: Solution of Midterm Exam One

b) According to the statistics above the graph, the slope is What are the units and meaning of this value?

Linear regression model

Regression. Lecture Notes VII

Use the data you collected and plot the points to create scattergrams or scatter plots.

Graphing Calculator Appendix

Algebra 1 Unit 3: Writing Equations

AP STATISTICS FALL SEMESTSER FINAL EXAM STUDY GUIDE

The instructions on this page also work for the TI-83 Plus and the TI-83 Plus Silver Edition.

σ e, which will be large when prediction errors are Linear regression model

FINITE MATH LECTURE NOTES. c Janice Epstein 1998, 1999, 2000 All rights reserved.

SJAM MPM 1D Unit 5 Day 13

Statistics 101: Section L - Laboratory 6

Business Statistics: A First Course

Economics 102 Homework #7 Due: December 7 th at the beginning of class

REGIONAL WORKSHOP ON TRAFFIC FORECASTING AND ECONOMIC PLANNING

Correlation and Regression Applet Activity

Chapter 5 Project: Broiler Chicken Production. Name Name

Probability & Statistics Modular Learning Exercises

Homework Assignment Section 3

Algebra 1 Predicting Patterns & Examining Experiments

Cost (in dollars) 0 (free) Number of magazines purchased

Econometrics and Economic Data

Probability & Statistics Modular Learning Exercises

Stat 101 Exam 1 - Embers Important Formulas and Concepts 1

Review Exercise Set 13. Find the slope and the equation of the line in the following graph. If the slope is undefined, then indicate it as such.

Linear functions Increasing Linear Functions. Decreasing Linear Functions

Problem Set 5 Answers. ( ) 2. Yes, like temperature. See the plot of utility in the notes. Marginal utility should be positive.

Lecture 13: Identifying unusual observations In lecture 12, we learned how to investigate variables. Now we learn how to investigate cases.

Homework Assignment Section 3

Econometric Methods for Valuation Analysis

Risk Analysis. å To change Benchmark tickers:

Module 2- A Coordinate Geometry. 1. What is an equation of the line whose graph is shown? A. y = x B. y = 2x C. y = x D.

Establishing a framework for statistical analysis via the Generalized Linear Model

YEAR 12 Trial Exam Paper FURTHER MATHEMATICS. Written examination 1. Worked solutions

Stat 328, Summer 2005

Models of Patterns. Lecture 3, SMMD 2005 Bob Stine

Chapter 5. Forecasting. Learning Objectives

f x f x f x f x x 5 3 y-intercept: y-intercept: y-intercept: y-intercept: y-intercept of a linear function written in function notation

rise m x run The slope is a ratio of how y changes as x changes: Lines and Linear Modeling POINT-SLOPE form: y y1 m( x

We take up chapter 7 beginning the week of October 16.

SA2 Unit 4 Investigating Exponentials in Context Classwork A. Double Your Money. 2. Let x be the number of assignments completed. Complete the table.

Name Name. To enter the data manually, go to the StatCrunch website ( and log in (new users must register).

Section 1.4: Slope-Intercept Form

14.1 Fitting Exponential Functions to Data

S14 Exponential Growth and Decay (Graphing Calculator or App Needed)

Subject: Psychopathy

Name Date. Key Math Concepts

Multiple Choice: Identify the choice that best completes the statement or answers the question.

MA 162: Finite Mathematics - Chapter 1

Introduction to Population Modeling

The Normal Probability Distribution

SPIRIT 2.0 Lesson: Am I Straight?

List the quadrant(s) in which the given point is located. 1) (-10, 0) A) On an axis B) II C) IV D) III

Unit 3: Writing Equations Chapter Review

Review for Test 3: Linear Functions

Section 7C Finding the Equation of a Line

Activity Two: Investigating Slope and Y-Intercept in the Real World. Number of Tickets Cost 8 $ $11.00 $

In a moment, we will look at a simple example involving the function f(x) = 100 x

Assignment 1 Solutions. October 6, 2017

Mathematics Success Grade 8

1. You are given two pairs of coordinates that have a linear relationship. The two pairs of coordinates are (x, y) = (30, 70) and (20, 50).

WEEK 2 REVIEW. Straight Lines (1.2) Linear Models (1.3) Intersection Points (1.4) Least Squares (1.5)

Name Period. Linear Correlation

Cost of Capital (represents risk)

Presented at the 2003 SCEA-ISPA Joint Annual Conference and Training Workshop -

3. Joyce needs to gather data that can be modeled with a linear function. Which situation would give Joyce the data she needs?

Economics 101 Fall 2018 Answers to Homework #1 Due Thursday, September 27, Directions:

Chapter 12. Homework. For each situation below, state the independent variable and the dependent variable.

3.3 rates and slope intercept form ink.notebook. October 23, page 103. page 104. page Rates and Slope Intercept Form

HIGH-LOW METHOD. Key Terms and Concepts to Know

Common Core Algebra L clone 4 review R Final Exam

Manual for the TI-83, TI-84, and TI-89 Calculators

Homework 0 Key (not to be handed in) due? Jan. 10

EOC Review Days 2 & 3: Linear Basics, Slope, and Intercepts

Business Statistics 41000: Probability 3

Multiple Regression. Review of Regression with One Predictor

Web Extension: Continuous Distributions and Estimating Beta with a Calculator

Algebra Success. LESSON 14: Discovering y = mx + b

Slope-Intercept Form Practice True False Questions Indicate True or False for the following Statements.

Ti 83/84. Descriptive Statistics for a List of Numbers

11/28/2018. Overview. Multiple Linear Regression Analysis. Multiple regression. Multiple regression. Multiple regression. Multiple regression

Handout 4: Gains from Diversification for 2 Risky Assets Corporate Finance, Sections 001 and 002

Week 19 Algebra 2 Assignment:

MLC at Boise State Lines and Rates Activity 1 Week #2

Rand Final Pop 2. Name: Class: Date: Multiple Choice Identify the choice that best completes the statement or answers the question.

Chapter 5 Summarizing Bivariate Data

(GPA, student) (area code, person) (person, shirt color)

GRAPHS IN ECONOMICS. Appendix. Key Concepts. Graphing Data

Calculus I Homework: Four Ways to Represent a Function Page 1. where h 0 and f(x) = x x 2.

Transcription:

Objectives: INTERPRET the slope and y intercept of a least-squares regression line USE the least-squares regression line to predict y for a given x CALCULATE and INTERPRET residuals and their standard deviation EXPLAIN the concept of least squares DETERMINE the equation of a least-squares regression line using a variety of methods CONSTRUCT and INTERPRET residual plots to assess whether a linear model is appropriate

DEFINITION: REGRESSION LINE: A line that describes how a response variable (y) changes as an explanatory variable (x) changes This is a MODEL of the data

EQUATION FOR A REGRESSION LINE: y is the OBSERVED VALUE at x ( From the point ( Ky ) ) (read y-hat ) is the PREDICTED VALUE a is the y-intercept Loading b is the slope of the regression line when we plug X into the ) equation ( The value we get Ryon Mutt Know the difference between y and Or observed, J and expected

- Example: This scatterplot shows the price and miles driven on 16 used Ford F-150's " ergadpreadsictedprice y ya - intercept = miles driven PROBLEM: Identify the slope and y intercept of the regression line Interpret each value in context SOLUTION: The slope b = -01629 tells us that the price of a used Ford F-150 is predicted to go down by 01629 dollars (1629 cents) for each additional mile that the truck has been driven The y intercept a = 38,257 is the predicted price of a Ford F-150 that has been driven 0 miles

- 0 1629400,000 PREDICTIONS: You can use a regression line to predict the value of a response variable for a specific value of the explanatory variable Use the regression equation from the previous example to predict the price of a Ford F-150 that has 100,000 miles on it ^ price = 38,257 = 21,967 price ) Loading The predicted price of a Ford F- 150 that has 100,000 miles on it is $21,967 * Note : you Mutt clarify that this is a predicted price, not the actual price

We can use a regression line to predict the response ŷ for a specific value of the explanatory variable x The accuracy of the prediction depends on how much the data scatter about the line While we can substitute any value of x into the equation of the regression line, we must exercise caution in making predictions outside the observed values of x Extrapolation is the use of a regression line for prediction far outside the interval of values of the explanatory variable x used to obtain the line Such predictions are often not accurate other words, you - extrapolate shouldn't

RESIDUALS: A residual is the difference between an actual observed value of the response variable (y), and the predicted value ( :% ) Gt Note : Order matters! To help you for ' observed ' comes before " p " remember, the " o " for 'predicted ' in the alphabet

In most cases, no line will pass exactly through all the points in a scatterplot A good regression line makes the vertical distances of the points from the line as small as possible ( Residual )

LEAST-SQUARES REGRESSION LINES (LSRL s) Different regression lines produce different residuals The regression line we want is the one that minimizes the sum of the squared residuals The least-squares regression line of y on x is the line that makes the sum of the squared residuals as small a possible

Let s take a look at this in motion Go to http://wwwmacmillanlearningcom/catalog/studentresources/tps5e# and use the Correlation & Regression Applet

CALCULATOR: When we have actual data, we will use the calculator to find our prediction line There are actually 2 linear regression options in your calculator, STAT/CALC/4:LinReg(ax+b), and STAT/CALC/8:LinReg(a+bx) Both will give you the same values for the slope and y-intercept, but you need to note that in one case a is the slope and b is the y-intercept, and in the other we have the opposite Loading For consistency, we will use the STAT/CALC/8:LinReg(a+bx) command Once you ve got the LinReg(a+bx) on your calculator screen, you will need to specify the lists in which you ve put your x and y values If you want to put the equation into your equation editor, you also do that at this time

Here is the actual data for our used Ford F-150 s Put the data into your calculator and find the LSRL equation Miles Price ($) Miles Price ($) ux ix y Put X 's in 4 and y 's in 4

No AP Stats: 3B ~ Least Squares Regression and Residuals Huh idea why this slide got blown up the scatter plot when use the Un Reg 8 Command q and name of the equation function name mum VARSAVARVI : Function /z:y, puts the regression equation into Y in the, equation editor [linregslaxtb ) 4,4,'D

How do we know if our linear model is appropriate? We can use our residuals and make a residual plot A RESIDUAL PLOT is a scatterplot of the residuals against the explanatory variable (so each point is at (x, residual)) The pattern (or lack thereof) tells us if the model is a good one

These are some scatterplots of a regression line s residual values plotted against the explanatory variable To show that our model is a good one, we want to have a scatterplot that is evenly scattered above and below the x-axis, and that has no particular pattern or clusters

To plot this on your calculator: Input x-values into List 1, y- values into List 2, and use the LinReg(a+bx) command This automatically populates a list called RESID (you can find this list by going into LIST (press 2nd then STAT) and scrolling down Set up your stat plot as follows, then graph with Zoom 9 (ZoomStat) Note : You must run Lin Reg to populate the list Resid before making a residual plot

his axis Example: Find and sketch the residual plot for our Ford F-150 data Is our model a good one? ' the model is pretty evenly good scattered above and & aim o bdowthex X Residual

Homework: p 193: #35-47, 49, 51 Read pp 177-192