Statistical Inference Foundations
SkillAI & modelsLets your agent assess statistical evidence with sound methods for uncertainty, power, and calibration.
Available today. Use it from your connected AI after setup.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the Statistical Inference Foundations skill
About this skill
Assesses statistical evidence. Use when choosing sampling uncertainty, power, multiplicity, sequential inference, calibration, or predictive coverage methods.
What this skill tells your AI
The instructions your AI receives, as published by vasilyu1983/ai-agents-public in frameworks/shared-skills/skills/foundations-statistical-inference/SKILL.md and read by ahel’s review.
Turn observations into appropriately bounded claims. A numerical estimate is incomplete without its population, estimand, sampling mechanism, independent unit, uncertainty, and assumptions.
Triggers: sampling uncertainty, confidence or credible intervals, effect-size precision, statistical power, multiple comparisons, optional stopping, Bayesian inference, predictive calibration, or conformal prediction.
Use measurement theory for whether the instrument measures the intended construct, causal inference for identification of intervention effects, and decision theory for choosing actions given uncertainty. This skill owns inference contracts; applied evaluation workflows remain with ai-evals. Do not create causal claims from statistical significance.
Quick Reference
| Need | Load |
|---|---|
| Population, estimator, confidence or credible interval | Sampling and estimation |
| Precision, selection, repeated looks | Design and sequential inference |
| Forecast uncertainty or conformal threshold | Predictive calibration |
Workflow
- Define the target population, estimand, units, time window, data provenance, selection/missingness mechanism, and independent sampling or randomization unit. Count users or clusters when runs are dependent; repeated outputs are not automatically independent evidence.
- Read sampling and estimation for descriptive, frequentist, or Bayesian inference. Select a method that matches dependence, outcome support, and available sample size. State modeling choices before interpreting results.
- Read design and sequential inference when power, multiple hypotheses, stopping, or repeated comparisons matter. Declare the hypothesis family, minimum meaningful effect, and stopping rule. Separate exploration from confirmatory claims.
- Read predictive calibration for predictive intervals, probabilistic forecasts, or conformal sets. Check training/calibration separation and exchangeability before claiming marginal coverage.
- Produce an inference report, adapting its detail to the request. Report effect magnitude, uncertainty, assumptions, diagnostics, and what the analysis cannot establish. A null result can be imprecise; equivalence needs an explicit margin and appropriate test or interval.
Interpretation constraints
- A p-value is not the probability a hypothesis is true; significance does not measure effect magnitude or practical importance [ASA2016].
- A frequentist confidence interval has repeated-sampling coverage under its assumptions. A Bayesian credible interval is posterior probability conditional on the model and prior; neither automatically covers future observations.
- More samples reduce sampling error under the model; they do not repair selection bias, invalid measurement, leakage, or dependence.
- Ordinary fixed-horizon intervals are not generally valid after data-dependent repeated stopping. Anytime-valid methods require their own null, filtration, and process assumptions [Ramdas2023].
- Conformal coverage is marginal over calibration and future observations under exchangeability. It does not ensure every group or individual has nominal coverage [AngelopoulosBates2022].
- Do not translate a standardized effect size into a conversion multiplier without the outcome model and baseline needed for that conversion.
Helper
Use split_conformal_quantile.py only to compute the finite-sample score threshold. It uses exact rational arithmetic from JSON decimal literals and an inclusive score cutoff. It cannot inspect exchangeability or certify empirical coverage. Full input/output and examples are in predictive calibration.
Run its independently specified tests with python3 scripts/test_split_conformal_quantile.py from this bundle. The test suite is test_split_conformal_quantile.py.
Completion criteria
The report names population, estimand, independent unit, method, assumptions, uncertainty, multiplicity/stopping policy, missing evidence, and supported interpretation. Any numerical helper result is reproducible from supplied inputs. Disclose exploratory or model-conditional conclusions and avoid treating structural validation as demonstrated agent performance.
Fact-Checking
Verify the assumptions and precise theorem used against the primary source before asserting a guarantee. Treat worked values as illustrative examples; they are not empirical effect estimates. Record method versions or implementation choices when they affect reproducibility.
Navigation
- Sampling and estimation: inferential targets and interval interpretation.
- Design and sequential inference: precision, multiplicity, and stopping.
- Predictive calibration: coverage assumptions and full helper interface.
- Inference report: output template.
Source IDs above resolve to dated primary records in sources.json. Scope cutoff: 17 September 2026; no claim of exhaustive coverage of all research through that date.
Related: causal inference, decision theory, AI evaluations.
Signals
- GitHub stars
- 88
- Forks
- 19
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Key
foundations-statistical-inference- Source
- github.com/vasilyu1983/ai-agents-public