Chapter 13 Multiple Regression

Slides:



Advertisements
Similar presentations
Chapter 12 Simple Linear Regression
Advertisements

Pengujian Parameter Regresi Ganda Pertemuan 22 Matakuliah: L0104/Statistika Psikologi Tahun: 2008.
Chapter 14, part D Statistical Significance. IV. Model Assumptions The error term is a normally distributed random variable and The variance of  is constant.
Pengujian Parameter Regresi Pertemuan 26 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
Chapter 12 Simple Linear Regression
1 1 Slide © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Chapter 12 Simple Regression
1 1 Slide 統計學 Spring 2004 授課教師:統計系余清祥 日期: 2004 年 5 月 4 日 第十二週:複迴歸.
Chapter Topics Types of Regression Models
Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., 2000 LIND MASON MARCHAL 1-1 Chapter Twelve Multiple Regression and Correlation Analysis GOALS When.
Simple Linear Regression Analysis
1 1 Slide © 2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Chapter 14 Introduction to Linear Regression and Correlation Analysis
Simple Linear Regression Analysis
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS & Updated by SPIROS VELIANITIS.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS & Updated by SPIROS VELIANITIS.
Introduction to Linear Regression and Correlation Analysis
Chapter 13: Inference in Regression
Regression Method.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
EQT 272 PROBABILITY AND STATISTICS
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Econ 3790: Business and Economics Statistics
1 1 Slide © 2016 Cengage Learning. All Rights Reserved. The equation that describes how the dependent variable y is related to the independent variables.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2003 Thomson/South-Western Chapter 13 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple Coefficient of Determination.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved OPIM 303-Lecture #9 Jose M. Cruz Assistant Professor.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved Chapter 13 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple Coefficient of Determination n Model Assumptions n Testing.
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Econ 3790: Business and Economics Statistics Instructor: Yogesh Uppal
QMS 6351 Statistics and Research Methods Regression Analysis: Testing for Significance Chapter 14 ( ) Chapter 15 (15.5) Prof. Vera Adamchik.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 15 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
INTRODUCTORY LINEAR REGRESSION SIMPLE LINEAR REGRESSION - Curve fitting - Inferences about estimated parameter - Adequacy of the models - Linear.
1 1 Slide Simple Linear Regression Coefficient of Determination Chapter 14 BA 303 – Spring 2011.
Chap 12-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 12 Introduction to Linear.
1 1 Slide © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
Multiple Regression and Model Building Chapter 15 Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
1 1 Slide © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
14- 1 Chapter Fourteen McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
Multiple Regression. Simple Regression in detail Y i = β o + β 1 x i + ε i Where Y => Dependent variable X => Independent variable β o => Model parameter.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
Chapter 12 Simple Linear Regression n Simple Linear Regression Model n Least Squares Method n Coefficient of Determination n Model Assumptions n Testing.
1 1 Slide The Simple Linear Regression Model n Simple Linear Regression Model y =  0 +  1 x +  n Simple Linear Regression Equation E( y ) =  0 + 
Business Research Methods
1 1 Slide © 2011 Cengage Learning Assumptions About the Error Term  1. The error  is a random variable with mean of zero. 2. The variance of , denoted.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Multiple Regression Chapter 14.
REGRESSION AND CORRELATION SIMPLE LINEAR REGRESSION 10.2 SCATTER DIAGRAM 10.3 GRAPHICAL METHOD FOR DETERMINING REGRESSION 10.4 LEAST SQUARE METHOD.
INTRODUCTION TO MULTIPLE REGRESSION MULTIPLE REGRESSION MODEL 11.2 MULTIPLE COEFFICIENT OF DETERMINATION 11.3 MODEL ASSUMPTIONS 11.4 TEST OF SIGNIFICANCE.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Lecture 11: Simple Linear Regression
Chapter 14 Introduction to Multiple Regression
Essentials of Modern Business Statistics (7e)
John Loucks St. Edward’s University . SLIDES . BY.
Statistics for Business and Economics (13e)
Quantitative Methods Simple Regression.
Slides by JOHN LOUCKS St. Edward’s University.
Business Statistics Multiple Regression This lecture flows well with
Prepared by Lee Revere and John Large
Chapter Fourteen McGraw-Hill/Irwin
Introduction to Regression
St. Edward’s University
Presentation transcript:

