9/19/2018 ST3131, Lecture 6.

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

Qualitative predictor variables
Topic 12: Multiple Linear Regression
Multicollinearity.
Kin 304 Regression Linear Regression Least Sum of Squares
More on understanding variance inflation factors (VIFk)
Chapter 12 Simple Linear Regression
Forecasting Using the Simple Linear Regression Model and Correlation
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Definition  Regression Model  Regression Equation Y i =  0 +  1 X i ^ Given a collection of paired data, the regression equation algebraically describes.
Chapter 12 Simple Linear Regression
LINEAR REGRESSION: Evaluating Regression Models. Overview Standard Error of the Estimate Goodness of Fit Coefficient of Determination Regression Coefficients.
Chapter 10 Simple Regression.
Lesson #32 Simple Linear Regression. Regression is used to model and/or predict a variable; called the dependent variable, Y; based on one or more independent.
Chapter Topics Types of Regression Models
Probability & Statistics for Engineers & Scientists, by Walpole, Myers, Myers & Ye ~ Chapter 11 Notes Class notes for ISE 201 San Jose State University.
BCOR 1020 Business Statistics
1 Chapter 17: Introduction to Regression. 2 Introduction to Linear Regression The Pearson correlation measures the degree to which a set of data points.
Lecture 5 Correlation and Regression
CPE 619 Simple Linear Regression Models Aleksandar Milenković The LaCASA Laboratory Electrical and Computer Engineering Department The University of Alabama.
Simple Linear Regression Models
Managerial Economics Demand Estimation. Scatter Diagram Regression Analysis.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 12-1 Correlation and Regression.
Copyright ©2011 Nelson Education Limited Linear Regression and Correlation CHAPTER 12.
Solutions to Tutorial 5 Problems Source Sum of Squares df Mean Square F-test Regression Residual Total ANOVA Table Variable.
Sequential sums of squares … or … extra sums of squares.
Regression Analysis Relationship with one independent variable.
Simple Linear Regression (SLR)
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Environmental Modeling Basic Testing Methods - Statistics III.
Chapter 16 Multiple Regression and Correlation
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 + 
732G21/732G28/732A35 Lecture 4. Variance-covariance matrix for the regression coefficients 2.
Interaction regression models. What is an additive model? A regression model with p-1 predictor variables contains additive effects if the response function.
Chapter 11 Linear Regression and Correlation. Explanatory and Response Variables are Numeric Relationship between the mean of the response variable and.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Multiple Regression.
The simple linear regression model and parameter estimation
Lecture 11: Simple Linear Regression
Chapter 20 Linear and Multiple Regression
Introduction to Regression Lecture 6.2
Chapter 13 Created by Bethany Stubbe and Stephan Kogitz.
Linear Regression Prof. Andy Field.
Relationship with one independent variable
Lecture 12 More Examples for SLR More Examples for MLR 9/19/2018
...Relax... 9/21/2018 ST3131, Lecture 3 ST5213 Semester II, 2000/2001
Econ 3790: Business and Economics Statistics
Lecture 18 Outline: 1. Role of Variables in a Regression Equation
Cases of F-test Problems with Examples
Properties of the LS Estimates Inference for Individual Coefficients
Solutions for Tutorial 3
Solutions of Tutorial 10 SSE df RMS Cp Radjsq SSE1 F Xs c).
Prediction and Prediction Intervals
Review of Chapter 3 where Multiple Linear Regression Model:
Linear Regression.
Multiple Regression.
Prepared by Lee Revere and John Large
OUTLINE Lecture 5 A. Review of Lecture 4 B. Special SLR Models
Review of Chapter 2 Some Basic Concepts: Sample center
Multiple Regression Chapter 14.
Relationship with one independent variable
Business Statistics, 4e by Ken Black
Interpretation of Regression Coefficients
Simple Linear Regression
Linear Regression and Correlation
Lecture 20 Last Lecture: Effect of adding or deleting a variable
Solutions of Tutorial 9 SSE df RMS Cp Radjsq SSE1 F Xs c).
Linear Regression and Correlation
Chapter Fourteen McGraw-Hill/Irwin
Chapter 11 Variable Selection Procedures
Presentation transcript:

9/19/2018 ST3131, Lecture 6

Chapter 3 Multiple Linear Regression Lecture 6 Review of Lecture 5 Chapter 3 Multiple Linear Regression Motivation Example MLR Model Estimation of the MLR Model Methods for Assessment of Linearity 9/19/2018 ST3131, Lecture 6

Review of Lecture 5: Special SLR Models No Intercept Model : 9/19/2018 ST3131, Lecture 6

Review of Lecture 5: Special SLR Models No Slope Model : 9/19/2018 ST3131, Lecture 6

Review of Lecture 5: Special SLR Models Trivial Regression Model One-sample t-test: Trivial Model against No-slope Model 9/19/2018 ST3131, Lecture 6

Review of Lecture 5: Special SLR Models Paired two-sample t-test Transformation: The two-sample t-test becomes one-sample t-test: 9/19/2018 ST3131, Lecture 6

