Mcmc Diagnostics
Testing & Qualitymcmc-diagnosticsMcmc Diagnostics is an Agent Skill for testing & quality published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
MCMC convergence diagnostics and analysis
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/domains/science/mathematics/skills/mcmc-diagnostics/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/mcmc-diagnostics, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
MCMC Diagnostics
Purpose
Provides MCMC convergence diagnostics and analysis capabilities for validating Bayesian inference results.
Capabilities
- Rhat (potential scale reduction) computation
- Effective sample size (ESS) calculation
- Trace plot generation
- Autocorrelation analysis
- Divergence detection
- Energy diagnostic (E-BFMI)
Usage Guidelines
- Convergence Check: Verify Rhat < 1.01 for all parameters
- Sample Quality: Ensure ESS is sufficient for inference
- Visual Inspection: Review trace plots for mixing
- Divergences: Address divergent transitions
Tools/Libraries
- ArviZ
- CODA
- MCMCpack