Chapter 13 Multiple Regression

Chapter Outline Multiple Regression Model Least Squares Method Coefficient of Determination Model Assumptions Testing for Significance Estimation and Prediction Categorical Independent Variables

Multiple Regression Model The equation that describes how the dependent variable y is related to the independent variables x1, x2, . . . xp and an error term is: y = b0 + b1x1 + b2x2 + . . . + bpxp + e where: b0, b1, b2, . . . , bp are the parameters, and e is a random variable called the error term

Multiple Regression Equation Multiple regression equation is: The equation that describes how the mean value of y is related to x1, x2, . . . xp is: E(y) = 0 + 1x1 + 2x2 + . . . + pxp

Estimated Multiple Regression Equation ^ y = b0 + b1x1 + b2x2 + . . . + bpxp A simple random sample is used to compute sample statistics b0, b1, b2, . . . , bp that are used as the point estimates of the parameters b0, b1, b2, . . . , bp.

Estimation Process E(y) = 0 + 1x1 + 2x2 +. . .+ pxp + e Multiple Regression Model E(y) = 0 + 1x1 + 2x2 +. . .+ pxp + e Multiple Regression Equation E(y) = 0 + 1x1 + 2x2 +. . .+ pxp Unknown parameters are b0, b1, b2, . . . , bp Sample Data: x1 x2 . . . xp y . . . . Estimated Multiple Regression Equation Sample statistics are b0, b1, b2, . . . , bp b0, b1, b2, . . . , bp provide estimates of

Least Squares Method Least Squares Criterion Computation of Coefficient Values: The formulas for the regression coefficients b0, b1, b2, . . . bp involve the use of matrix algebra. We will rely on computer software packages to perform the calculations.

Example: Employee Salary Survey Multiple Regression Example: Employee Salary Survey A local firm collected data for a sample of 20 employees. A suggestion was made that regression analysis could be used to determine if salary was related to the years of experience and the score on the firm’s aptitude test. The gender of employees, years of experience, score on the aptitude test, and corresponding annual salary ($1000s) for a sample of 20 employees is shown on the next slide.

Multiple Regression Example: Employee Salary Survey (data)

Multiple Regression Model Suppose we believe that salary (y) is related to the years of experience (x1) and the score on the aptitude test (x2) by the following regression model: y = 0 + 1x1 + 2x2 +  where y = annual salary ($1000) x1 = years of experience x2 = score on aptitude test

Solving for the Estimates of 0, 1, 2 Least Squares Output Input Data x1 x2 y 4 78 24 7 100 43 . . . 3 89 30 Computer Package for Solving Multiple Regression Problems b0 = b1 = b2 = R2 = etc.

Solving for the Estimates of 0, 1, 2 Excel’s Regression Output – Parameter Estimates Note: All the numbers are rounded to the 4th decimal point.

Estimated Regression Equation SALARY = 3.174 + 1.404(YEARS) + 0.251(SCORE) Note: Predicted salary will be in thousands of dollars.

Interpreting the Coefficients In multiple regression analysis, we interpret each regression coefficient as follows: bi represents an estimate of the change in y corresponding to a 1-unit increase in xi when all other independent variables are held constant.

Interpreting the Coefficients b1 = 1.404 Salary is expected to increase by $1,404 for each additional year of experience (when the variable score on attitude test is held constant).

Interpreting the Coefficients b2 = 0.251 Salary is expected to increase by $251 for each additional point scored on the aptitude test (when the variable years of experience is held constant).

Multiple Coefficient of Determination Relationship Among SST, SSR, SSE SST = SSR + SSE where: SST = total sum of squares (i.e. total variability of y) SSR = sum of squares due to regression (i.e. the variability of y that is explained by regression) SSE = sum of squares due to error (i.e. the variability of y that cannot be explained by regression)

