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
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Get Started 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