본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트51k · #3576

statistical-analysis

하는 일

이 도구는 연구 데이터를 분석하도록 돕습니다. 알맞은 통계 검정을 고르고, 데이터가 그 검정의 요건을 충족하는지 확인한 뒤, 과학 논문처럼 결과를 명확하게 보여 줍니다.

사용하는 경우

  • ✓데이터 집단들을 비교하고 싶을 때.
  • ✓데이터로 아이디어나 가설을 검증할 때.
  • ✓데이터에 담긴 정보들 사이의 관계를 이해하고 싶을 때.

스킬 링크

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/statistical-analysis/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/statistical-analysis/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“연구 데이터를 분석해서 집단 A와 B를 비교하고, 유의미한 차이가 있는지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

데이터를 제공하고 무엇을 알고 싶은지 말하면, 도구가 적절한 통계 분석을 제안하고 실행합니다. 모든 것이 올바른지 확인한 뒤 결과를 보여 줍니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Statistical Analysis

Overview

Conduct hypothesis tests (t-tests, ANOVA, chi-square), regression, correlation, and Bayesian analyses with systematic assumption checking, effect sizes, and APA-style reporting. Define the estimand and sampling units, diagnose model limitations, and report effect estimates with uncertainty. Numerical screens cannot certify assumptions or scientific validity.

When to Use This Skill

Use this skill when:

  • Conducting statistical hypothesis tests (t-tests, ANOVA, chi-square, non-parametric)
  • Performing regression or correlation analyses
  • Running Bayesian statistical analyses
  • Checking statistical assumptions and diagnostics
  • Calculating effect sizes and conducting power analyses
  • Reporting statistical results in APA format
  • Analyzing experimental or observational data for research

Installation

Targets Pingouin 0.7.0, SciPy 1.18.1, statsmodels 0.15.0, PyMC 6.3.2 and ArviZ 1.3.0 (reviewed 2026-10-01). Create a separate environment; do not add mutually incompatible scientific stacks to a shared project environment.

uv venv --python 3.12 .venv-statistics
uv pip install --python .venv-statistics/bin/python "pingouin==0.7.0" "scipy==1.18.1" "statsmodels==0.15.0" pandas matplotlib seaborn
# Optional Bayesian examples:
uv pip install --python .venv-statistics/bin/python "pymc==6.3.2" "arviz==1.3.0"

On Windows use .venv-statistics/Scripts/python.exe. Lock the resolved environment for reproduction.

  • Pingouin 0.7 fixes erroneous mixed/repeated-measures corrections, categorical ANOVA, and other results; do not reproduce an old analysis by merely changing its reported version. See the official changelog.
  • Pingouin 0.6+ names are p_val, cohen_d, CI95, p_unc. ttest reports absolute Cohen's d; calculate a signed estimate explicitly. Its power column is observed power and should not be used to interpret a null result.
  • correction='auto' chooses Welch by unequal sample sizes, not by variance evidence. Set correction=True for prespecified Welch inference.
  • PyMC 6 returns an xarray DataTree. ArviZ 1 uses ci_prob in summary/plot_dist and prob in hdi; specify 95% intervals explicitly. See Bayesian guidance.
  • Pingouin omits BF10 for one-sided t-tests; posterior directional probabilities are not Bayes factors. A two-sided BF10 uses its own model/prior and is not the Bayesian counterpart of a Welch unequal-variance model.

For model-specific APIs (OLS, GLM, ARIMA), see the statsmodels skill. For PyMC workflows, see the pymc skill.


Analysis Workflow

Use the following workflow, documenting prespecified decisions and exploratory departures.

  1. Frame the question before touching the data. State the hypothesis, the outcome and predictor variables, and the design (independent vs. paired, number of groups). Specify the target effect, sampling unit, dependence, contrasts and multiplicity family before outcome-driven selection. Label adaptive exploration explicitly.
  2. Inspect the data. Per group: n, mean, SD, median, missing values. Plot the raw data (histograms or box plots) before any test. Unequal group sizes, missingness, floor/ceiling effects, and outliers all change what test is appropriate — surface them to the user rather than silently working around them.
  3. Select the test using the quick reference below, or references/test_selection_guide.md for designs beyond the basics (counts, time-to-event, reliability, factorial).
  4. Check assumptions with scripts/assumption_checks.py. Interpret plots and screens alongside the design and estimand; do not switch tests automatically at a diagnostic p-value threshold. Report justified sensitivity analyses and any departures from the plan.
  5. Run the test and always compute the effect size alongside it — a p-value assesses incompatibility with the null model; the effect estimate and its uncertainty support judgments about practical importance.
  6. Report using the APA templates below, including descriptives, exact statistics, effect sizes with CIs, and the assumption checks performed.

If the user only needs one step (e.g., "how many participants do I need?"), jump straight to that section — but still confirm the design assumptions the calculation rests on.


Test Selection Guide

Quick Reference: Choosing the Right Test

…

자주 묻는 질문

통계 검정의 정확한 이름을 알아야 하나요?

아닙니다. 데이터로 하고 싶은 일, 예를 들어 집단 비교를 설명하면 도구가 알맞은 검정을 골라 줍니다.

통계적 '가정'이란 무엇인가요?

통계 검정이 신뢰할 수 있는 결과를 내기 위해 데이터가 충족해야 하는 조건입니다. 도구가 이 조건을 대신 확인해 줍니다.

결과는 어떤 형식으로 보여 주나요?

APA 스타일, 즉 과학 보고서에 쓰는 표준 형식으로 정리합니다. 핵심 수치와 효과 크기가 포함됩니다.

상세 정보

작성자의 원본 설명

Guided statistical analysis for research data - test selection, assumption checking, effect sizes, power analysis, Bayesian alternatives, and APA-formatted reporting. Use whenever a user wants to compare groups, test a hypothesis, analyze experimental or survey data, check statistical assumptions, compute required sample sizes, or write up results - even if they never name a specific test. Covers

repo: K-Dense-AI/scientific-agent-skills

인기도

GitHub 스타
51k
순위
#3576
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