Multiple Coefficient of Determination Excel’s ANOVA Output SST SSR

Multiple Coefficient of Determination r2 = SSR/SST = 500.3285/599.7855 = .83418 The regression relationship is strong. About 83.4% of the variability in the salary of employees can be explained by the years of experience and the aptitude score.

Adjusted Multiple Coefficient of Determination Note: p is the number of slope coefficients.

Assumptions About the Error Term e y = b0 + b1x1 + b2x2 + … + bpxp +e 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. 3. The values of  are independent. 4. The error  is a normally distributed random variable reflecting the deviation between the y value and the expected value of y given by 0 + 1x1 + 2x2 + . . + pxp.

Testing for Significance In simple linear regression, the F and t tests provide the same conclusion. In multiple regression, the F and t tests have different purposes.

Testing for Significance The F test is used to test the overall significance of a regression model. The t test is used to test the individual significance, i.e. whether each of the individual independent variables is significant.

Testing for Significance: F Test H0: 1 = 2 = . . . = p = 0 Ha: One or more of the parameters is not equal to zero. Hypotheses Test Statistics F = MSR/MSE Rejection Rule Reject H0 if p-value < a or if F > F , where F is based on an F distribution with p d.f. in the numerator and n - p - 1 d.f. in the denominator.

F Test: Employee Salary Survey H0: 1 = 2 = 0 Ha: One or both of the parameters is not equal to zero. Hypotheses Test Statistics F = MSR/MSE = 250.16/5.85 = 42.76 For  = .05 and d.f. = (2, 17); F.05 = 3.59 Reject H0 if p-value < .05 or F > 3.59 Rejection Rule

F Test: Employee Salary Survey p-value Conclusion p-value < .05, so we can reject H0. (Also, F = 42.76 > 3.59)

Testing for Significance: t Test Hypotheses Test Statistics Rejection Rule Reject H0 if p-value < a or if t < -tor t > t where t is based on a t distribution with n - p - 1 degrees of freedom.

t Test: Employee Salary Survey Hypotheses Test Statistics Rejection Rule For  = .05 and d.f. = 17, t.025 = 2.11 Reject H0 if p-value < .05, or if t < -2.11 or t > 2.11

t Test: Employee Salary Survey Conclusions Reject both H0: 1 = 0 and H0: 2 = 0. Both independent variables are significant.

Test for Significance: Multicollinearity The term multicollinearity refers to the correlation among the independent variables. When the independent variables are highly correlated (say, |r | > .7), it is not possible to determine the separate effect of any particular independent variable on the dependent variable.

Using the Estimated Regression Equation for Estimation and Prediction The procedures for estimating the mean value of y and predicting an individual value of y in multiple regression are similar to those in simple regression. We substitute the given values of x1, x2, . . . , xp into the estimated regression equation and use the corresponding value of y as the point estimate.

Categorical Independent Variables In many situations we must work with categorical independent variables such as gender (male, female), method of payment (cash, check, credit card), etc. For example, xi might represent gender where xi = 0 indicates male and xi = 1 indicates female. In this case, xi is called a dummy or indicator variable.

Categorical Independent Variables Example: Employee Salary Survey As an extension of the problem involving the employee salary survey, suppose that management wants to find out if the annual salary is related to employees’ gender. The years of experience, the score on the aptitude test, employees’ gender, and the annual salary ($000) for each of the sampled 20 employees are shown on the next slide.

Estimated Regression Equation y = b0 + b1x1 + b2x2 + b3x3 ^ ^ where: y = annual salary ($1000) x1 = years of experience x2 = score on aptitude test x3 = 0 if an employee is female; 1 if an employee is male. x3 is a dummy variable

Categorical Independent Variables

Categorical Independent Variables Excel’s Regression Statistics

Categorical Independent Variables Excel’s ANOVA Output

Categorical Independent Variables Excel’s Regression Equation Output Not significant