top banner top banner

Search publications

A computational description of simple mediation analysis

Full text PDF
Bibliographic information: BibTEX format RIS format XML format APA style
Cited references information: BibTEX format APA style
Doi: 10.20982/tqmp.14.2.p147

Caron, Pier-Olivier , Valois, Philippe
Keywords: mediation analysis , indirect effect , power analysis
Tools: R
(no sample data)   (no appendix)

Simple mediation analysis is an increasingly popular statistical analysis in psychology and in other social sciences. However, there is very few detailed account of the computations within the model. Articles are more often focusing on explaining mediation analysis conceptually rather than mathematically. Thus, the purpose of the current paper is to introduce the computational modelling within simple mediation analysis accompanied with examples with R. Firstly, mediation analysis will be described. Then, the method to simulate data in R (with standardized coefficients) will be presented. Finally, the bootstrap method, the Sobel test and the Baron and Kenny test all used to evaluate mediation (i.e., indirect effect) will be developed. The R code to implement the computation presented is offered as well as a script to carry a power analysis and a complete example.

Pages © TQMP;
Website last modified: 2019-04-03.
Template last modified: 2019-03-03>.
Page consulted on .
Be informed of the upcoming issues with RSS feed: RSS icon RSS