brms
2.23.0Bayesian Regression Models using 'Stan'
Overview
Fit Bayesian generalized (non-)linear multivariate multilevel models using 'Stan' for full Bayesian inference. A wide range of distributions and link functions are supported, allowing users to fit -- among others -- linear, robust linear, count data, survival, response times, ordinal, zero-inflated, hurdle, and even self-defined mixture models all in a multilevel context. Further modeling options include both theory-driven and data-driven non-linear terms, auto-correlation structures, censoring and truncation, meta-analytic standard errors, and quite a few more. In addition, all parameters of the response distribution can be predicted in order to perform distributional regression. Prior specifications are flexible and explicitly encourage users to apply prior distributions that actually reflect their prior knowledge. Models can easily be evaluated and compared using several methods assessing posterior or prior predictions. References: Bürkner (2017) doi:10.18637/jss.v080.i01; Bürkner (2018) doi:10.32614/RJ-2018-017; Bürkner (2021) doi:10.18637/jss.v100.i05; Carpenter et al. (2017) doi:10.18637/jss.v076.i01.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE2026-07-1112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-2713 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-06-1412 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 2 earlier snapshots
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-03-1011 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 21%
- Documented parameters
- 97%
- Return-value docs
- 68%
- References docs
- 8%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
6 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/paul-buerkner/brms on 2026-07-19.
Show all practices
Dependencies
and 38 more packages.
Code & Tests
- Cyclomatic complexity
- 1.0 median / 112 max
- Test cases
- 352 / 0.20 per code line
- System requirements
- 1 external
Test coverage
Line coverage
81%
Expression
80.6%
Tests / Examples
81.4% / – ex
Functions
1819 260 exported
Complexity
3.2 avg / 112 max
Call network
1819 nodes / 5274 edges
Call graph
Open call graph →Lowest coverage
1819 functions| Function | Cyclo | Coverage |
|---|---|---|
| add_ic exp | 1 | 0% |
| add_ic<- exp | 1 | 0% |
| add_loo exp | 2 | 0% |
| add_rstan_model exp | 3 | 0% |
| add_waic exp | 2 | 0% |
| brm_multiple exp | 18 | 0% |
Datasets
People & History
Show 10 more contributors
62 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 2.23.0Latest
- RR 4.5.0 released · 2025-04-11
- 2.22.02024-09-23 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 2.21.02024-03-20 · diff ↗
- 2.20.42023-09-25 · diff ↗
- 2.20.32023-09-15 · diff ↗
- 2.20.12023-08-14 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 2.19.02023-03-14 · diff ↗
- 2.18.02022-09-19 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 2.17.02022-04-13 · diff ↗
- 2.16.32021-11-22 · diff ↗
- 2.16.12021-08-23 · diff ↗
Show 58 earlier events
- 2.16.02021-08-19 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 2.15.02021-03-14 · diff ↗
- 2.14.42020-11-03 · diff ↗
- 2.14.02020-10-08 · diff ↗
- 2.13.52020-07-31 · diff ↗
- 2.13.32020-07-13 · diff ↗
- 2.13.02020-05-27 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 2.12.02020-02-23 · diff ↗
- 2.11.12020-01-19 · diff ↗
- 2.11.02020-01-12 · diff ↗
- 2.10.02019-08-29 · diff ↗
- 2.9.02019-05-23 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 2.8.02019-03-15 · diff ↗
- 2.7.02018-12-17 · diff ↗
- 2.6.02018-10-23 · diff ↗
- 2.5.02018-09-16 · diff ↗
- 2.4.02018-07-20 · diff ↗
- 2.3.12018-06-05 · diff ↗
- 2.3.02018-05-14 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 2.2.02018-04-13 · diff ↗
- 2.1.02018-01-23 · diff ↗
- 2.0.12017-12-21 · diff ↗
- 2.0.02017-12-15 · diff ↗
- 1.10.22017-10-20 · diff ↗
- 1.10.02017-09-09 · diff ↗
- 1.9.02017-08-15 · diff ↗
- 1.8.02017-07-20 · diff ↗
- 1.7.02017-05-23 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 1.6.12017-04-17 · diff ↗
- 1.6.02017-04-06 · diff ↗
- 1.5.12017-02-26 · diff ↗
- 1.5.02017-02-17 · diff ↗
- 1.4.02017-01-27 · diff ↗
- 1.3.12016-12-22 · diff ↗
- 1.3.02016-12-20 · diff ↗
- 1.2.02016-12-06 · diff ↗
- 1.1.02016-10-11 · diff ↗
- 1.0.12016-09-16 · diff ↗
- 1.0.02016-09-15 · diff ↗
- 0.10.02016-06-29 · diff ↗
- 0.9.12016-05-17 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 0.9.02016-04-19 · diff ↗
- 0.8.02016-02-15 · diff ↗
- 0.7.02016-01-18 · diff ↗
- 0.6.02015-11-14 · diff ↗
- 0.5.02015-09-13 · diff ↗
- 0.4.12015-08-03 · diff ↗
- 0.4.02015-07-23 · diff ↗
- 0.3.02015-06-29 · diff ↗
- 0.2.02015-05-27 · diff ↗
- 0.1.02015-05-08
- RR 3.2.0 released · 2015-04-16
Package metadata
- First published
- 2015-05-08
- Total releases
- 62 / 11 yrs
- License
- GPL-2 OSI
- Additional repositories
- stan-dev.r-universe.dev
- Minimum R
- ≥ 3.6.0
- Bundled data
- 5.3 KB / 4 files
- Download size
- 4.9 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet