OpenParable
Skip to content
← Back to skills

Mcmc Diagnostics

Testing & Quality
mcmc-diagnostics

Mcmc 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

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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

  1. Convergence Check: Verify Rhat < 1.01 for all parameters
  2. Sample Quality: Ensure ESS is sufficient for inference
  3. Visual Inspection: Review trace plots for mixing
  4. Divergences: Address divergent transitions

Tools/Libraries

  • ArviZ
  • CODA
  • MCMCpack