Skip to content
Back to skills

Posterior Predictive Validation

ASecurity

Validate SNPE-style posterior recovery using parameter correlation, posterior predictive summary error, and mechanism checks.

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
testingpython

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill posterior_predictive_validation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Posterior Predictive Validation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Posterior Predictive Validation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-posterior-predictive-validation/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-posterior-predictive-validation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: posterior_predictive_validation
description: Validate SNPE-style posterior recovery using parameter correlation, posterior predictive summary error, and mechanism checks.
---

# Posterior Predictive Validation

Use this skill to decide whether a reduced or full simulation-based posterior recovery has exercised the paper mechanism. Do not accept proxy recovery from a metric alone; require mechanism checks.

## Inputs
- Posterior mean or posterior samples.
- True parameter if using synthetic data.
- Observed summary and posterior predictive summaries.
- Declared metric threshold and mechanism flags.

## Outputs
- Filter correlation metric.
- Posterior predictive summary error.
- Boolean mechanism checks.
- Acceptance decision with reasons.

## Workflow
1. Compute centered vector correlation between posterior mean and true parameter.
2. Compute average absolute summary error for posterior predictive summaries.
3. Verify required mechanism flags: simulator executed, summaries conditioned, posterior estimator fit, posterior samples generated, no likelihood evaluation, and no original repository use.
4. Accept only if metric, summary error, and mechanism checks pass.

## Validation
Run `python tests/test_validation.py` from this skill directory.

## Limitations
Correlation against synthetic ground truth is a reduced validation target; full paper validation would compare richer posterior distributions and biological traces.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…