贝叶斯概率
R包
计算机科学
人工智能
程序设计语言
作者
Paul‐Christian Bürkner
出处
期刊:R Journal
[The R Foundation]
日期:2018-01-01
卷期号:10 (1): 395-395
被引量:2519
摘要
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.Stan comes with its own programming language, allowing for great modeling flexibility (Stan Development Team, 2017c;Carpenter et al., 2017).Many researchers may still be hesitant to use Stan directly, as every model has to be written, debugged, and possibly also optimized, which may be a time-consuming and error-prone process even for researchers familiar with Bayesian inference.The brms package (Bürkner, 2017) presented in this paper aims to remove these hurdles for a wide range of regression models by allowing the user to benefit from the merits of Stan by using extended lme4-like formula syntax (Bates et al., 2015), with which many R users are familiar.The brms package offers much more than writing efficient and human-readable Stan code.It comes with many post-processing
科研通智能强力驱动
Strongly Powered by AbleSci AI