Moderated Multiple Regression Class 18. Functions of Regression 1. Establishing relations between variables Do frustration and aggression co-occur? 2.

Slides:



Advertisements
Similar presentations
1 Interpreting a Model in which the slopes are allowed to differ across groups Suppose Y is regressed on X1, Dummy1 (an indicator variable for group membership),
Advertisements

Moderated Multiple Regression Class 23. STATS TAKE HOME EXERCISE IS DUE THURSDAY DEC. 12 Deliver to Kent’s Mailbox or Place under his door (Rm. 352)
Planned Contrast: Execution (Conceptual) 1. Must predict pattern of interaction before gathering data. Predict that Democratic women will be most opposed.
1 SSS II Lecture 1: Correlation and Regression Graduate School 2008/2009 Social Science Statistics II Gwilym Pryce
Descriptive Statistical Analyses Reliability Analyses Review of Last Class.
Chapter 8 Linear Regression © 2010 Pearson Education 1.
LECTURE 3 Introduction to Linear Regression and Correlation Analysis
Analysis of Economic Data
Statistics for the Social Sciences Psychology 340 Spring 2005 Prediction cont.
Statistics for the Social Sciences
BA 555 Practical Business Analysis
Fall 2006 – Fundamentals of Business Statistics 1 Chapter 13 Introduction to Linear Regression and Correlation Analysis.
Linear Regression and Correlation Analysis
Biol 500: basic statistics
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.
Ch. 14: The Multiple Regression Model building
Today Concepts underlying inferential statistics
Data Analysis Statistics. Levels of Measurement Nominal – Categorical; no implied rankings among the categories. Also includes written observations and.
Multiple Regression – Basic Relationships
Chapter 7 Correlational Research Gay, Mills, and Airasian
Correlation and Regression Analysis
Chapter 14 Inferential Data Analysis
Relationships Among Variables
SW388R7 Data Analysis & Computers II Slide 1 Multiple Regression – Split Sample Validation General criteria for split sample validation Sample problems.
Chapter 12 Inferential Statistics Gay, Mills, and Airasian
Slide 1 SOLVING THE HOMEWORK PROBLEMS Simple linear regression is an appropriate model of the relationship between two quantitative variables provided.
Introduction to Linear Regression and Correlation Analysis
LEARNING PROGRAMME Hypothesis testing Intermediate Training in Quantitative Analysis Bangkok November 2007.
Covariance and correlation
Moderation & Mediation
Multiple Regression Class 22.
1 Experimental Statistics - week 4 Chapter 8: 1-factor ANOVA models Using SAS.
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.
Moderated Multiple Regression Class 22. STATS TAKE HOME EXERCISE IS DUE THURSDAY DEC. 12.
Chapter 14 Introduction to Multiple Regression
1 Experimental Statistics - week 10 Chapter 11: Linear Regression and Correlation Note: Homework Due Thursday.
Regression Analyses II Mediation & Moderation. Review of Regression Multiple IVs but single DV Y’ = a+b1X1 + b2X2 + b3X3...bkXk Where k is the number.
Planned Contrasts and Data Management Class 19. QUIZ 3 ON THURSDAY, DEC. 5 Covers: Two-way ANOVA through Moderated Multiple Regression.
Regression Analyses. Multiple IVs Single DV (continuous) Generalization of simple linear regression Y’ = b 0 + b 1 X 1 + b 2 X 2 + b 3 X 3...b k X k Where.
SW388R6 Data Analysis and Computers I Slide 1 Multiple Regression Key Points about Multiple Regression Sample Homework Problem Solving the Problem with.
Educational Research Chapter 13 Inferential Statistics Gay, Mills, and Airasian 10 th Edition.
Chapter 13 Multiple Regression
Scatterplots & Regression Week 3 Lecture MG461 Dr. Meredith Rolfe.
Relationships If we are doing a study which involves more than one variable, how can we tell if there is a relationship between two (or more) of the.
Lecture 4 Introduction to Multiple Regression
1 Regression Analysis The contents in this chapter are from Chapters of the textbook. The cntry15.sav data will be used. The data collected 15 countries’
One-Way Analysis of Covariance (ANCOVA)
Regression Analysis: Part 2 Inference Dummies / Interactions Multicollinearity / Heteroscedasticity Residual Analysis / Outliers.
Chapter 8: Simple Linear Regression Yang Zhenlin.
1 Doing Statistics for Business Doing Statistics for Business Data, Inference, and Decision Making Marilyn K. Pelosi Theresa M. Sandifer Chapter 12 Multiple.
ANOVA, Regression and Multiple Regression March
Handout Twelve: Design & Analysis of Covariance
Planned Contrasts and Data Management
Linear Regression Chapter 7. Slide 2 What is Regression? A way of predicting the value of one variable from another. – It is a hypothetical model of the.
Moderated Multiple Regression II Class 25. Regression Models Basic Linear Model Features: Intercept, one predictor Y = b 0 + b 1 + Error (residual) Do.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 14-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
26134 Business Statistics Week 4 Tutorial Simple Linear Regression Key concepts in this tutorial are listed below 1. Detecting.
Jump to first page Inferring Sample Findings to the Population and Testing for Differences.
Biostatistics Regression and Correlation Methods Class #10 April 4, 2000.
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
Week 2 Normal Distributions, Scatter Plots, Regression and Random.
Categorical Variables in Regression
Chapter 13 Created by Bethany Stubbe and Stephan Kogitz.
Remaining Classes Class 25 (Dec. 5): Moderated Multiple Regression Quiz 3 postponed to Dec. 7. Class 26 (Dec. 7): Quiz 3; Designing.
Multiple Regression Chapter 14.
Inferential Statistics
Diagnostics and Remedial Measures
Correlation and Simple Linear Regression
Presentation transcript:

