Journal of Statistical Software (Nov 2017)

BANOVA: An R Package for Hierarchical Bayesian ANOVA

  • Chen Dong,
  • Michel Wedel

DOI
https://doi.org/10.18637/jss.v081.i09
Journal volume & issue
Vol. 81, no. 1
pp. 1 – 46

Abstract

Read online

In this paper, we develop generalized hierarchical Bayesian ANOVA, to assist experimental researchers in the behavioral and social sciences in the analysis of experiments with within- and between-subjects factors. The method alleviates several limitations of classical ANOVA, still commonly employed in those fields of research. An accompanying R Package for BANOVA is developed. It offers statistical routines and several easy-to-use functions for estimation of hierarchical Bayesian ANOVA models that are tailored to the analysis of experimental research. MCMC simulation is used to simulate posterior samples of the parameters of each model specified by the user. The core program is written in R and JAGS. After preparing the data in the required format, users simply select an appropriate model, and can estimate it without any advanced coding being required. The main aim of the R package is to offer freely accessible resources for hierarchical Bayesian ANOVA analysis, which makes it easy to use for applied researchers.

Keywords