Statistical model audit
Skill Nicowyn/paper-audit-skills/.agents/skills/statistical-model-audit
Audit statistical model choice, assumptions, diagnostics, uncertainty, and interpretation in economics, statistics, and empirical social-science papers. Use for OLS and GLMs, discrete or count outcomes, survival and multilevel models, panel and time-series models, Bayesian analyses, meta-analysis, prediction, missing-data procedures, simulations, and claims that depend on model specification rather than a named causal design.From its SKILL.md
npx -y skills add Nicowyn/paper-audit-skills --skill statistical-model-auditAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 24 days oldThe repository was created 24 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.5 KB, 781 tokens by cl100k_base, as published. Nobody here has run it
Statistical Model Audit
Assess whether the model, uncertainty calculation, and diagnostics support the reported claim. Do not treat a familiar estimator or a passed diagnostic as proof that assumptions hold.
Workflow
- Write the target quantity before reading coefficient signs: outcome, population, unit, time horizon, conditioning set, scale, and whether the goal is description, prediction, association, or causation.
- Reconstruct the analysis data structure: observation unit, repeated measures, clusters, weights, censoring or truncation, sampling stages, missingness, and effective sample for each model.
- Match the outcome support and data-generating structure to the likelihood, link, loss, or estimating equation. Record why the chosen family is appropriate and which alternatives remain plausible.
- Reconstruct all preprocessing that can change the estimand or uncertainty: exclusions, transformations, winsorization, feature selection, imputation, lag construction, aggregation, and tuning.
- State each material assumption and classify it as design-supported, empirically probed, externally justified, or untested. Use references/model-families.md for family-specific checks.
- Verify uncertainty and tests: dependence structure, variance estimator, degrees of freedom, finite-sample correction, multiplicity, prior sensitivity, model selection, and repeated use of the data. Use references/inference-and-diagnostics.md.
- Inspect diagnostics on the scale relevant to the claim. A residual plot, goodness-of-fit statistic, pre-test, or convergence message can reveal a problem but cannot establish every identifying or distributional assumption.
- Run specification and sensitivity checks that target the most consequential assumption. Prefer a small number of pre-justified alternatives over an unstructured specification search.
- Compare the conclusion with the model output on its actual scale. Check nonlinear transformations, interactions, marginal effects, subgroup claims, extrapolation, predictive calibration, and uncertainty propagation.
- Report the smallest supported conclusion, unresolved assumptions, and the result that changes under a defensible alternative.
Routing
- Use
$statistical-consistency-auditfor deterministic arithmetic, intervals, reported test statistics, and rounding. - Use
$table-data-consistency-auditto trace model rows to generated artifacts, code, variables, and samples. - Use
$causal-claims-auditwhen the claim depends on treatment assignment or a named causal design. - Use
$argument-logic-auditwhen the numerical model may be correct but the premise-to-conclusion step is unsupported. - Use
$reproducibility-auditonly when the target can be executed with the required artifacts. If invoked by$social-science-paper-audit, return the model assessment without calling the orchestrator again.
Output
For each model, record:
- claim, estimand or predictive target, and interpretation scale;
- data structure, model family, specification, and analysis sample;
- material assumptions and how each was assessed;
- uncertainty method, diagnostics, and sensitivity checks actually run;
- discrepancies between tables, code, and narrative;
- supported conclusion, impact, alternatives, and evidence needed to resolve uncertainty.
Classify a deterministic displayed contradiction as verified_reporting_error, a model or inference failure as identification_or_method_issue, an unsupported reasoning step as logic_or_argument_issue, and a signal requiring unavailable information as unresolved_anomaly. None of these classifications establishes intent.
Stop conditions
- Do not infer causation from model adjustment alone.
- Do not infer equivalence from a non-significant test.
- Do not interpret a coefficient without checking its link, transformation, interaction, and reference category.
- Do not call a model robust because one diagnostic or one alternative specification passed.
- Do not call an analysis reproduced unless a named output was regenerated and compared.
What ships with it: 3 files
7.2 KB alongside SKILL.md
agents/
- openai.yaml288 B
references/
- inference-and-diagnostics.md2.4 KB
- model-families.md4.5 KB