Moderated Multiple Regression Class 18

Functions of Regression 1. Establishing relations between variables Do frustration and aggression co-occur? 2. Establishing causality between variables Does frustration (at Time 1) predict aggression (at Time 2)? 3. Testing how multiple predictor variables relate to, or predict, an outcome variable. Do frustration, and social class, and family income predict aggression? [additive effects] 4. Test for moderating effects between predictors on outcomes. Does frustration predict aggression, but mainly for people with low income? [interactive effect] 5. Forecasting/trend analyses If incomes continue to decline in the future, aggression will increase by X amount.

ANOVA VS. REGRESSION ANOVA: Is the mean of Group A different from the mean of Group B, after accounting for random error? Regression: Is the slope of predictor X on outcome Y significant, after accounting for random error?

Positive and Negative Regression Slopes

Scatter Plot With Regression Line Note: Line represents the "best fitting slope". Many points fall away from this line, above or below it Disparate points represent "error"

Error = Average Difference Between ??? and ???

Error = Average Difference Between Predicted Point (X 88 - Ŷ 88 ) and Actual Point (X 88 - Y 88 )

Regression Assumes Errors are normally, independently, and identically Distributed at Every Level of the Predictor (X) X1X1 X2X2 X3X3

Regression Not Always Linear Different shapes 1. Curvalinear 2. J-shaped 3. Catastrophic or Exponential Regression can test for each of these shapes, but must be "informed" beforehand. Research must look at scatter plot to determine what pattern occurs

Regression Models Basic Linear Model Features: Intercept, one predictor Y = b 0 + b 1 + Error (residual) Do bullies aggress more after being reprimanded? Multiple Linear Model Features: Intercept, two or more predictors Y = ?????? Do bullies aggress after reprimand and after nice kid is praised? Moderated Multiple Linear Model Features: Intercept, two or more predictors,interaction term(s) Y = ?????????? Aggress after reprimand, nice kid praised, and (reprimnd * praise)

