CANlab MediationToolbox

https://github.com/canlab/MediationToolb...
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.

Specifications

License:
Domain: