Intro to SEM_day 3_nov2012

download Intro to SEM_day 3_nov2012

of 50

Transcript of Intro to SEM_day 3_nov2012

  • 8/16/2019 Intro to SEM_day 3_nov2012

    1/50

    ROB CRIBBIE

    Q U A N T I T A T I V E M E T H O D S P R O G R A M – D E P A R T M E N T O FP S Y C H O L O G Y

    C O O R D I N A T O R - S T A T I S T I C A L C O N S U L T I N G S E R V I C E

    C O U R S E M A T E R I A L S A V A I L A B L E A T : W W W . P S Y C H . Y O R K U . C A / C R I B B I E

    Introduction to Structural

    Equation Modeling (SEM)

    Day 3: November 22, 2012

  • 8/16/2019 Intro to SEM_day 3_nov2012

    2/50

    Topics Covered in the First Two Weeks

    Establishing and Identifying Models

    Determining Model Fit

    Checking Statistical Significance of Parameters

    Checking the r2 of Outcome Variables

    Relationship between Regression and StructuralEquation Modeling

    Path Analysis Confirmatory Factor Analysis

    Full Structural Equation Models

  • 8/16/2019 Intro to SEM_day 3_nov2012

    3/50

     What are we going to do today?

    Mediation Analysis in SEM

    Multiple Group Models

  • 8/16/2019 Intro to SEM_day 3_nov2012

    4/50

    Mediation Analysis in SEM

     What is mediation?

    Mediation implies a causal hypothesis where anindependent variable causes a mediating variable whichcauses a dependent variable.

     A mediating variable is responsible for the relationship between the predictor and the outcome variables

    In other words, a mediating variable explains “how” or “why” an

    independent variable predicts a dependent variable.

  • 8/16/2019 Intro to SEM_day 3_nov2012

    5/50

    Simple 3-variable Mediation Model.

    Xpredictor

    Youtcome

    Mmediator

    Xpredictor

    Youtcome

    c

    ab

    c’

  • 8/16/2019 Intro to SEM_day 3_nov2012

    6/50

    Terminology

    The effect of X on Y through M is referred to as themediated effect or the indirect effect.  A mediating variable is also commonly called an intervening

     variable, an intermediate variable, or a process variable.

    Suppression and confounding effects also involve 3- variable systems and are statistically, but not

    conceptually, related to mediation

  • 8/16/2019 Intro to SEM_day 3_nov2012

    7/50

    Mediation versus Moderation

    Moderation is conceptually and statisticallydifferent from mediation.

    Mediation – how, why

    Moderation – when, under what circumstances

    Moderation - The nature of the relationship

     between the predictor and the outcome differsdepending on the level of the moderator.

  • 8/16/2019 Intro to SEM_day 3_nov2012

    8/50

    Mediation and SEM

    Mediational relationships are very common in SEMmodels

    Outdated methods for testing mediation included a

    series of regression equations However, with SEM we can test multiple regression equations

    simultaneously!

    This makes testing mediational hypotheses very straightforward inSEM

  • 8/16/2019 Intro to SEM_day 3_nov2012

    9/50

    The Indirect Effect

    Evaluate the significance of the a*b effect

    Could use the Sobel test, but it can be problematic and produce biased results (especially with small samples)

    Current recommendation in the mediation literatureis to evaluate the significance of the indirect effectusing bias-corrected bootstrapped confidenceintervals

     We can do this in AMOS quite easily

  • 8/16/2019 Intro to SEM_day 3_nov2012

    10/50

    Bootstrapping

    Bootstrapping provides an approach toconstructing confidence intervals for the mediatedeffect.

    Bootstrapped confidence intervals make no assumptionabout the distribution of the mediated effect statistic (a*b).

     A large number of bootstrap samples are drawnfrom the data and the effect (a*b) is estimated

    from each of these bootstrap samples. The distribution of these samples forms an

    empirical sampling distribution of the effect.

  • 8/16/2019 Intro to SEM_day 3_nov2012

    11/50

    Bias-corrected Bootstrap Confidence Intervals

    For a 95% CI:

    ◦ The lower limit is the bootstrapped estimate of a*b at the 2.5percentile

    ◦ The upper limit is the bootstrapped estimate of a*b at the 97.5percentile

    ◦ Bias correction increases the likelihood that the population valueof a*b is encompassed within the interval in the expected

    proportion of cases (e.g., 95%)

  • 8/16/2019 Intro to SEM_day 3_nov2012

    12/50

    Mediation in SEM

    In AMOS, the first thing we need to do is to ask foroutput on the indirect effects

     View Analysis Properties Output Click “Indirect, Direct, & Total Effects”

  • 8/16/2019 Intro to SEM_day 3_nov2012

    13/50

    Mediation in SEM

    To obtain bootstrapped confidence intervals for theindirect effect in AMOS:  View Analysis Properties

    “Bootstrap” tab

    Select “perform bootstrap” and enter numberof resamples wanted (e.g., 10000)

    Select “Bias-corrected confidence intervals”

    and specify width (default is a 90% CI)95 % CIs are more common

  • 8/16/2019 Intro to SEM_day 3_nov2012

    14/50

    Mediation Example

    Recall the example from the first week’s exercise Predictors: Autonomy Orientation; Controlled Orientation

    Outcomes: Burnout; Well-being

     We can reframe the problem to try to determine ifcompetence is a mediator:

    The effect of workplace variables on individual well-being and burnout is mediated by feelings of competence within the

     workplace.

  • 8/16/2019 Intro to SEM_day 3_nov2012

    15/50

    Controlled

    Orientation

     AutonomyOrientation

    Competence

    Satisfaction

    Well Being

    Burnout

    e1

    1

    e2

    1

    e3

    1

    Mediation Example

  • 8/16/2019 Intro to SEM_day 3_nov2012

    16/50

    Mediation Results in AMOS

    Fit  χ² (4) = 5.797, p = .215 

    CFI = .988

    TLI = .971

    IFI = .989

    RMSEA = .0473

    Since the fit of the model is good, we can go on to

    test whether competence is a significant mediatorin the model

  • 8/16/2019 Intro to SEM_day 3_nov2012

    17/50

    Mediation Results in AMOS

    Indirect paths:

    Controlled Orientation   Competence  Burnout

    Controlled Orientation   Competence  Well-Being

     Autonomy Orientation

      Competence

      Burnout  Autonomy Orientation   Competence  Well-Being

  • 8/16/2019 Intro to SEM_day 3_nov2012

    18/50

  • 8/16/2019 Intro to SEM_day 3_nov2012

    19/50

    Mediation Results in AMOS

     Autonomy

    Orient

    Controlled

    OrientCompetence

    Competence .0000000 .0000000 .0000000

    Burnout -.0839494 .0882250 .0000000

     Well-Being .8815214 -.9264182 .0000000

    Indirect Effects 

  • 8/16/2019 Intro to SEM_day 3_nov2012

    20/50

    Mediation Results in AMOS

    Autonomy

    Orientation

    Controlled

    OrientationCompetence

    Competence .0000000 .0000000 .0000000

    Burnout -.1791253 .0092771 .0000000

    Well-Being .1200047 -2.0416531 .0000000

    Indirect Effects - Lower Bounds (BC) 

  • 8/16/2019 Intro to SEM_day 3_nov2012

    21/50

    Mediation Results in AMOS

    Autonomy

    Orientation

    Controlled

    OrientationCompetence

    Competence .0000000 .0000000 .0000000

    Burnout -.0071333 .1799369 .0000000

    Well-Being 1.9094402 -.1631157 .0000000

    Indirect Effects - Upper Bounds (BC) 

  • 8/16/2019 Intro to SEM_day 3_nov2012

    22/50

    Mediation Results in AMOS

    Autonomy

    Orientation

    Controlled

    OrientationCompetence

    Competence ... ... ...

    Burnout .0325969 .0261903 ...

    Well-Being .0260995 .0170113 ...

    Indirect Effects - Two Tailed Significance (BC) 

  • 8/16/2019 Intro to SEM_day 3_nov2012

    23/50

    Interpreting the Mediation Model

    The effects of the predictors (autonomous orcontrolling orientation) on the outcome (well-beingor burnout) are significantly accounted for by themediator (competence) E.g., the effect of autonomy orientation on burnout is

    significantly explained by competence

    Need to look at the parameter estimates to understand theeffect

  • 8/16/2019 Intro to SEM_day 3_nov2012

    24/50

    Interpreting the Mediation Model

    Estimate S.E. C.R. P

    Competence   ControlledOrient -.1249 .0645 -1.936 .0528

    Competence   AutonomyOrient .1189 .0687 1.728 .0838

     WellBeing   Competence 7.412 1.404 5.276 ***

    Burnout   Competence -.705 .0944 -7.477 ***

    Regression Weights: 

  • 8/16/2019 Intro to SEM_day 3_nov2012

    25/50

    Mediation in SEM

    Once you know the basics for testing mediationhypotheses in SEM, easily extended to morecomplex models involving latent variables

    The process is identical to what we have just covered andquite straightforward.

    Testing mediation models with latent variables is notpossible in simple regression.

  • 8/16/2019 Intro to SEM_day 3_nov2012

    26/50

    Multiple-Group Models

    Multiple Group/Sample Models allow us to examine a well specified model in 2 or more groups (e.g., males vs females) or 2 or more samples (e.g., cross

     validation) This allows us to test if our loadings, covariances, etc.

    are different or not different across groups or samples Note: The model should fit both groups before proceeding with

    a multi-sample analysis

  • 8/16/2019 Intro to SEM_day 3_nov2012

    27/50

    Types of Analyses

    Examples: Evaluate a path analysis across samples to determine if the

    coefficients differ

    Evaluate if the factorial structure of an instrument varies acrosspopulations

    Evaluate a latent variable model across multiple groups todetermine if the loadings differ

    Interpretations mirror an interaction effect

  • 8/16/2019 Intro to SEM_day 3_nov2012

    28/50

    Strategies for Multisample Analysis

    Full Model Analysis Interest is in comparing all factor loadings, factor

     variances/covariances, and structural model paths acrossgroups

    Beginning with the measurement model, subsequently “fix”parameters to be equal (i.e., if they do not differ then fix them to be equal in testing future restrictions)

    Parameter Level Analysis In this strategy we are testing whether a specific parameter

    differs across groups

  • 8/16/2019 Intro to SEM_day 3_nov2012

    29/50

    Multi-group Models

    How do we know if a parameter (or a set ofparameters) is invariant across groups? If the chi-square difference test (comparing the constrained and

    unconstrained models) is significant then constraining theparameters to be equal significantly increased the chi-squarestatistic (relative to the degrees of freedom) In other words, constraining the parameters to be equal reduced

    the fit of the model

    Recall: Δχ 2 = χ 2 (less constrained) - χ 2 (more constrained)•  df(Δχ 2) = df[ χ 2 (less constrained)] - df[ χ 2 (more constrained)]

    Thus, this parameter can be said to differ across groups i.e., the model fits better when each sample takes on unique

    parameter estimates

  • 8/16/2019 Intro to SEM_day 3_nov2012

    30/50

    Multi-group models

     Alternatively, we can look at the difference in theCFI fit index The χ² difference test is sometimes argued to be excessively

    stringent when testing for invariance

    Cheung and Rensvold (2002) present research arguing thata CFI difference test is a reasonable alternative

    If change in CFI value is less than or equal to .01, then thenull hypothesis of invariance should not be rejected

    i.e., the more constrained model is invariant across groups

  • 8/16/2019 Intro to SEM_day 3_nov2012

    31/50

    Emotional

    Exhaustion

    ITEM20e21

    ITEM14e31

    ITEM13e41

    ITEM8e51

    ITEM6e61

    ITEM3e71

    ITEM2e81

    ITEM1e9

    1

    1

    Depersonalization

    ITEM22e101

    ITEM15e111

    ITEM11e12

    ITEM10e131

    ITEM5e141

    1

    Personal

     Accomplishment

    ITEM21e151

    ITEM19e161

    ITEM18e171

    ITEM17e181

    ITEM9e191

    ITEM7e201

    ITEM4e211

    1

    1

    Multi-group models - Example

  • 8/16/2019 Intro to SEM_day 3_nov2012

    32/50

    Multi-group Models - Example

    The first thing we need to do is to define ourgroups.  Analyze Manage Groups

    Type in the first group’s name “Elementary teachers”, click“new”

    Type in second group’s name “Secondary teachers”

    Now we need to assign the data for each group In this example, the data for each group is in separate files

    However, can have the data for different groups within thesame file.

    In this case you need to specify the group variable

  • 8/16/2019 Intro to SEM_day 3_nov2012

    33/50

    Multi-group Models - Example

    Selecting the data files:

    Click on icon “Select data file(s)”

  • 8/16/2019 Intro to SEM_day 3_nov2012

    34/50

    Multi-group Models - Example

    For group data within same dataset:  Again, click “select data files”

    Click “grouping variable”

  • 8/16/2019 Intro to SEM_day 3_nov2012

    35/50

    Multi-group Models - Example

    Select the grouping variable and click “ok”

    Next, need to tell AMOS how the variabledistinguishes the groups

    Click“group value”

  • 8/16/2019 Intro to SEM_day 3_nov2012

    36/50

    Multi-group Models - Example

    Once the groups have been defined, we estimate a baseline for both groups In this first model, both data sets are examined

    simultaneously, holding only the pattern of factor loadings

    invariant.

    This model serves two functions: First, it serves as a test of configural invariance

    that is, poor fit of this model indicates that either the same

    factor structure does not hold for the two samples, or that themodel is misspecified in one or both samples.

    Second, the configural invariance model serves as a baselinemodel for evaluating, which can be used as a comparisonmodel for other more restrictive models.

  • 8/16/2019 Intro to SEM_day 3_nov2012

    37/50

    Multi-group Models Example

    Once we have a good-fitting configural model, wecontinue in a series of steps in order to test theinvariance of specific parts of the model Usually, in the first step we want to see if the factor loadings

    are invariant across groups.

    Note: There is a short-cut for conducting multiplegroup analyses in AMOS, using the ‘multiple-groupanalysis’ command, although unless all difference-

     based tests are not significant (i.e., no follow-ups arerequired) then it does not save much time

  • 8/16/2019 Intro to SEM_day 3_nov2012

    38/50

    Multi-group Models - Example

    To fix parameters to be equal, we label each of theparameters with the same name

    Right-click on path and select “object properties”

    Enter label under the “parameters” tab Be sure to check off “all groups”

  • 8/16/2019 Intro to SEM_day 3_nov2012

    39/50

    Emotional

    Exhaustion

    ITEM20e2

    L8

    1ITEM14e3

    L7

    1ITEM13e4

    L61

    ITEM8e5L51

    ITEM6e6   L41

    ITEM3e7L3

    1ITEM2e8

    L2

    1ITEM1e9

    1

    1

    Depersonalization

    ITEM22e10L131

    ITEM15e11

    L121

    ITEM11e12L11

    ITEM10e13   L101

    ITEM5e141

    1

    Personal

     Accomplishment

    ITEM21e15

    L20

    1ITEM19e16

    L19

    1ITEM18e17

    L18

    1ITEM17e18

    L171

    ITEM9e19   L161

    ITEM7e20 L151

    ITEM4e211

    1

    1

    Multi-group Models - Example

    Both the male andfemale modelsshould look thesame

  • 8/16/2019 Intro to SEM_day 3_nov2012

    40/50

    Multi-group Models - Example

    Baseline Model:  χ² (330) = 1962.3

    CFI = .919

    Measurement Invariance Model:  χ² (347) = 1992.6

    CFI = .918

    Δχ² (17) = 30.3 – significant (p < .05)

    ΔCFI = .001 – not significant  We will trust the more stringent χ² difference test

  • 8/16/2019 Intro to SEM_day 3_nov2012

    41/50

    Multi-group Models - Example

    Given that we did not find measurement invariance with the χ² difference test, for each of thedimensions of the MBI, we should look at each factor

    separately for measurement invariance. Label the paths for one factor at a time to set test for group

    invariance on that particular factor.

     Assess using the Δχ² 

  • 8/16/2019 Intro to SEM_day 3_nov2012

    42/50

    Emotional

    Exhaustion

    ITEM20e2

    L8

    1ITEM14e3

    L7

    1ITEM13e4

    L61

    ITEM8e5L51

    ITEM6e6   L41

    ITEM3e7L3

    1ITEM2e8

    L2

    1 ITEM1e9

    1

    1

    Depersonalization

    ITEM22e101

    ITEM15e111

    ITEM11e12

    ITEM10e131

    ITEM5e141

    1

    Personal

     Accomplishment

    ITEM21e151

    ITEM19e161

    ITEM18e171

    ITEM17e181

    ITEM9e191

    ITEM7e201

    ITEM4e211

    1

    1

    Multi-group Models - Example

     We start with theemotional exhaustionconstruct

  • 8/16/2019 Intro to SEM_day 3_nov2012

    43/50

    Multi-group Models - Example

    Baseline Model:  χ² (330) = 1962.3

    Measurement Invariance Model:  χ² (337) = 1963.6

    Δχ² (7) = 1.3 – not significant (p > .05)

    Therefore, the groups are invariant for the emotionalexhaustion factor parameters

    Retain this model and check for invariance of nextfactor.

  • 8/16/2019 Intro to SEM_day 3_nov2012

    44/50

    Emotional

    Exhaustion

    ITEM20e2

    L8

    1ITEM14e3

    L7

    1ITEM13e4

    L61

    ITEM8e5L51

    ITEM6e6   L41

    ITEM3e7L3

    1ITEM2e8

    L2

    1 ITEM1e9

    1

    1

    Depersonalization

    ITEM22e10L131

    ITEM15e11

    L121

    ITEM11e12L11

    ITEM10e13   L101

    ITEM5e141

    1

    Personal

     Accomplishment

    ITEM21e151

    ITEM19e161

    ITEM18e171

    ITEM17e181

    ITEM9e191

    ITEM7e201 ITEM4e21 1

    1

    1

    Multi-group Models - Example

    Now we check theDepersonalization Construct

  • 8/16/2019 Intro to SEM_day 3_nov2012

    45/50

    Multi-group Models - Example

    Baseline Model:  χ² (330) = 1962.3

    Measurement Invariance Model:

     χ² (341) = 1972.2 Δχ² (11) = 9.9 – not significant (p > .05)

    Therefore, the groups are invariant for theemotional exhaustion and depersonaliztion factors

    parameters So, the issue seems to be with the non-invariance of all or

    some of the parameters in the personal accomplishmentfactor

  • 8/16/2019 Intro to SEM_day 3_nov2012

    46/50

    Multi-group Models - Example

    Now that we have isolated the factor associated withthe non-invariance, test each of the parameters

     within that factor separately. Conduct a Δχ² for each item parameter.

  • 8/16/2019 Intro to SEM_day 3_nov2012

    47/50

    Multi-group Models - Example

    Maintaining the most recent model (with emotionalexhaustion and depersonalization factors invariantacross the 2 groups), we first test for the invarianceof item7

  • 8/16/2019 Intro to SEM_day 3_nov2012

    48/50

    Emotional

    Exhaustion

    ITEM20e2

    L81

    ITEM14e3

    L71

    ITEM13e4L61

    ITEM8e5L51

    ITEM6e6  L41ITEM3e7  L31ITEM2e8   L2

    1ITEM1e9

    1

    1

    Depersonalization

    ITEM22e10

    L13

    1

    ITEM15e11

    L121

    ITEM11e12L11

    ITEM10e13  L101

    ITEM5e14   11

    Personal

     Accomplishment

    ITEM21e15

    L20

    1ITEM19e16

    L191

    ITEM18e171

    ITEM17e181

    ITEM9e19  L161

    ITEM7e20  L151

    ITEM4e21   11

    1

    Multi-group Models - Example

     After testing all parameters, we fix to equality the onesthat did not result in asignificant χ 2 difference test

  • 8/16/2019 Intro to SEM_day 3_nov2012

    49/50

    Multi-group Models - Example

    Final Analysis Comparing Configural Model toConstrained Model

    Baseline Model:  χ² (330) = 1962.3

    Measurement Invariance Model:  χ² (345) = 1975.3

    Δχ² (15) = 13.0 – not significant (p > .05)

    Therefore, we would examine the 2 item loadings (Items17 and 18) for each group to see how/why they differ  We might also want to determine if the covariances among the factors

    differ across groups using the same strategy

  • 8/16/2019 Intro to SEM_day 3_nov2012

    50/50

    Multisample Analysis in J>2 Groups

     We can also test for parameter differences insituations where there are 3 or more groups In this situation, any time that invariance is rejected “pairwise”

    comparisons should be conducted to find out which groups

    differ

     When multiple parameters are tested for invariancethis can be very time consuming