Chapter 3 Multiple Linear Regression Motivation Example: Supervisor Performance Data In a large financial organization, there are 30 departments, each having a supervisor and 35 employees. To study the supervisor performance, the employees in each department are given a questionnaire with following items: (1 response variable) Y: Overall rating of job being done (6 predictor variables) X1: handles employee complaints X2:Does not allow special privileges X4: Raises based on performance X3:Opportunity to learn new things X5: Too critical of poor performance X6:Rate of advancing to better jobs 9/19/2018 ST3131, Lecture 6

Motivation Example (cont.) For each item, the employees are required to choose a number from 2 3 4 5 ---------------------------------------------------------------- very satisfactory very unsatisfactory To evaluate the supervisor on a item, The proportion of “favorable” responses among 35 answers in a department is regarded as observation of the associated item. 9/19/2018 ST3131, Lecture 6

Motivation Example (cont.) Part of the Supervisor Performance Data Y X1 X2 X3 X4 X5 X6 =================================================== 43 51 30 39 61 92 45 63 64 51 54 63 73 47 71 70 68 69 76 86 48 61 63 45 47 54 84 35 …….. Each Row : Observations for a department for all items Each Column: Observations for all departments for an item Examples: X3=(39,54,69,47,…)’ Y=(43,63,71,61,81,…)’ called a design matrix X=(X1,X2,X3,X4,X5,X6) 9/19/2018 ST3131, Lecture 6

MLR Models Multiple Linear Regression Model: 1 Response variable Y SLR is not good enough for handling many practical cases where more predictor variables are involved for predicting the response variable. We need to use Multiple Linear Regression Model. Multiple Linear Regression Model: 1 Response variable Y MLR generalizes SLR Remark: SLR is a special case of MLR When p=1, MLR reduces to SLR 9/19/2018 ST3131, Lecture 6

Estimation of the MLR Model Least Squares Method: Solution: where 9/19/2018 ST3131, Lecture 6

Fitted Values and Squares Decomposition Fitted Regression Line: Fitted values: Residuals: Noise variance estimator: SSE= Sum of Squared Errors, n-(p+1)=degrees of freedom of SSE Observation Decomposition Squares Decomposition SST = SSR + SSE 9/19/2018 ST3131, Lecture 6

Methods of Assessment of Linearity /Quality of Linear Fit A. Coefficient of Determination Proportion of total variability Explained by Linear Regression B. Correlation between responses and fitted values R is called Multiple Correlation Coefficient between Y and multiple predictor variables X1, X2, …, Xp, measuring the linear relationship between Y and X1, X2, …,Xp. 9/19/2018 ST3131, Lecture 6

Methods of Assessment of Linearity /Quality of Linear Fit That is Remark: 9/19/2018 ST3131, Lecture 6

Analysis of the Supervisor Performance Data Example Analysis of the Supervisor Performance Data Results for: P054.txt Correlations: Y, X1, X2, X3, X4, X5, X6 Y X1 X2 X3 X4 X5 X1 0.825 0.000 X2 0.426 0.558 0.019 0.001 X3 0.624 0.597 0.493 0.000 0.001 0.006 X4 0.590 0.669 0.445 0.640 0.001 0.000 0.014 0.000 X5 0.156 0.188 0.147 0.116 0.377 0.409 0.321 0.438 0.542 0.040 X6 0.155 0.225 0.343 0.532 0.574 0.283 0.413 0.233 0.063 0.003 0.001 0.129 Cell Contents: Pearson correlation P-Value 9/19/2018 ST3131, Lecture 6

Regression Analysis: Y versus X1, X2, X3, X4, X5, X6 The regression equation is Y = 10.8 + 0.613 X1 - 0.073 X2 + 0.320 X3 + 0.082 X4 + 0.038 X5 - 0.217 X6 Predictor Coef SE Coef T P Constant 10.79 11.59 0.93 0.362 X1 0.6132 0.1610 3.81 0.001 X2 -0.0731 0.1357 -0.54 0.596 X3 0.3203 0.1685 1.90 0.070 X4 0.0817 0.2215 0.37 0.715 X5 0.0384 0.1470 0.26 0.796 X6 -0.2171 0.1782 -1.22 0.236 S = 7.068 R-Sq = 73.3% R-Sq(adj) = 66.3% 9/19/2018 ST3131, Lecture 6

9/19/2018 ST3131, Lecture 6 Analysis of Variance Source DF SS MS F P Regression 6 3147.97 524.66 10.50 0.000 Residual Error 23 1149.00 49.96 Total 29 4296.97 Source DF Seq SS X1 1 2927.58 X2 1 7.52 X3 1 137.25 X4 1 0.94 X5 1 0.56 X6 1 74.11 9/19/2018 ST3131, Lecture 6

After-class Questions: When is a MLR needed? Can we fit several SLR models instead fitting a single MLR model? 9/19/2018 ST3131, Lecture 6