multiple regression. the problem using several predictors to predict the dependent variableusing...

24
Multiple Regression

Upload: isaac-romain

Post on 13-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Multiple Regression

   

Page 2: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

The Problem

• Using several predictors to predict the dependent variable

• Finding a measure of overall fit

• Weighting each predictor

Page 3: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

An Example

• Study by Kliewer et al. (1998) on effect of violence on internalizing behavior Define internalizing behavior

• Predictors Degree of witnessing violence Measure of life stress Measure of social support

Page 4: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Violence and Internalizing

• Subjects are children 8-12 years Lived in high-violence areas Hypothesis: violence and stress lead to

internalizing behavior.

• Data available at www.uvm.edu/~dhowell/StatPages/

More_Stuff/Kliewer.dat

Page 5: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Intercorrelation Matrix

Page 6: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Preliminary Stuff

• Note that both Stress and Witnessing Violence are significantly correlated with Internalizing.

• Note that predictors are largely independent of each other.

Page 7: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Multiple Correlation

• Directly analogous to simple r

• Always capitalized (e.g. R)

• Always positive Correlation of with observed Y

• where is computed from regression equation

Often reported as R 2 instead of R

YY

Page 8: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

R 2

Page 9: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Regression Coefficients

• Slopes and an intercept.

• Each variable adjusted for all others in the model.

• Just an extension of slope and intercept in simple regression

• SPSS output on next slide

Page 10: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Slopes and Intercept

Page 11: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Regression Equation

• A separate coefficient for each variable These are slopes

• An intercept (here called b0 instead of a)

517.0076.0272.0038.0

ˆ0332211

SocSuppStressWit

bXbXbXbY

Page 12: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Interpretation

• Note slope for Witness and Stress are positive, but slope for Social Support is negative. Does this make sense?

• If you had two subjects with identical Stress and SocSupp, a one unit increase in Witness would produce 0.038 unit increase in Internal.

Cont.

Page 13: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Interpretation--cont.

• The same holds true for other predictors.

• t test on two slopes are significant SocSupp not significant. Elaborate

• R 2 has same interpretation as r 2. 13.6% of variability in Internal

accounted for by variability in Witness, Stress, and SocSupp.

Page 14: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Interpretation--cont.

• Intercept usually not meaningful. Prediction when all predictors are 0.0

Page 15: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Predictions

• Assume Witness = 20, Stress = 5, and SocSupp = 35.

023.

517.0)35(076.)5(272.)20(038.

517.0*074.*273.*038.ˆ

SocSuppStressWitY

Page 16: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Hypothesis Testing

• Test on R 2 given in Analysis of Variance table

Cont.

Page 17: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Testing--cont.

• Tests on regression coefficients given along with the coefficients.

• See next slide

• Note tests on each coefficient.

Page 18: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Testing Slopes and Intercept

Page 19: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Raw vs. Standardized Betas

• Raw beta weights are in their original units (not standardized) Use for prediction

• Standardized beta weights are not in their original units Use for comparing predictors

Page 20: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Procedures for Entering Predictor Variables

• Simultaneous Enter all predictors simultaneously

• Forward Enter largest predictor first and test. If

sig. enter next largest partial r. Continue until you no more sig. predictors (sig. level can change after entered but predictor remains)

Page 21: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Procedures for Entering Predictor Variables

Continue• Backward

Enter all predictors first. Remove smallest nonsig. predictor and retest. Continue until model contains no nonsig predictors (sig. level can change after entered but predictor remains)

• Stepwise Combing forward and backward

Page 22: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Procedures for Entering Predictor Variables

Continued• Hierarchical

Enter predictors in pre-determined order as a means of hypothesis testing• E.g., does social support influence

internalizing above and beyond stress and witnessing violence?

Page 23: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Stepwise Results for Kliewer data

Page 24: Multiple Regression. The Problem Using several predictors to predict the dependent variableUsing several predictors to predict the dependent variable

Potential Problems

• Multicollinearity – large correlations between predictors VIF (Variance Inflation Factor) < 10 Doesn’t qualify overall model but

estimates of individual predictors can be unstable

• Uncorrelated residuals Durban-Watson test (0-4): 1.5 – 2.5

generally acceptable