Bayesian Inference for R

•
1.9k
•

Performs advanced Bayesian modeling and causal inference in R using brms, DAG validation, and multilevel analysis.

This skill provides a comprehensive framework for conducting rigorous Bayesian analysis within the R environment. It enables Claude to assist with the entire research pipeline, from defining and validating Causal Directed Acyclic Graphs (DAGs) using dagitty to fitting complex multilevel and longitudinal models with brms. The skill emphasizes best practices like within-person centering for panel data, explicit prior specification, and the calculation of interpretable marginal effects. Designed for social scientists and data analysts, it ensures that Bayesian workflows are statistically sound, reproducible, and aligned with modern empirical research standards.

主な機能

01Post-estimation analysis via marginaleffects for interpretable probability scales
02Sophisticated Bayesian regression modeling with brms and cmdstanr backends
03Automated within-person centering and lagged predictor patterns for longitudinal data
04Comprehensive MCMC diagnostics and posterior predictive checks for model reliability
051,857 GitHub stars
06Causal DAG definition, visualization, and empirical validation using dagitty and ggdag

ユースケース

01Analyzing nested or hierarchical data structures using Bayesian multilevel models
02Interpreting complex non-linear effects through posterior probability of direction and marginal slopes
03Validating causal assumptions and identifying adjustment sets in empirical research