Download presentation

Presentation is loading. Please wait.

Published byRose Worthy Modified over 2 years ago

1
Chapter 7: Multiple Regression II Ayona Chatterjee Spring 2008 Math 4813/5813

2
Extra Sums of Squares: Example We have Y: amount of body fat X1: triceps skin fold thickness X2: thigh circumference X3: midarm circumference The study was conducted for 20 healthy females. Note predictor variables are easy to measure. Response variable has to be measured using complicated procedure.

3
Example Continued Various regression analysis was carried out using a subset of predictors at a time. PredictorsSSRSSE X1352.27143.12 X2381.97113.42 X1 & X2385.44109.95 X1, X2 & X3396.9898.41

4
Extra Sums of Squares The difference in the error sums of squares when both X1 and X2 are used in the model as opposed to only X1 is called an extra sum of squares and will be denoted by SSR(X2|X1): –SSR(X2|X1) = SSE(X1) – SSE(X1, X2) The extra sums of squares SSR(X2|X1) measures the marginal effect of adding X2 to the regression model when X1 is already in the model.

5
Equivalently we can define –SSR(X3|X1, X2) = SSE(X1,X2) – SSE(X1, X2, X3) We can also consider the marginal effect of adding several variables, such as say X2 and X3 to the regression model already containing X1. –SSR(X2, X3 | X1) = SSE(X1) –SSE(X1, X2, X3) Extra Sums of Squares

6
The Basic Idea An extra sums of squares measures the marginal reduction in the error sum of squares when one or several predictors are added to the regression model, given that other predictors are already in the model. The extra sum of squares measures the marginal increase in the regression sum of squares when one or several predictors are added to the model.

7
Decomposition of SSR into Extra Sums of Squares Various decompositions are possible in multiple regression analysis. –Suppose we have two predictor variables. SSTO = SSR(X1) + SSE(X1) –Replacing SSE(X1) SSTO = SSR(X1) + SSR(X2|X1) + SSE(X1, X2) –Or we can simply write SSTO = SSR(X1, X2) + SSE(X1, X2)

8
ANOVA Table Containing Decomposition of SSR ANOVA table with decomposition of SSR for three predictor variables. Source of Variation SSdfMS RegressionSSR(X1, X2, X3)3MSR(X1, X2, X3) X1SSR(X1)1MSSR(X1) X2|X1SSR(X2|X1)1MSR(X2|X1) X3|X1,X2SSR(X3|X1, X2)1MSR(X3|X1, X2) ErrorSSE(X1,X2, X3)n –4MSE(X1,X2, X3) TotalSSTOn –1

9
Tests for Regression Coefficients Using the extra sums of squares we will test if a single k =0. This is to test if the predictor X k can be dropped from the regression model. We already know this.

10
Using Extra Sums of Squares Consider a first order regression model with three predictors. We fit the full model and obtain the SSE. We write SSE(X1, X2, X3) = SSE(F), here the df are n – 4.

11
We next fit a reduced model without X3 as a predictor and obtain SSE(R)=SSE(X1, X2) with n – 3 degrees of freedom. We define the test statistic Using Extra Sums of Squares

12
Test Whether Several k =0 In multiple regression analysis we may be interested in whether several terms in the regression model can be dropped.

13
Example: Body Fat We wish to test for the body fat example with all three predictors if we can drop thigh circumference (X2) and midarm circumference (X3) from the full regression model. Use alpha = 0.05.

14
Coefficients of Partial Determination A coefficient of partial determination measures the marginal contribution of one X variable when all others are already included in the model. For a two predictor model we define the coefficient of partial determination between Y and X 1 given X 2 by which measures the proportionate reduction in the variation in Y remaining after X 2 is included in the model that is gained by also including X 1 in the model.

15
Formulae R 2 can take any value between 0 and 1. The square root of coefficient of partial determination is called a coefficient of partial correlation denoted by r.

16
Round off Errors in Normal Equation Calculations When a large number of predictor variables are present in the model, serious round off effects can arise despite the use of many digits in intermediate calculations. One of the main sources of these errors is when calculating. The main problem is if the determinant of is close to zero or the values in the matrix have large difference in magnitude. Solution: Transform all the entries so that they lie between –1 and 1.

17
Correlation Transformation Correlation transformation involves standardizing the variables. We define:

18
Standardized Regression Model The regression model with the transformed variables as defined by the correlation transformation is called a standardized regression model and is as follows:

19
Example for Calculations Suppose your Y values are: 174.4, 164.4, …… The average for Y = 181.90 & s Y =36.191. Then the standardized values will be Suppose the values for the first predictor are 68.5, 45.2, …. The average is 62.019 and s 1 =18.620. Then the first standardized value will be

20
Multicollinearity and Its Effects Important questions in multiple regression: –What is the relative importance of the effects of the different predictor variables? –What is the magnitude of the effect of given predictor on the response? –Can we drop a predictor from the model? –Should we consider other predictors to be included in the mode? When predictor variables are correlated among themselves, intercorrelation or multicollinearity among them is said to exist.

21
Uncorrelated Predictor Variables If two predictor variables are uncorrelated, that is the effects ascribed to them by the first-order regression model are the same no matter which other of these predictor variables are included in the model. Also the marginal contribution of one predictor variable reducing the error sum of squares when the other predictor variables are in the model is exactly the same when this predictor variable is on the model alone.

22
Problem when Predictor Variables Are Perfectly Correlated. Let us consider a simple example to study the problems associated with multicollinearity. iX i1 X i2 YiYi 12623 28983 36863 410 103

23
Effects of Multicollinearity In real life, we rarely have perfect correlation. We can still obtain a regression equation and make inferences in presence of multicollinearity. However interpreting the regression coefficients as before may be incorrect. When predictor variables are correlated, the regression coefficient of any one variable depends on which other predictor variables are included in the model and which ones are left out.

24
Effects on Extra Sums of Squares Suppose X 1 and X 2 are highly correlated, then when X 2 is already in the model, the marginal contribution of X 1 in reducing the error sums of squares is comparatively small as X 2 already contains most of the information present in X 1. Multicollinearity also effects the coefficients of partial determination.

25
Effects of Multicollinearity If predictors are correlated, there may be large variations in the values of the regression coefficients depending on the variables included in the model. More powerful tools are needed for identifying the existence of serious multicollinearity.

Similar presentations

OK

Multiple Regression W&W, Chapter 13, 15(3-4). Introduction Multiple regression is an extension of bivariate regression to take into account more than.

Multiple Regression W&W, Chapter 13, 15(3-4). Introduction Multiple regression is an extension of bivariate regression to take into account more than.

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google

Ppt on thermal conductivity of insulated powder Ppt on understanding secularism in india Ppt on metro rail in hyderabad Cg ppt online registration 2014 Ppt on recycling of waste management Free ppt on mobile number portability ppt Ppt on social media and nurses Ppt on phonetic transcription ipa Powerpoint presentation ppt on motivation Ppt on management by objectives definition