Section 12.3 Regression Analysis HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc. All.

Slides:



Advertisements
Similar presentations
Test of (µ 1 – µ 2 ),  1 =  2, Populations Normal Test Statistic and df = n 1 + n 2 – 2 2– )1– 2 ( 2 1 )1– 1 ( 2 where ] 2 – 1 [–
Advertisements

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 12.2.
Kin 304 Regression Linear Regression Least Sum of Squares
Section 2.1 Frequency Distributions HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc.
Simple Linear Regression
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 7.3 Estimating a Population mean µ (σ known) Objective Find the confidence.
Inference for Regression 1Section 13.3, Page 284.
Simple Linear Regression Analysis
Chapter 9: Correlation and Regression
SIMPLE LINEAR REGRESSION
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 and Correlation
Simple Linear Regression Analysis
Linear Regression.
SIMPLE LINEAR REGRESSION
Measures of Regression and Prediction Intervals
Correlation and Regression
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 12-1 Chapter 12 Simple Linear Regression Statistics for Managers Using.
Linear Regression and Correlation
Chapter Correlation and Regression 1 of 84 9 © 2012 Pearson Education, Inc. All rights reserved.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 8.1.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on the Least-Squares Regression Model and Multiple Regression 14.
Correlation and Regression
Section 7.1 Central Limit Theorem HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc. All.
Section 8.2 Estimating Population Means (Large Samples) HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant.
Section 12.1 Scatter Plots and Correlation HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems,
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 12.4.
Section 6.2 Reading a Normal Curve Table HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems,
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Estimating a Population Mean: σ Known 7-3, pg 355.
Section 8.2 Estimating Population Means (Large Samples) HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant.
Linear Regression Least Squares Method: the Meaning of r 2.
Production Planning and Control. A correlation is a relationship between two variables. The data can be represented by the ordered pairs (x, y) where.
Section 5.1 Expected Value HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc. All rights.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 13 Linear Regression and Correlation.
Correlation and Regression Chapter 9. § 9.3 Measures of Regression and Prediction Intervals.
Section 12.2 Linear Regression HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc. All.
Section 8.4 Estimating Population Proportions HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems,
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Chapter 8.
Variation and Prediction Intervals
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 12: Analyzing the Association Between Quantitative Variables: Regression Analysis Section.
Section 5.2 Binomial Distribution HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc. All.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 12.3.
Section 7.2 Central Limit Theorem with Population Means HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant.
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
Section 8.4 Estimating Population Proportions HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems,
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 12.2.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
Copyright © 2015, 2012, and 2009 Pearson Education, Inc. 1 Chapter Correlation and Regression 9.
Beginning Statistics Table of Contents HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc.
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Section 7.4: Estimation of a population mean   is not known  This section.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 8.3.
Section 8.1 Introduction to Estimating Population Means HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Section 8.3 Estimating Population Means (Small Samples) HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 8.1.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 8.3.
1 Objective Given two linearly correlated variables (x and y), find the linear function (equation) that best describes the trend. Section 10.3 Regression.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Chapter 13.
Section 12.2 Linear Regression
Scatter Plots and Correlation
Estimating Population Means (Large Samples)
Multiple Regression Equations
Section 7.1 Central Limit Theorem
Statistical Quality Control, 7th Edition by Douglas C. Montgomery.
Introduction to Estimating Population Means
Reading a Normal Curve Table
Simple Linear Regression
Measures of Regression Prediction Interval
Presentation transcript:

Section 12.3 Regression Analysis HAWKES LEARNING SYSTEMS math courseware specialists Copyright © 2008 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved.

Residual – the difference in the actual value and the predicted value. Also known as error in the predicted value. Definitions: Regression, Inference, and Model Building 12.3 Regression Analysis HAWKES LEARNING SYSTEMS math courseware specialists Residual  y – Where y  the actual value occurring in the population  the predicted value occurring in the sample

HAWKES LEARNING SYSTEMS math courseware specialists TI-84 Plus Instructions: 1.Press STAT, then EDIT 2.Type the x-variable values into L1 3.Type the y-variable values into L2 4.Then highlight L3 and enter the formula with actual values for b 0 +b 1 x. For example, L1. 5.Then highlight L4 and enter the formula L2-L3 Regression, Inference, and Model Building 12.3 Regression Analysis

HAWKES LEARNING SYSTEMS math courseware specialists Determine the residual: The table below gives data from a local school district on a child’s age and their reading level. For this data, a reading level of 4.3 would indicate 3/10 of the year through the fourth grade. Children’s ages are given in years. We know the regression line is. Use this equation to calculate an estimate,, for each value of the independent variable, x, and then use the estimate to calculate the residual for each value of y. Solution: All calculations can be performed at once on a calculator. Age Reading Level Regression, Inference, and Model Building 12.3 Regression Analysis

HAWKES LEARNING SYSTEMS math courseware specialists The results will be as follows: Solution (continued): AgeReading LevelPredicted ValueResidual – – – – – Regression, Inference, and Model Building 12.3 Regression Analysis

Residual: Regression, Inference, and Model Building 12.3 Regression Analysis HAWKES LEARNING SYSTEMS math courseware specialists The residual of each value reflects how far the original data point is from the point on the regression line. Graphically, the residual is the vertical distance from the original data point to the point on the regression line.

Errors Shown Graphically: Regression, Inference, and Model Building 12.3 Regression Analysis HAWKES LEARNING SYSTEMS math courseware specialists

Sum of Squared Errors: Regression, Inference, and Model Building 12.3 Regression Analysis HAWKES LEARNING SYSTEMS math courseware specialists The value calculated by summing the square of the errors is the sum of squared errors, SSE. If the data points are very far from the regression line, then the sum of squared errors will be large. Therefore, the worse the linear model will be at predicting the value of y. If the data points are very close to the regression line, then the sum of squared errors will be small. Therefore, the better the linear model will be at predicting the value of y. The line that fits the data “best” would be the one with the smallest value of SSE.

HAWKES LEARNING SYSTEMS math courseware specialists From the previous example, calculate the sum of squared errors: Calculate the sum of squared errors: Age Reading Level Predicted Value Residual Squared Error – – – – – Regression, Inference, and Model Building 12.3 Regression Analysis Adding the values in the last column we get SSE 

Standard Error of Estimate: Regression, Inference, and Model Building 12.3 Regression Analysis HAWKES LEARNING SYSTEMS math courseware specialists The standard error of estimate, S e, is a measure of how much the data points deviate from the regression line. This is analogous to how the standard deviation measures how much the data deviates from the sample mean. The smaller the value of the standard error of estimate is, the closer the data points are to the regression line.

HAWKES LEARNING SYSTEMS math courseware specialists Determine the standard error of estimate: Calculate the standard error of estimate for the data given previously for age and reading level. Solution: n  10, and  Age Reading Level Regression, Inference, and Model Building 12.3 Regression Analysis 0.417

Prediction Interval – the confidence interval for the predicted dependent variable. Bivariate Normal Distribution – a distribution where any given fixed value of the independent variable, x 0, and the possible sample values of the dependent variable, y, are normally distributed about the regression line with the mean of the normal distribution equal to and the standard deviation of the normal distribution the same for each value of x 0. Definitions: Regression, Inference, and Model Building 12.3 Regression Analysis HAWKES LEARNING SYSTEMS math courseware specialists

Bivariate Normal Distribution: Regression, Inference, and Model Building 12.3 Regression Analysis HAWKES LEARNING SYSTEMS math courseware specialists

Margin of Error: Regression, Inference, and Model Building 12.3 Regression Analysis HAWKES LEARNING SYSTEMS math courseware specialists where d.f.  n – 2 = the sample mean x 0 = the fixed value of x n = the sample size

HAWKES LEARNING SYSTEMS math courseware specialists Prediction Interval for an Individual y: Regression, Inference, and Model Building 12.3 Regression Analysis

HAWKES LEARNING SYSTEMS math courseware specialists Steps to Determine the Prediction Interval for an Individual y: Regression, Inference, and Model Building 12.3 Regression Analysis 1.Find the regression equation for the sample data. 2.Use the regression equation to calculate the point estimate for the given value of x. 3.Calculate the sample statistics necessary to calculate the margin of error. 4.Calculate the margin of error. 5.Construct the prediction interval.

HAWKES LEARNING SYSTEMS math courseware specialists Construct the prediction interval: Construct a 95% prediction interval for the reading level of a child who is 8 years old. Solution: We know from a previous example that the regression equation is. Now we will calculate the point estimate for the given value of x. Age Reading Level Regression, Inference, and Model Building 12.3 Regression Analysis 3.109

HAWKES LEARNING SYSTEMS math courseware specialists Solution (continued): Calculate the sample statistics necessary to calculate the margin of error: n  10,  10.5, ∑x  105, ∑x 2  1185, t  /2  2.306, S e  Calculate the margin of error: Regression, Inference, and Model Building 12.3 Regression Analysis  1.044

HAWKES LEARNING SYSTEMS math courseware specialists Solution (continued): Construct the prediction interval: Regression, Inference, and Model Building 12.3 Regression Analysis – <  y < <  y < (2.065, 4.153)

HAWKES LEARNING SYSTEMS math courseware specialists Confidence Intervals for the Slope and the y-Intercept of the Regression Equation: Regression, Inference, and Model Building 12.3 Regression Analysis Using Microsoft Excel, we can construct confidence intervals for the population slope and y-intercept parameters  1 and  0, respectively.

HAWKES LEARNING SYSTEMS math courseware specialists Construct the prediction interval: Construct a 95% confidence interval for the slope,  1, and y-intercept,  0,of the regression equation for age and reading level. Solution: Begin by entering the data into Microsoft Excel. Age Reading Level Regression, Inference, and Model Building 12.3 Regression Analysis

HAWKES LEARNING SYSTEMS math courseware specialists Solution (continued): Next, choose DATA ANALYSIS from the TOOLS menu. Choose REGRESSION from the options listed. Enter the necessary information as shown below. Regression, Inference, and Model Building 12.3 Regression Analysis

HAWKES LEARNING SYSTEMS math courseware specialists Solution (continued): The results are as follows: Regression, Inference, and Model Building 12.3 Regression Analysis “Multiple R” is the correlation coefficient. “R Square” is just that, r 2. “Standard Error” is the standard error estimate, S e. The intersection of the Residual row and SS column is the SSE.

HAWKES LEARNING SYSTEMS math courseware specialists Solution (continued): Regression, Inference, and Model Building 12.3 Regression Analysis The blue box contains the values for the coefficients in the regression line. b 0  – and b 1  The red box is upper and lower endpoints of the confidence intervals for the y-intercept and slope. – <  0 < – and <  1 <