Regression Models Basic Linear Model Features: Intercept, one predictor Y = b 0 + b 1 + Error (residual) Do bullies aggress more after being reprimanded? Multiple Linear Model Features: Intercept, two or more predictors Y = b 0 + b 1 + b 2 + Error (residual) Do bullies aggress after reprimand and after nice kid is praised? Moderated Multiple Linear Model Features: Intercept, two or more predictors,interaction term(s) Y = b 0 + b 1 + b 2 + b 1 b 2 + Error (residual) Aggress after reprimand, nice kid praised, and (reprimnd * praise)

Does Self Esteem Moderate the Use of Emotion as Information? Harber, 2004, Personality and Social Psychology Bulletin, 31, People use their emotions as information, especially when objective info. is lacking. Emotions are therefore persuasive messages from the self to the self. Are all people equally persuaded by their own emotions? Perhaps feeling good about oneself will affect whether to "believe" one's one emotions. Therefore, self-esteem should determine how much emotions affect judgment. In other worlds, when self-esteem is high, emotions should influence judgment more, and when self-esteem is low, emotions should influence judgments less.

Method: Studies 1 & 2 1. Collect self-esteem scores several weeks before experiment. 2. Subjects listen to series of 12 disturbing baby cries. 3.Subjects rate how much the baby is conveying distress through his cries, for each cry. 4. After rating all 12 cries, subjects indicate how upsetting it was for them to listen to the cries.

