brms is an R package by Paul Bürkner which provides a high-level interface for fitting Bayesian multilevel (i.e. mixed effects) models, generalized linear / non-linear / multivariate models using Stan as the backend. It allows R users to specify complex Bayesian models using formula syntax similar to lme4 but with far more flexibility (distributions, link functions, hierarchical structure, nonlinear terms, etc.). It supports model diagnostics, posterior predictive checking, model comparison, custom priors, and advanced features such as distributional regression.

Features

  • Supports a very wide range of distributions and link functions: linear, robust linear, count, ordinal, survival, response times, zero-inflated, hurdle, mixture models etc.
  • Multilevel / hierarchical models: grouping factors, random effects etc.
  • Nonlinear and smooth terms (nonlinear modeling) and autocorrelation / time series structures etcetera
  • Flexible prior specification for all parts of the model (including custom priors)
  • Model diagnostics and model comparison: posterior predictive checks, leave-one-out cross-validation (LOO), comparison of fits etc.
  • Ability to work with user-specified covariance structures, meta-analytic standard errors, censoring/truncation etc.

Project Samples

Project Activity

See All Activity >

License

GNU General Public License version 3.0 (GPLv3)

Follow brms

brms Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of brms!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

R

Related Categories

R Data Visualization Software

Registered

2025-09-12