Compare various bootstrap methods for mediation analysis on simulated data.
The default settings follow the simulation design of Zu & Yuan (2010). You can adjust the total number of observations, the values of the coefficients in the mediation model, the number of outliers, as well as the expected distance of the outliers from the main point cloud.
As this simulation is just for illustration, the bootstrap procedures use only 1000 replicates. For each selected methods, the bootstrap distribution of the indirect effect is shown together with a shaded area representing the 95% confidence interval.
1 2 3 4
## Not run: run_shiny_app() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.