What problem does it solve?
This Skill helps you design, fit, and interpret Bayesian regression workflows in R with brms by guiding Bayesian model setup, causal DAG validation, and effect interpretation.
Core Features & Use Cases
- Bayesian regression with brms: Fit multilevel models with explicit priors, appropriate families, and Stan/CmdStanR backends.
- Causal DAG support: Build and validate directed acyclic graphs using dagitty/ggdag and local conditional-independence tests.
- Interpretable Bayesian inference: Extract posterior draws and compute odds/credible effects, posterior probability of direction, and posterior predictive checks.
- Marginal effects & visualization: Use marginaleffects to compute AMEs and generate response-scale marginal effect plots with uncertainty.
- Multilevel & longitudinal modeling patterns: Support random intercepts/slopes, crossed effects, person-mean centering, and lagged predictors for temporal precedence.
Quick Start
Use the r-bayes skill to fit a brms multilevel model from your prepared dataset and then compute response-scale marginal effects and posterior diagnostics.