Advanced Bayesian Multilevel Modeling with the R Package brms
Paul-Christian Bürkner
, The R Journal (2018) 10:1, pages 395-411.
Abstract The brms package allows R users to easily specify a wide range of Bayesian single-level and multilevel models which are fit with the probabilistic programming language Stan behind the scenes. Several response distributions are supported, of which all parameters (e.g., location, scale, and shape) can be predicted. Non-linear relationships may be specified using non-linear predictor terms or semi-parametric approaches such as splines or Gaussian processes. Multivariate models can be fit as well. To make all of these modeling options possible in a multilevel framework, brms provides an intuitive and powerful formula syntax, which extends the well known formula syntax of lme4. The purpose of the present paper is to introduce this syntax in detail and to demonstrate its usefulness with four examples, each showing relevant aspects of the syntax.
Received: 2017-10-01; online 2018-05-18@article{RJ-2018-017, author = {Paul-Christian Bürkner}, title = {{Advanced Bayesian Multilevel Modeling with the R Package brms}}, year = {2018}, journal = {{The R Journal}}, doi = {10.32614/RJ-2018-017}, url = {https://doi.org/10.32614/RJ-2018-017}, pages = {395--411}, volume = {10}, number = {1} }