# Stan Bayesian Modeling

> Stan Bayesian Modeling is an Agent Skill for general use published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Stan probabilistic programming for Bayesian inference

- Skill name: `stan-bayesian-modeling`
- Category: [Others](https://www.openparable.com/skill/others/1)
- Source: https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/domains/science/mathematics/skills/stan-bayesian-modeling/SKILL.md
- Repository: a5c-ai/babysitter (1,548 GitHub stars when collected)

## SKILL.md

# Stan Bayesian Modeling

## Purpose

Provides Stan probabilistic programming capabilities for Bayesian inference and statistical modeling.

## Capabilities

- Stan model specification
- MCMC sampling (NUTS, HMC)
- Variational inference
- Prior predictive checks
- Posterior predictive checks
- Model comparison (LOO-CV, WAIC)

## Usage Guidelines

1. **Model Specification**: Write Stan code with clear blocks
2. **Prior Selection**: Choose appropriate, weakly informative priors
3. **Diagnostics**: Check Rhat, ESS, and divergences
4. **Model Comparison**: Use LOO-CV for model selection

## Tools/Libraries

- Stan
- CmdStan
- RStan
- PyStan

---

Source: https://www.openparable.com/skill/others/stan-bayesian-modeling (OpenParable). Cite the canonical URL above.
