http://psychwiki.com/index.php?title=Special:Contributions/Lisasmurf&feed=atom&limit=50&target=Lisasmurf&year=&month=PsychWiki - A Collaborative Psychology Wiki - User contributions [en]2020-06-02T07:38:06ZFrom PsychWiki - A Collaborative Psychology Wiki MediaWiki 1.16.0http://psychwiki.com/wiki/MediationMediation2008-06-10T15:26:38Z<p>Lisasmurf: updated web links (Preacher pages)</p>
<hr />
<div>Conducting mediational analysis is easier than you think.<br />
<br />
<br />
<font size=4><u>Take-home message</u></font><br />
<br />
►The details are provided below, but the take-home message is that the [[#Baron & Kenny | Baron & Kenny]] method is the one most often used but has some limitations, the [[#Sobel Test | Sobel test]] is more accurate but has low statistical power, and [[#Bootstrapping | Bootstrapping]] is the preferred method because it's the only test that doesn't violate assumptions of normality (and it's recommended for small sample sizes). The same applies to [[#Multiple Mediation | Multiple mediation]] and [[#Reverse Mediation | Reverse mediation]]. <br />
<br />
Whenever possible the links to helpful articles and websites about mediation are posted below, including a link to the [http://www.people.ku.edu/~preacher/ Preacher website] and [http://www.comm.ohio-state.edu/ahayes/ Hayes website] which has macros for SPSS and SAS that do everything you need because they provide output simultaneously for the (1) Baron & Kenny method, (2) sobel method, and (3) bootstrapping method. Macros exist for both simple mediation (click '''[http://www.comm.ohio-state.edu/ahayes/sobel.htm here]''' for macro) and multiple mediation (click '''[http://www.comm.ohio-state.edu/ahayes/SPSS%20programs/indirect.htm here]''' for macro).<br />
<br />
<br />
<br />
==What is mediation?==<br />
* There are so many good websites and articles that summarize mediation that it would be redundant to repost that information here, so...<br />
* See the [http://davidakenny.net/cm/mediate.htm Kenny website] which provides a wealth of concise information about mediation including design issues, specification error, and various extensions of mediational analysis.<br />
* See the [http://www.comm.ohio-state.edu/ahayes/ Hayes website] which provides SPSS and SAS macros for mediation, as well as SPSS and SAS macros for other statistical tests.<br />
* See the [http://www.people.ku.edu/~preacher/ Preacher website] which provides every test you need to conduct every type of mediation.<br />
* See the [http://www.public.asu.edu/~davidpm/ripl/mediate.htm MacKinnon website] which provides an FAQ about mediation and the ability to ask questions of mediation experts.<br />
<br />
<br />
==Baron & Kenny==<br />
* What is this?<br />
: The causal steps methods developed by [[Baron & Kenny, 1986]] is the most commonly used and most frequently cited test of mediation in psychology.<br />
: [[Baron & Kenny, 1986]] defined three conditions necessary for mediation, and the updated version by [[Kenny, 1998]] describes four steps to infer mediation. <br />
* How do you conduct this test (conceptually)?<br />
:<small>FYI - see the [http://davidakenny.net/cm/mediate.htm Kenny website] for a pictorial representation of paths represented as a, b, c, c'</small><br />
: <u>The four steps involve:</u><br />
:# IV predicts DV (so estimate path c).<br />
:# IV predicts mediator (so estimate path a)<br />
:# Mediator predicts DV (while controlling for IV) (so estimate path b)<br />
:# IV does NOT predicts DV (while controlling for mediator) (so estimate path c' )<br />
* How do you conduct this test (in practice)?<br />
: <u>Using regression analysis in SPSS (or related statistical program), you test:</u><br />
:# IV is predictor, and DV is criterion variable (want this significant)<br />
:# IV is predictor, and mediator is criterion variable (want this significant)<br />
:# IV & mediator as predictor, and DV as criterion variable (want b path to be significant but want c' path n.s.).<br />
* Some other issues<br />
:# Most argue that only Step 2 & 3 are required because the initial correlation between the IV and DV (step 1) is not essential, and the finding of a subsequent n.s. correlation between the IV and DV (step 4) is only necessary for arguing complete mediation (see below).<br />
:# Complete (or perfect) mediation occurs when path c' decreases to zero. Partial mediation occurs when c' decreases to nontrivial amount but not to zero. See [[Shrout & Bolger, 2002]] page 432 for the four reasons why partial mediation may occur.<br />
* Limitations of this method<br />
: Over the years the [[Baron & Kenny, 1986]] method has been criticized for low power, Type I error, not being able to address suppression effects, and not addressing the central question of whether the indirect effect is significantly different from zero and in the expected direction (see [[MacKinnnon, Lockwood, Hoffman, & West, 2002]], [[Preacher & Hayes, 2004]], [[Shrout & Bolger, 2002]] for more detailed information.)<br />
<br />
<br />
<br />
==Sobel Test==<br />
* What is this?<br />
: The Sobel test determines the significance of the indirect effect of the mediator by testing the hypothesis of no difference between the total effect (path c) and the direct effect (path c' ). The indirect effect of the mediator is the product of path ab which is equivalent to (c - c' ).<br />
: The Sobel test is superior to the [[#Baron & Kenny | Baron & Kenny]] method in terms of all the limitations of the B&K method discussed above (e.g., power, Type I error, suppression effects, addressing the significance of the indirect effect).<br />
* How do you conduct this test (conceptually)?<br />
:# Determine the standard error of the indirect effect. <br />
:# Divide the ab path by the standard error of the indirect effect.<br />
:# The ratio is compared to critial value from standard normal distribution for a given alpha level (i.e., treated as Z-test).<br />
* How do you conduct this test (in practice)?<br />
:# There is an easy-to-use [http://www.people.ku.edu/~preacher/sobel/sobel.htm Sobel test calculator] posted online by Kristopher J. Preacher. Just run regression analyses in SPSS (or similar statistical program) and input the requested numbers into the online calculator, OR<br />
:# Preacher and Hayes also offer a [http://www.comm.ohio-state.edu/ahayes/sobel.htm macro] that calculates the Sobel test directly within SPSS and SAS. <br />
:# There is also a command to do this in Stata called [http://www.ats.ucla.edu/STAT/stata/faq/sgmediation.htm sgmediation].<br />
* Limitations of this method<br />
: The assumption for conducting the Sobel test (like most tests in psychology) is that the sampling distribution is normal. Hundreds of articles in statistical journals have shown that assumptions of normality are usually violated, especially in small samples, leading to reduced ability to detect true relationships amongst variables (see [[Wilcox, 1998]], [[Wilcox, 2003]], and [[Wilcox, 2005]] for more information).<br />
<br />
==Bootstrapping==<br />
* What is this?<br />
: Bootstrapping is a way to overcome the limitations of statistical methods that make assumptions about the shape of sampling distributions, such as normality. It is becoming the preferred method for analyzing data.<br />
* How do you conduct this test (conceptually)?<br />
: See [[Shrout & Bolger, 2002]] for details, but basically bootstrapping involves repeatedly randomly sampling observations with replacement from the data set and computing the statistic of interest in each resample. Over many bootstrap resamples, an empirical approximation of the sampling distribution of the statistic can be generated and used for hypothesis testing.<br />
* How do you conduct this test (in practice)?<br />
: Preacher and Hayes offer a [http://www.comm.ohio-state.edu/ahayes/sobel.htm macro] that calculates bootstrapping directly within SPSS and SAS.<br />
: The Stata command [http://www.ats.ucla.edu/STAT/stata/faq/sgmediation.htm sgmediation] also offers bootstrapping and has a simple syntax, e.g., "sgmediation Y, mv(M) iv(X) bootstrap reps(5000)"<br />
: The syntax in [http://www.statmodel.com Mplus] for a simple mediation model with 5000 bootstrapped samples is shown below. The important bits are bolded.<br />
<br />
TITLE:<br />
:data from Preacher and Hayes figure 2<br />
:satis: satisfaction<br />
:therapy: therapy<br />
:0: standard<br />
:1: cognitive<br />
:attrib: attributional positivity<br />
<br />
DATA:<br />
:File is figure2data.dat ;<br />
<br />
VARIABLE:<br />
:Names are satis therapy attrib;<br />
<br />
'''ANALYSIS:<br />
:Bootstrap = 5000;<br />
'''<br />
<br />
'''MODEL:<br />
:attrib ON therapy ;<br />
:satis ON attrib therapy;<br />
'''<br />
<br />
'''MODEL INDIRECT:<br />
:satis IND attrib therapy;<br />
'''<br />
<br />
'''OUTPUT:<br />
:cinterval;<br />
'''<br />
<br />
==SEM==<br />
* What is this?<br />
: Structural Equation Modeling is a statistical technique for simultaneously analyzing the relationships among multiple IVs and DVs by building and testing different models of the data. There are various programs for conducting SEM including EQS, AMOS, and LISREL.<br />
: SEM offers many of the same tests listed above (Sobel test, bootstrapping), but can also control for measurement error and provides greater flexibility in model design.<br />
* How do you conduct this test (conceptually)?<br />
: SEM tests significants of indirect effects similar to the Sobel test.<br />
* How do you conduct this test (in practice)?<br />
: The details of conducting SEM is beyond the scope of this page, and there are many helpful books/articles on how to analyze data using SEM.<br />
: See also informative websites such as the [http://davidakenny.net/cm/causalm.htm David Kenny website on SEM], and the [http://www2.gsu.edu/~mkteer/index.html Ed Rigdon website on SEM].<br />
: [[Shrout & Bolger, 2002]] provide syntax that enables EQS and AMOS to conduct tests of indirect effects with bootstrapping.<br />
<br />
==Multiple Mediation==<br />
* When you have more than one mediator, you can either conduct separate simple mediational analyses for each mediator, or examine all mediators within the same model.<br />
* It is recommended that you conduct simultaneous multiple mediation because you can determine both if an overall effect exists for all mediators (total indirect effect) and the effect of each mediator (specific indirect effects). Plus, you can determine the unique effect of each mediator while controlling for the other mediators.<br />
* The same issues discussed above with respect to simple mediation also apply to multiple mediation, so its recommended to use the [http://www.comm.ohio-state.edu/ahayes/SPSS%20programs/indirect.htm macro] posted on Hayes's website to conduct multiple mediation within SPSS and SAS.<br />
<br />
==Moderated Mediation==<br />
* What is it? <br />
:Moderated mediation refers to testing mediational models for different groups (e.g., control group versus condition group, males versus females, etc) or different levels of a continuous moderator variable. If the magnitude of the indirect effect changes significantly across values of a moderator, that's moderated mediation.<br />
*How to do it<br />
:The article by Muller, Judd & Yzerbyt (2005) provides an in-depth explanation. You can find the paper [http://www.research.plymouth.ac.uk/healthpsych/wp-content/uploads/2006/02/muller-05-mediatingmoderation.pdf here].<br />
<br />
==Summary...==<br />
*If you have simple mediation (IV - M - DV), use this '''[http://www.comm.ohio-state.edu/ahayes/sobel.htm macro]'''.<br />
*If you have more than one mediator, use this '''[http://www.comm.ohio-state.edu/ahayes/SPSS%20programs/indirect.htm macro]'''.<br />
*If you have more than one IV, use Structural Equation Modeling, or use this '''[http://www.comm.ohio-state.edu/ahayes/SPSS%20programs/indirect.htm macro]''', treating one of the IVs as the primary one and the others as covariates.<br />
*If you have more than one DV, use Structural Equation Modeling.<br />
*If you have a moderating variable, use this '''[http://www.comm.ohio-state.edu/ahayes/SPSS%20programs/modmed.htm macro]'''.<br />
<br />
<br />
<br />
<br />
<br />
<br />
----<br />
◄ Back to [[Research_Tools |Research Tools mainpage]]</div>Lisasmurf