In this paper, we develop generalized hierarchical Bayesian ANOVA, to assist exper- imental 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 sam- ples 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.
Dong, C., & Wedel, M. (2017). BANOVA : An R Package for Hierarchical Bayesian ANOVA . Journal of Statistical Software, 81(9). https://doi.org/10.18637/jss.v081.i09