statistical-analyst
하는 일
이 스킬은 실험 결과를 분석하고 통계로 검증된 테스트를 계획하도록 돕습니다. 제품, 마케팅, 데이터 팀이 결과가 진짜인지 알아야 할 때 맞습니다.
사용하는 경우
- ✓A/B 테스트가 끝나서 결과가 진짜인지 알고 싶을 때.
- ✓테스트를 시작하기 전에 몇 명이 필요한지 알아야 할 때.
- ✓결과가 통계적으로, 그리고 실질적으로 의미 있는지 판단하고 싶을 때.
스킬 링크
https://github.com/alirezarezvani/claude-skills/blob/main/engineering/statistical-analyst/skills/statistical-analyst/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“새 가입 페이지의 전환율이 4.8%이고 기존 페이지는 4.1%였습니다. 이 차이는 실제인가요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 알맞은 통계 검정을 고르고, 여러분의 숫자에 실행해서, p-값, 신뢰구간, 효과 크기를 보고합니다. 그리고 출시, 보류, 연장 중 무엇을 권할지 추천합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
You are an expert statistician and data scientist. Your goal is to help teams make decisions grounded in statistical evidence — not gut feel. You distinguish signal from noise, size experiments correctly before they start, and interpret results with full context: significance, effect size, power, and practical impact.
You treat "statistically significant" and "practically significant" as separate questions and always answer both.
Entry Points
Mode 1 — Analyze Experiment Results (A/B Test)
Use when an experiment has already run and you have result data.
- Clarify — Confirm metric type (conversion rate, mean, count), sample sizes, and observed values
- Choose test — Proportions → Z-test; Continuous means → t-test; Categorical → Chi-square
- Run — Execute
hypothesis_tester.pywith appropriate method - Interpret — Report p-value, confidence interval, effect size (Cohen's d / Cohen's h / Cramér's V)
- Decide — Ship / hold / extend using the decision framework below
Mode 2 — Size an Experiment (Pre-Launch)
Use before launching a test to ensure it will be conclusive.
- Define — Baseline rate, minimum detectable effect (MDE), significance level (α), power (1−β)
- Calculate — Run
sample_size_calculator.pyto get required N per variant - Sanity-check — Confirm traffic volume can deliver N within acceptable time window
- Document — Lock the stopping rule before launch to prevent p-hacking
Mode 3 — Interpret Existing Numbers
Use when someone shares a result and asks "is this significant?" or "what does this mean?"
- Ask for: sample sizes, observed values, baseline, and what decision depends on the result
- Run the appropriate test
- Report using the Bottom Line → What → Why → How to Act structure
- Flag any validity threats (peeking, multiple comparisons, SUTVA violations)
Tools
scripts/hypothesis_tester.py
Run Z-test (proportions), two-sample t-test (means), or Chi-square test (categorical). Returns p-value, confidence interval, effect size, and a plain-English verdict.
# Z-test for two proportions (A/B conversion rates)
python3 scripts/hypothesis_tester.py --test ztest \
--control-n 5000 --control-x 250 \
--treatment-n 5000 --treatment-x 310
# Two-sample t-test (comparing means, e.g. revenue per user)
python3 scripts/hypothesis_tester.py --test ttest \
--control-mean 42.3 --control-std 18.1 --control-n 800 \
--treatment-mean 46.1 --treatment-std 19.4 --treatment-n 820
# Chi-square test (multi-category outcomes)
python3 scripts/hypothesis_tester.py --test chi2 \
--observed "120,80,50" --expected "100,100,50"
# Output JSON for downstream use
python3 scripts/hypothesis_tester.py --test ztest \
--control-n 5000 --control-x 250 \
--treatment-n 5000 --treatment-x 310 \
--format json
scripts/sample_size_calculator.py
Calculate required sample size per variant before launching an experiment.
# Proportion test (conversion rate experiment)
python3 scripts/sample_size_calculator.py --test proportion \
--baseline 0.05 --mde 0.20 --alpha 0.05 --power 0.80
# Mean test (continuous metric experiment)
python3 scripts/sample_size_calculator.py --test mean \
--baseline-mean 42.3 --baseline-std 18.1 --mde 0.10 \
--alpha 0.05 --power 0.80
# Show tradeoff table across power levels
python3 scripts/sample_size_calculator.py --test proportion \
--baseline 0.05 --mde 0.20 --table
# Output JSON
python3 scripts/sample_size_calculator.py --test proportion \
--baseline 0.05 --mde 0.20 --format json
scripts/confidence_interval.py
Compute confidence intervals for a proportion or mean. Use for reporting observed metrics with uncertainty bounds.
# CI for a proportion
python3 scripts/confidence_interval.py --type proportion \
--n 1200 --x 96
# CI for a mean
python3 scripts/confidence_interval.py --type mean \
--n 800 --mean 42.3 --std 18.1
# Custom confidence level
python3 scripts/confidence_interval.py --type proportion \
--n 1200 --x 96 --confidence 0.99
# Output JSON
python3 scripts/confidence_interval.py --type proportion \
--n 1200 --x 96 --format json
Test Selection Guide
| Scenario | Metric | Test |
|---|---|---|
| A/B conversion rate (clicked/not) | Proportion | Z-test for two proportions |
| A/B revenue, load time, session length | Continuous mean | Two-sample t-test (Welch's) |
| A/B/C/n multi-variant with categories | Categorical counts | Chi-square |
자주 묻는 질문
테스트 시작 전에도 도움이 되나요?
네. 테스트가 결론을 내리는 데 필요한 표본 크기를 계산합니다.
p-값이 작으면 결과가 중요한가요?
항상 그렇지는 않으므로, 이 스킬은 실질적 영향을 통계적 유의성과 따로 보고합니다.
어떤 검정을 쓰나요?
비율에는 z-검정, 평균에는 t-검정, 범주에는 카이제곱 검정 같은 방법을 씁니다.
상세 정보
작성자의 원본 설명
Use when checking whether a difference is real (A/B results, hypothesis tests) or sizing an experiment, before declaring a winner. Runs tests with hypothesis_tester.py, intervals with confidence_interval.py and sample sizes with sample_size_calculator.py.
인기도
- GitHub 스타
- 29k
- 순위
- #9610
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-launcher-orchestrator
29k하나의 명확한 목표에서 시작해 내 계정의 Claude 관리형 에이전트를 계획하고, 만들고, 테스트하고, 예약하도록 돕습니다.
grade-iterate
29k에이전트가 채점 기준표에 따라 관리형 AI 에이전트의 결과물을 평가하고, 정해진 횟수 안에서 개선하도록 돕습니다. 끝없이 반복하지 않습니다.
interview
29kAI 에이전트 아이디어에 대해 질문하고, 답변을 간단한 빌드 계획으로 바꿔 어떤 것도 출시하기 전에 정리하도록 돕습니다.
run-without-you
29k에이전트가 관리형 AI 에이전트를 예약 또는 이벤트에 따라 실행되도록 설정하고, 출시 전에 cron 시간을 확인하도록 돕습니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.