Simulation code for the manuscript Permutation Based Methods for Mediation Analysis in Studies with Small Sample Sizes
This file contains the function for simulating data and testing for mediation using the proposed permtuation approaches, as well as the standard permutation approach and bootstrap methods.
This file contains supplementary functions used in the mediationTestPermMethods.R file
This file runs simulations for a specified condition
Example results file from simulations
This file loads results from the simulations.
This file summarizes simulation results