본문으로 건너뛰기
cccskills
무료GitHub에 공개

foundations-statistical-inference

Tests whether data supports a claim: A/B significance, peeking, sample size, eval error bars, multiple comparisons. Use when deciding if results are significant.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(14)

  • SKILL.md8.3 KB
  • agents/openai.yaml348 B
  • assets/templates/inference-report.md837 B
  • data/sources.json12.0 KB
  • references/ab-test-craft.md7.7 KB
  • references/conformal-variants.md4.3 KB
  • references/design-and-sequential.md3.3 KB
  • references/eval-error-bars.md5.0 KB
  • references/judge-assisted-inference.md6.0 KB
  • references/multiplicity-procedures.md3.8 KB
  • references/predictive-calibration.md3.4 KB
  • references/sampling-and-estimation.md3.9 KB
  • scripts/split_conformal_quantile.py2.7 KB
  • scripts/test_split_conformal_quantile.py3.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Statistical Inference Foundations

Turn observations into appropriately bounded claims. A numerical estimate is incomplete without its population, estimand, sampling mechanism, independent unit, uncertainty, and assumptions.

Triggers: "is this A/B test uplift significant or noise", "can we stop the experiment early / we peeked daily", "how many users or eval items do we need", "error bars on eval or benchmark scores", "is model B really better than A", "CI for pass rate graded by an LLM judge", "we tested 20 metrics", sample-ratio mismatch, CUPED, ratio metrics, confidence or credible intervals, calibration, 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

NeedLoad
Population, estimator, confidence or credible intervalSampling and estimation
Precision, selection, repeated looksDesign and sequential inference
Forecast uncertainty or conformal thresholdPredictive calibration
A/B test validity (SRM), CUPED, ratio metrics, peeking, sequential stoppingA/B test craft
Holm vs BH vs BY; FWER vs FDRMultiplicity procedures
Eval scores: clustered SE, paired model comparison, eval sizeEval error bars
LLM-judge labels plus a small human gold setJudge-assisted inference (PPI/PPI++)
CQR, per-group, covariate-shift, drift, or risk-control conformalConformal variants

Workflow

  1. 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.
  2. 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.
    • Most labels come from an LLM judge or classifier: read judge-assisted inference; a judge-only mean is not an estimate of the human-label quantity.
    • Eval or benchmark scores, or model A vs B on shared items: read eval error bars; pair, and cluster related items.
  3. 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.
    • Online experiment: run the SRM and unit checks in A/B test craft before reading any effect, and pick fixed-horizon, group-sequential, or always-valid stopping before launch.
    • More than one hypothesis: pick FWER or FDR and the procedure in multiplicity procedures.
  4. Read predictive calibration for predictive intervals, probabilistic forecasts, or conformal sets. Check training/calibration separation and exchangeability before claiming marginal coverage. For per-group coverage, drift, covariate shift, or an error-rate target (abstention), choose from conformal variants.
  5. 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.
  • Correlated voters are fewer votes than they count. For a panel of judges, reviewers, or refuters, estimate the effective number of independent votes from their pairwise error correlation (the design-effect logic of [Kish1965]) before crediting agreement as confirmation. An abstract-level 2026 report on LLM judge panels found several judges from several model families worth far fewer effective votes, with the best single judge matching the panel [JudgePanelEffectiveVotes2026, unreplicated]. Stop adding voters when the effective number stops rising; change the evidence source instead.

Helper

split_conformal_quantile.py computes only the exact finite-sample split-conformal threshold; it cannot check exchangeability or certify coverage. Interface in predictive calibration; tests: python3 scripts/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.

Verification Notes

Verify the precise theorem and assumptions against the primary source before asserting a guarantee. Worked values in the references are illustrative re-derivations, not empirical effect estimates; re-check package versions (ppi-python, MAPIE) before quoting them.

Navigation

Source IDs above resolve to dated primary records in sources.json. No claim of exhaustive coverage of the research literature.

Related: causal inference, decision theory, AI evaluations.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Configures Claude Code hooks and Codex hooks.json/notify. Use when adding PreToolUse guards, Stop hooks, managed hooks, format-on-save, preflight, audits, or worktree/budget hooks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vasilyu1983/AI-Agents-public1012026년 10월 16일 업데이트

Configures and hardens Claude Code and Codex MCP servers. Use when connecting databases, APIs, SaaS, building servers, or serving a clearance-filtered knowledge base.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vasilyu1983/AI-Agents-public1012026년 10월 16일 업데이트

Owns instruction files: AGENTS.md, CLAUDE.md, personal and repo rules. Use when writing, pruning, auditing them, sharing rules across Claude and Codex, or fixing ignored rules.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vasilyu1983/AI-Agents-public1012026년 10월 16일 업데이트

Creates and audits agent skills: SKILL.md, references, scripts, runtime metadata. Use when writing, validating, or security-reviewing a skill, or fixing truncated skill listings.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vasilyu1983/AI-Agents-public1012026년 10월 16일 업데이트

Adds per-skill learnings loops for dated patterns, mistakes, and domain facts. Use when wiring skill memory, consolidation, or drift audits.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vasilyu1983/AI-Agents-public1012026년 10월 16일 업데이트

Chooses subagent, team, workflow, or debate and launches it on Claude Code or Codex. Use when delegating, running agent review boards, or installing shared agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vasilyu1983/AI-Agents-public1012026년 10월 16일 업데이트

vasilyu1983의 스킬 모두 보기

이 스킬의 문제 신고