Default Bayesian Hypothesis Tests for Correlation, Partial Correlation, and Mediation


[Up] [Top]

Documentation for package ‘BayesMed’ version 1.0.1

Help Pages

BayesMed A default Bayesian hypothesis test for mediation, correlation, and partial correlation.
Firefighters Data from a study of health promotion of firefighters
jzs_cor A default Bayesian hypothesis test for correlation (Wetzels, R., & Wagenmakers).
jzs_corSD A default Bayesian hypothesis test for correlation using the Savage-Dickey method.
jzs_med Perform a default Bayesian hypothesis test for mediation.
jzs_medSD Perform a default Bayesian hypothesis test for mediation using the Savage-Dickey method.
jzs_partcor A default Bayesian hypothesis test for partial correlation (Wetzels, R., & Wagenmakers).
jzs_partcorSD A default Bayesian hypothesis test for partial correlation using the Savage-Dickey method.
plot.CI Plot the posterior distribution of the indirect effect alpha*beta
plot.JZSMed Display the results of 'jzs_med' in a figure.
plot.rjags Plot the chains of the JAGS samples
print.jzs_med Print jzs_med output.