Predictions Overall positive relation between personal upset and cry ratings (more upset subjects feel, more extremely they'll rate cries). This association will be moderated by self-esteem * For people w’ high esteem, association will be strongest * For people w’ low esteem, association will be weakest.

Developing Predictor and Outcome Variables PREDICTORS Upset = single item "How upset did baby cries make you feel?" COMPUTE esteem = (esteem1R + esteem2R + esteem3 + esteem4R + esteem5 + esteem6R + esteem7R + esteem8 + esteem9 + esteem10) / 10. EXECUTE. COMPUTE upsteem = upset*esteem. EXECUTE. OUTCOME COMPUTE crytotl = (cry1 + cry2 + cry3 + cry4 + cry5 + cry6 + cry7 + cry8 + cry9 + cry10 + cry11 + cry12) / 12. EXECUTE.

SPSS Syntax for Multiple Regression REGRESSION /DESCRIPTIVES MEAN STDDEV CORR SIG N /MISSING LISTWISE /STATISTICS COEFF OUTS BCOV R ANOVA CHANGE /CRITERIA=PIN(.05) POUT(.10) /NOORIGIN /DEPENDENT crytotl /METHOD=ENTER upset esteem /METHOD=ENTER upset esteem upsteem.

Interpreting SPSS Regression Output (a) Regression page A1

page A2

page B1 Note: “ Residual ” = ? R = ? R 2 = ? Adj. R 2 = ? R sq. change = ? Sig. F Change = does new model explain ??? variance

page B1 Note: ANOVA F must be significant, EXCEPT IF INTERACTION OUTCOME PREDICTED A-PRIORI “ Residual ” = random error, NOT interaction R = Power of regression R 2 = Amount var. explained Adj. R 2 = Corrects for multiple predictors R sq. change = Impact of each added model Sig. F Change = does new model explain signif. amount added variance

page B2 Notes: 1. t = ???/ Std. Error 2. B and t change for upset, esteem when interaction term (upsteem) included. WHY? 3. Does Model 2 shows that interaction term is significant?

page B2 Notes: 1. t = B / Std. Error 2. B and t change for upset, esteem when interaction term (upsteem) included. 3. Model 2 shows that interaction effect is significant.

Regression Model for Esteem and Affect as Information Model: Y = b 0 + b 1 X + b 2 Z + b 3 XZ Where Y = cry rating X = upset Z = esteem XZ = esteem*upset And b 0 = X.XX = MEANING? b 1 = = X.XX = MEANING? b 2 = = X.XX = MEANING? b 3 = =X.XX = MEANING?

Regression Model for Esteem and Affect as Information Model: Y = b 0 + b 1 X + b 2 Z + b 3 XZ Where Y = cry rating X = upset Z = esteem XZ = esteem*upset And b 0 = 6.53 = intercept (average score when upset, esteem, upsetXexteem = 0) b 1 = = slope (influence) of upset b 2 = = slope (influence) of esteem b 3 = 0.18 = slope (influence) of upset X esteem interaction

Plotting Outcome: Baby Cry Ratings as a Function of Listener's Upset and Listener's Self Esteem ???

Plotting Outcome: Baby Cry Ratings as a Function of Listener's Upset and Listener's Self Esteem cry rating Upset Self Esteem

Plotting Interactions with Two Continuous Variables Y = b 0 + b 1 X + b 2 Z + b 3 XZ equals Y = (b 1 + b 3 Z)X + (b 2 Z + b 0 ) Y = (b 1 + b 3 Z)X is simple slope of Y on X at Z. Means "the effect X has on Y, conditioned by the interactive contribution of Z." Thus, when Z is one value, the X slope takes one shape, when Z is another value, the X slope takes other shape.

Plotting Simple Slopes 1.Compute regression to obtain values of Y = b 0 + b 1 X + b 2 Z + b 3 XZ 2. Transform Y = b 0 + b 1 X + b 2 Z + b 3 XZ into Y = (b 1 + b 3 Z)X + (b 2 Z + b 0 ) Y = (? + ?Z)X + (?Z + ?) 3. Select 3 values of Z that demonstrate the simple slopes of X when Z is low, when Z is average, and when Z is high. Standard practice: Z at one SD above the mean = Z H Z at the mean= Z M Z at one SD below the mean = Z L

Plotting Simple Slopes 1.Compute regression to obtain values of Y = b 0 + b 1 X + b 2 Z + b 3 XZ 2. Transform Y = b 0 + b 1 X + b 2 Z + b 3 XZ into Y = (b 1 + b 3 Z)X + (b 2 Z + b 0 ) Y = ( Z)X + (-.48Z ) 3. Select 3 values of Z that demonstrate the simple slopes of X when Z is low, when Z is average, and when Z is high. Standard practice: Z at one SD above the mean = Z H Z at the mean= Z M Z at one SD below the mean = Z L

4.Insert values for all the regression coefficients (i.e., b 1, b 2, b 3 ) and the intercept (i.e., b 0 ), from computation (i.e., SPSS print-out). 5.Insert Z H into (b 1 + b 3 Z)X + (b 2 Z + b 0 ) to get slope when Z is high Insert Z M into (b 1 + b 3 Z)X + (b 2 Z + b 0 ) to get slope when Z is moderate Insert Z L into (b 1 + b 3 Z)X + (b 2 Z + b 0 ) to get slope when Z is low Plotting Simple Slopes (continued)

Example of Plotting, Baby Cry Study, Part I Y (cry rating) = b 0 (rating when all predictors = zero) + b 1 X (effect of upset) + b 2 Z (effect of esteem) + b 3 XZ (effect of upset X esteem interaction). Y= X -.48Z +.18XZ. Y = (b 1 + b 3 Z)X + (b 2 Z + b 0 ) [conversion for simple slopes] Y= ( Z)X + (-.48Z ) Compute Z H, Z M, Z L via “Frequencies" for esteem, 3.95 = mean,.76 = SD Z H, = ( ) = 4.71 Z M = ( ) = 3.95 Z L = ( ) = 3.19 Slope at Z H = ( * 4.71)X + ([-.48 * 4.71] ) =.32X Slope at Z M = ( * 3.95)X + ([-.48 * 3.95] ) =. 18X Slope at Z L = ( * 3.19)X + ([-.48 * 3.19] ) =. 04X

Example of Plotting, Baby Cry Study, Part II 1. Compute mean and SD of main predictor ("X") i.e., Upset Upset mean = 2.94, SD = Select values on the X axis displaying main predictor, e.g. upset at: Low upset = 1 SD below mean` = 2.94 – 1.21 = 1.73 Medium upset = mean = 2.94 – 0.00 = 2.94 High upset = 1SD above mean = = Plug these values into Z H, Z M, Z L simple slope equations Simple Slope FormulaLow Upset (X = 1.73) Medium Upset (X = 2.94) High Upset (X = 4.15) ZHZH.32X ZMZM.18X ZLZL.04X Plot values into graph

Graph Displaying Simple Slopes

Are the Simple Slopes Significant? Question: Do the slopes of each of the simple effects lines (Z H, Z M, Z L ) significantly differ from zero? Procedure to test, using as an example Z H (the slope when esteem is high): 1. Transform Z to Z cvh (CV = conditional value) by subtracting Z H from Z. Z cvh = Z - Z H = Z – 4.71 Conduct this transformation in SPSS as: COMPUTE esthigh = esteem Create new interaction term specific to Z cvh, i.e., (X* Z cvh ) COMPUTE upesthi = upset*esthigh. 3. Run regression, using same X as before, but substituting Z cvh for Z, and X* Z cvh for XZ

Are the Simple Slopes Significant?--Programming COMMENT SIMPLE SLOPES FOR CLASS DEMO COMPUTE esthigh = esteem COMPUTE estmed = esteem COMPUTE estlow = esteem COMPUTE upesthi = esthigh*upset. COMPUTE upestmed = estmed*upset. COMPUTE upestlow = estlow*upset. REGRESSION [for the simple effect of high esteem (esthigh)] /MISSING LISTWISE /STATISTICS COEFF OUTS BCOV R ANOVA CHANGE /CRITERIA=PIN(.05) POUT(.10) /NOORIGIN /DEPENDENT crytotl /METHOD=ENTER upset esthigh /METHOD=ENTER upset esthigh upesthi.

Simple Slopes Significant?—Results Regression NOTE: Key outcome is B of "upset", Model 2. If significant, then the simple effect of upset for the high esteem slope is signif.

Moderated Multiple Regression with Continuous Predictor and Categorical Moderator (Aguinis, 2004) Problem : Does performance affect faculty salary for tenured versus untenured professors? Criterion: Salary increase Continuous Var. $ $2148 Predictor: Performance Continuous Var Moderator: Tenure Categorical Var. 0 (yes) 1 (no)

Regression Models to Test Moderating Effect of Tenure on Salary Increase Without Interaction Salary increase = b 0 (ave. salary) + b 1 (perf.) + b 2 (tenure) With Interaction Salary increase = b 0 (ave. salary) + b 1 (perf.) + b 2 (tenure) + b 3 (perf. * tenure) Tenure is categorical, therefore a "dummy variable", values = 0 or 1 These values are markers, do not convey quantity Interaction term = Predictor * moderator, = perf. * tenure. That simple. Conduct regression, plotting, simple slopes analyses same as when predictor and moderator are both continuous variables.

Centering Data Centering data is done to standardize it. Aiken and West recommend doing it in all cases. * Makes zero score meaningful * Has other benefits Aguinas recommends doing it in some cases. * Sometimes uncentered scores are meaningful Procedure upset M = 2.94, SD = 1.19; esteem M = 3.94, SD = 0.75 COMPUTE upcntr = upset – COMPUTE estcntr = esteem = 3.94 upcntr M = 0, SD = 1.19; esteem M = 0, SD = 0.75 Centering may affect the slopes of predictor and moderator, BUT it does not affect the interaction term.

THE KENT AND HERMAN DIALOGUE A Moderated Multiple Regression Drama With A Satisfactory Conclusion Appropriate for All Audiences

Overall model IS NOT significant Interaction term IS significant

Dear Dr. Aguinis, I am using your text in my graduate methods course. It is very clear and straightforward, which both my students and I appreciate. A question came up that I thought you might be able to answer. If an MMR model produces a significant interaction, but the ANOVA F is not itself significant, is the significant interaction still a valid result? My impression is that the F of the overall model (as indicated by the ANOVA F and/or by the R-sqr. change) must be significant. Thank you for your response, Kent Harber Act 1, Scene 1: Kent contacts Herman regarding this vexing conundrum.

Kent, I believe you are referring to a test of a targeted interaction effect without looking at the overall (omnibus) effect. Please see pp of the book. Let me know if this does not answer your question and I will be delighted to follow up with you. Thanks for your kind words about my book! All the best, --Herman. Act 1, scene 2: Herman replies!

Herman, thanks for getting back to me on this. Based on those pages of your text, it appears that the answer to my question is as follows: If the omnibus F is itself not significant, then a significant interaction term within this non-significant model will itself not be interpretable. Sadly (for some rather appealing interaction effects) this makes sense. Again, very good of you to get back to me on this question. Best regards, Kent Act 1, scene 3: Are simple effects doomed???

Kent, Before I give you an answer and to make sure I understand the question. What do you mean precisely by "the ANOVA F test"? Regards, --Herman. Act 1, scene 4: Herman sustains the dramatic tension.

Kent, Thanks for the clarification. Now, I understand your question perfectly. An article by Bedeian and Mossholder (1994), J. of Management, addresses this question directly. The full citation is on page 177 of my book. All the best, --Herman. Act 1, scene 4: Herman drops the Big Clue

Finale: Simple effects are redeemed!!! [enter marching band, stage right]

Data Management Issues Setting up data file Checking accuracy of data Disposition of data Why obsess on these details? Murphy's Law If something can go wrong, it will go wrong, and at the worst possible time.

Creating a Coding Master 1. Get survey copy 2. Assign variable names 3. Assign variable values 4. Assign missing values 5. Proof master for accuracy 6. Make spare copy, keep in file drawer

Coding Master variable names variable values Note: Var. values not needed for scales

Cleaning Data Set 1. Exercise in delay of gratification 2. Purpose: Reduce random error 3. Improve power of inferential stats.

Complete Data Set Note: Are any cases missing data?

Are any “Minimums” too low? Are any “Maximums” too high? Do N s indicate missing data? Do SDs indicate extreme outliers?

Do variables correlate in the expected manner?

Using Cross Tabs to Check for Missing or Erroneous Data Entry Case A: Expect equal cell sizes Gender OldestYoungestOnly Child Males10 20 Females TOTAL Case B: Impossible outcome Number of Siblings OldestYoungestOnly Child None 43 6 One340 More than one34 2 TOTAL10 8

Check a Sub Sample 1. Determine acceptable error rate 2.Number of cases to randomly sample, by rate of acceptable error rate: Acceptable Error Rate Number of Cases to Randomly Review If No Errors Detected, chances are good that:.50550% or fewer errors % or fewer errors % or fewer errors % or fewer errors

Storing Data Raw Data 1. Hold raw data in secure place 2. File raw data by ID # 3. Hold raw date for at least 5 years post publication, per APA Automated Data 1. One pristine source, one working file, one syntax file 2. Back up, Back up, Back up `3. Use external hard drive as back-up for PC

File Raw Data Records By ID Number

COMMENT SYNTAX FILE GUN CONTROL STUDY SPRING 2007 COMMENT DATA MANAGEMENT IF (gender = 1 & party = 1) genparty = 1. EXECUTE. IF (gender = 1 & party = 2) genparty = 2. EXECUTE. IF (gender = 2 & party = 1) genparty = 3. EXECUTE. IF (gender = 2 & party = 2) genparty = 4. EXECUTE. COMMENT ANALYSES UNIANOVA gunctrl BY gender party /METHOD = SSTYPE(3) /INTERCEPT = INCLUDE /PRINT = DESCRIPTIVE /CRITERIA = ALPHA(.05) /DESIGN = gender party gender*party. ONEWAY gunctrl BY genparty /CONTRAST= /STATISTICS DESCRIPTIVES /MISSING ANALYSIS /POSTHOC = TUKEY ALPHA(.05). Save Syntax File