RDocumentation
Moon
Learn R
Search all packages and functions
BayesMed (version 1.0.1)
Default Bayesian Hypothesis Tests for Correlation, Partial Correlation, and Mediation
Description
Default Bayesian hypothesis tests for correlation, partial correlation, and mediation
Copy Link
Copy
Link to current version
Version
Version
1.0.1
Down Chevron
Install
install.packages('BayesMed')
Monthly Downloads
22
Version
1.0.1
License
GPL-2
Maintainer
Michele B Nuijten
Last Published
February 5th, 2015
Functions in BayesMed (1.0.1)
Search functions
jzs_medSD
Perform a default Bayesian hypothesis test for mediation using the Savage-Dickey method.
BayesMed
A default Bayesian hypothesis test for mediation, correlation, and partial correlation.
jzs_partcorSD
A default Bayesian hypothesis test for partial correlation using the Savage-Dickey method.
jzs_cor
A default Bayesian hypothesis test for correlation (Wetzels, R., & Wagenmakers).
jzs_partcor
A default Bayesian hypothesis test for partial correlation (Wetzels, R., & Wagenmakers).
jzs_corSD
A default Bayesian hypothesis test for correlation using the Savage-Dickey method.
Firefighters
Data from a study of health promotion of firefighters
jzs_med
Perform a default Bayesian hypothesis test for mediation.
plot.JZSMed
Display the results of
jzs_med
in a figure.
print.jzs_med
Print jzs_med output.
plot.CI
Plot the posterior distribution of the indirect effect alpha*beta
plot.rjags
Plot the chains of the JAGS samples