using-counterfactual-statistics
БесплатноБез исполняемых скриптовНе проверенUse when paired or branched ML experiments need uncertainty estimates, grouped splits, selection-bias controls, power analysis, or abstention calibration.
от tachyon-beep★ 16 звёзд на GitHubОб этом скилле
Counterfactual Statistics
Use this contract for the concrete task. Apply a short relevant check for a small change; expand investigation when the failure, risk or requested artifact warrants it. Resolve facts from the repository and runtime before imposing a process. Delegation is optional and should answer a bounded unresolved question.
Experiment contract
- Name the independent generating unit and the estimand before counting observations. Branches, checkpoints and repeated decisions from one run are dependent measurements.
- Record what matching preserves: starting state, future data, augmentation and RNG streams. Matching improves precision; it does not create independent runs.
- Separate data used to construct candidates, select winners, calibrate admission and report results. Split whole generating units; record any cross-fitting scheme.
- Define the no-intervention comparator and cost accounting. A zero-anchored utility is useful when doing nothing is an available decision; do not impose it on unrelated estimands.
- Choose endpoints, horizons, exclusions, testing family and stopping rules before confirmatory data is inspected. Label subsequent changes exploratory.
- Size the design using unit-level variance and a practically meaningful effect. Report uncertainty in pilot variance, not a fleet size inferred from a selected winner.
Evidence and output
Produce a compact analysis plan or result containing the unit count, pairing/split contract, estimand, selection history, analysis assumptions, interval and limitations. Include practical effect, cost and failures/abstentions where relevant. Store null and negative results. Aggregate or model clustering explicitly; a paired test alone does not correct correlated rows.
A clean audit is valid when the relevant checks are supported by evidence. Distinguish a confirmed defect, a robustness concern and a check that could not be assessed. Never infer that a pipeline is defective because no finding was produced.
Fault-specific references
- Inflated
nor unexpectedly tight intervals:statistical-units-and-clustering.md, thenpaired-comparison-methods.md. - Pairing loses its variance benefit:
common-random-numbers-and-matching.md; inspect stream alignment before buying more compute. - A screening winner fails to replicate:
selection-bias-and-best-of-k.mdandgrouped-splits-and-leakage.md. - An admission gate rarely acts or makes expensive mistakes:
abstention-and-calibration.mdandeffect-sizes-and-cost-charged-utility.md. - Many endpoints, repeated looks or a selected horizon: use the matching inference sheet below.
General product experiments and observational causal inference require an appropriate design beyond this pack's paired-branch scope. Replay mechanics belong to determinism/replay; topology-specific baseline selection belongs to morphogenetic RL.
Optional references
All sheets below are in this directory. Choose a sheet because its checks or examples help the task; there is no requirement to read the catalog in sequence. Verify time-sensitive APIs and numerical/performance claims before relying on examples.
- abstention and calibration
- anti pattern catalogue
- common random numbers and matching
- effect sizes and cost charged utility
- frontier and reliability reporting
- grouped splits and leakage
- horizon choice and divergence noise
- multiple comparisons and sequential testing
- paired comparison methods
- power and sample size for paired designs
- preregistration and exploratory vs confirmatory
- selection bias and best of k
- statistical units and clustering
Установить using-counterfactual-statistics в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл using-counterfactual-statistics?
Use when paired or branched ML experiments need uncertainty estimates, grouped splits, selection-bias controls, power analysis, or abstention calibration.
Как установить скилл using-counterfactual-statistics?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл using-counterfactual-statistics запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic