MediationToolbox

Version 1.0.0 (69.3 MB) by Tor Wager
Single-level and multi-level mediation analyses for any kind of data, with bootstrap-based significance testing.
590 Downloads
Updated 14 Mar 2024

This toolbox contains functions to aid in single- and multi-level mediation analyses of any kind of data. The main function, mediation.m, examines 3 timeseries to determine if one of them acts as a mediator between the other two. Works for both single-level and multi-level (multiple subjects/observations) data. There is a brain imaging specific mediation search function that takes two variables and searches functional MRI data for potential mediators. The toolbox also includes visualization and plotting functions for mediation analyses, and various computational support functions.

The Mediation_walkthrough folder contains a powerpoint presentation with a step-by-step example single-level mediation analysis of example brain data. See https://canlab.github.io/walkthroughs/ for more examples.

Cite As

Tor Wager (2024). MediationToolbox (https://github.com/canlab/MediationToolbox), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on MRI in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Mediation_walkthrough/older

PDM_toolbox

geom2d

mediation_toolbox

mediation_toolbox/Boot_samples_needed_fcns

mediation_toolbox/verification

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.