Skip to content

brms

Bayesian Regression Models using 'Stan'

v2.23.0 · Sep 9, 2025 · GPL-2

Description

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>.

Downloads

30.4K

Last 30 days

667th

142.2K

Last 90 days

457.4K

Last year

Trend: -13.7% (30d vs prior 30d)

CRAN Check Status

3 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (6 non-OK)
NOTE r-oldrel-macos-arm64

installed package size

installed size is  9.2Mb
  sub-directories of 1Mb or more:
    R     4.1Mb
    doc   3.6Mb
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘cmdstanr’
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  9.1Mb
  sub-directories of 1Mb or more:
    R     4.0Mb
    doc   3.6Mb
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘cmdstanr’
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  8.8Mb
  sub-directories of 1Mb or more:
    R     3.8Mb
    doc   3.6Mb
NOTE r-oldrel-windows-x86_64

package dependencies

Package suggested but not available for checking: 'cmdstanr'

Check History

NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘cmdstanr’
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘cmdstanr’
NOTE r-oldrel-windows-x86_64

package dependencies

Package suggested but not available for checking: 'cmdstanr'

Reverse Dependencies (72)

Dependency Network

Dependencies Reverse dependencies Rcpp rstan ggplot2 loo posterior Matrix mgcv rstantools bayesplot bridgesampling (>= 0.3-0) glue rlang future future.apply matrixStats +5 more dependencies bayesian bayesnec hbsaems hmetad multimedia neodistr ordbetareg EconCausal IJSE OncoBayes2 PoolTestR RStanTVA bayesDiagnostics bmm bonsaiforest +57 more reverse deps brms

Version History

new 2.23.0 Mar 10, 2026
updated 2.23.0 ← 2.22.0 diff Sep 8, 2025
updated 2.22.0 ← 2.21.0 diff Sep 22, 2024
updated 2.21.0 ← 2.20.4 diff Mar 19, 2024
updated 2.20.4 ← 2.20.3 diff Sep 24, 2023
updated 2.20.3 ← 2.20.1 diff Sep 14, 2023
updated 2.20.1 ← 2.19.0 diff Aug 13, 2023
updated 2.19.0 ← 2.18.0 diff Mar 13, 2023
updated 2.18.0 ← 2.17.0 diff Sep 18, 2022
updated 2.17.0 ← 2.16.3 diff Apr 12, 2022
updated 2.16.3 ← 2.16.1 diff Nov 21, 2021
updated 2.16.1 ← 2.16.0 diff Aug 22, 2021
updated 2.16.0 ← 2.15.0 diff Aug 18, 2021
updated 2.15.0 ← 2.14.4 diff Mar 13, 2021
updated 2.14.4 ← 2.14.0 diff Nov 2, 2020
updated 2.14.0 ← 2.13.5 diff Oct 7, 2020
updated 2.13.5 ← 2.13.3 diff Jul 30, 2020
updated 2.13.3 ← 2.13.0 diff Jul 12, 2020
updated 2.13.0 ← 2.12.0 diff May 26, 2020
updated 2.12.0 ← 2.11.1 diff Feb 22, 2020