Download presentation

Presentation is loading. Please wait.

Published byMadelynn Givans Modified about 1 year ago

1
Chapter 12 Simple Linear Regression n Simple Linear Regression Model n Least Squares Method n Coefficient of Determination n Model Assumptions n Testing for Significance

2
Simple Linear Regression Model y = 0 + 1 x + where: 0 and 1 are called parameters of the model, is a random variable called the error term. is a random variable called the error term. The simple linear regression model is: The simple linear regression model is: The equation that describes how y is related to x and The equation that describes how y is related to x and an error term is called the regression model. an error term is called the regression model.

3
Simple Linear Regression Equation n The simple linear regression equation is: E ( y ) is the expected value of y for a given x value. E ( y ) is the expected value of y for a given x value. 1 is the slope of the regression line. 1 is the slope of the regression line. 0 is the y intercept of the regression line. 0 is the y intercept of the regression line. Graph of the regression equation is a straight line. Graph of the regression equation is a straight line. E ( y ) = 0 + 1 x

4
Simple Linear Regression Equation n Positive Linear Relationship E(y)E(y)E(y)E(y) E(y)E(y)E(y)E(y) xx Slope 1 is positive Regression line Intercept 0

5
Simple Linear Regression Equation n Negative Linear Relationship E(y)E(y)E(y)E(y) E(y)E(y)E(y)E(y) xx Slope 1 is negative Regression line Intercept 0

6
Simple Linear Regression Equation n No Relationship E(y)E(y)E(y)E(y) E(y)E(y)E(y)E(y) xx Slope 1 is 0 Regression line Intercept 0

7
Estimated Simple Linear Regression Equation n The estimated simple linear regression equation is the estimated value of y for a given x value. is the estimated value of y for a given x value. b 1 is the slope of the line. b 1 is the slope of the line. b 0 is the y intercept of the line. b 0 is the y intercept of the line. The graph is called the estimated regression line. The graph is called the estimated regression line.

8
Estimation Process Regression Model y = 0 + 1 x + Regression Equation E ( y ) = 0 + 1 x Unknown Parameters 0, 1 Sample Data: x y x 1 y x n y n b 0 and b 1 provide estimates of 0 and 1 Estimated Regression Equation Sample Statistics b 0, b 1

9
Least Squares Method n Least Squares Criterion where: y i = observed value of the dependent variable for the i th observation for the i th observation^ y i = estimated value of the dependent variable for the i th observation for the i th observation

10
Least Squares Method n Slope for the Estimated Regression Equation

11
n y -Intercept for the Estimated Regression Equation Least Squares Method where: x i = value of independent variable for i th observation observation n = total number of observations _ y = mean value for dependent variable _ x = mean value for independent variable y i = value of dependent variable for i th observation observation

12
Reed Auto periodically has a special week-long sale. As part of the advertising campaign Reed runs one or more television commercials during the weekend preceding the sale. Data from a sample of 5 previous sales are shown on the next slide. Simple Linear Regression n Example: Reed Auto Sales

13
Simple Linear Regression n Example: Reed Auto Sales Number of TV Ads TV Ads Number of Cars Sold

14
Estimated Regression Equation n Slope for the Estimated Regression Equation n y -Intercept for the Estimated Regression Equation n Estimated Regression Equation

15
Scatter Diagram and Trend Line

16
Coefficient of Determination n Relationship Among SST, SSR, SSE where: SST = total sum of squares SST = total sum of squares SSR = sum of squares due to regression SSR = sum of squares due to regression SSE = sum of squares due to error SSE = sum of squares due to error SST = SSR + SSE

17
n The coefficient of determination is: Coefficient of Determination where: SSR = sum of squares due to regression SST = total sum of squares r 2 = SSR/SST

18
Coefficient of Determination r 2 = SSR/SST = 100/114 =.8772 The regression relationship is very strong; 88% The regression relationship is very strong; 88% of the variability in the number of cars sold can be explained by the linear relationship between the number of TV ads and the number of cars sold.

19
Sample Correlation Coefficient where: b 1 = the slope of the estimated regression b 1 = the slope of the estimated regression equation equation

20
The sign of b 1 in the equation is “+”. Sample Correlation Coefficient r xy =

21
Assumptions About the Error Term 1. The error is a random variable with mean of zero. 2. The variance of , denoted by 2, is the same for all values of the independent variable. all values of the independent variable. 2. The variance of , denoted by 2, is the same for all values of the independent variable. all values of the independent variable. 3. The values of are independent. 4. The error is a normally distributed random variable. variable. 4. The error is a normally distributed random variable. variable.

22
Testing for Significance To test for a significant regression relationship, we To test for a significant regression relationship, we must conduct a hypothesis test to determine whether must conduct a hypothesis test to determine whether the value of 1 is zero. the value of 1 is zero. To test for a significant regression relationship, we To test for a significant regression relationship, we must conduct a hypothesis test to determine whether must conduct a hypothesis test to determine whether the value of 1 is zero. the value of 1 is zero. Two tests are commonly used: Two tests are commonly used: t Test and F Test Both the t test and F test require an estimate of 2, Both the t test and F test require an estimate of 2, the variance of in the regression model. the variance of in the regression model. Both the t test and F test require an estimate of 2, Both the t test and F test require an estimate of 2, the variance of in the regression model. the variance of in the regression model.

23
An Estimate of An Estimate of Testing for Significance where: s 2 = MSE = SSE/( n 2) The mean square error (MSE) provides the estimate of 2, and the notation s 2 is also used.

24
Testing for Significance An Estimate of An Estimate of To estimate we take the square root of 2. To estimate we take the square root of 2. The resulting s is called the standard error of The resulting s is called the standard error of the estimate. the estimate.

Similar presentations

© 2016 SlidePlayer.com Inc.

All rights reserved.

Ads by Google