Learn R Programming

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

Version

Install

install.packages('BayesMed')

Monthly Downloads

7

Version

1.0.1

License

GPL-2

Maintainer

Michele B Nuijten

Last Published

February 5th, 2015

Functions in BayesMed (1.0.1)

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

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