Statistical Analysis
spacering-net/codeg
Guided statistical analysis for research data - test selection, assumption checking, effect sizes, power analysis, Bayesian alternatives, and APA-formatted reporting.
Statistical test selection decision tree, per-test assumptions/formulas/interpretation guide, effect size, and power analysis.
$ npx skills add revfactory/harness-100 --skill statistical-tests-selector -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install revfactory/harness-100 statistical-tests-selector --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .claude/skills && cp -r skills-src/en/32-data-analysis/.claude/skills/statistical-tests-selector .claude/skills/statistical-tests-selector && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "statistical-tests-selector" agent skill from https://github.com/revfactory/harness-100/tree/main/en/32-data-analysis/.claude/skills/statistical-tests-selector into .claude/skills/statistical-tests-selector/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "statistical-tests-selector", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/revfactory/harness-100/tree/main/en/32-data-analysis/.claude/skills/statistical-tests-selectorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add revfactory/harness-100 --skill statistical-tests-selector -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install revfactory/harness-100 statistical-tests-selector --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .agents/skills && cp -r skills-src/en/32-data-analysis/.claude/skills/statistical-tests-selector .agents/skills/statistical-tests-selector && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "statistical-tests-selector" agent skill from https://github.com/revfactory/harness-100/tree/main/en/32-data-analysis/.claude/skills/statistical-tests-selector into .agents/skills/statistical-tests-selector/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "statistical-tests-selector", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add revfactory/harness-100 --skill statistical-tests-selector -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install revfactory/harness-100 statistical-tests-selector --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/en/32-data-analysis/.claude/skills/statistical-tests-selector .cursor/skills/statistical-tests-selector && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "statistical-tests-selector" agent skill from https://github.com/revfactory/harness-100/tree/main/en/32-data-analysis/.claude/skills/statistical-tests-selector into .cursor/skills/statistical-tests-selector/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "statistical-tests-selector", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/revfactory/harness-100.git --path en/32-data-analysis/.claude/skills/statistical-tests-selector--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add revfactory/harness-100 --skill statistical-tests-selector -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install revfactory/harness-100 statistical-tests-selector --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/en/32-data-analysis/.claude/skills/statistical-tests-selector .gemini/skills/statistical-tests-selector && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "statistical-tests-selector" agent skill from https://github.com/revfactory/harness-100/tree/main/en/32-data-analysis/.claude/skills/statistical-tests-selector into .gemini/skills/statistical-tests-selector/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "statistical-tests-selector", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install revfactory/harness-100 statistical-tests-selectorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add revfactory/harness-100 --skill statistical-tests-selector -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .github/skills && cp -r skills-src/en/32-data-analysis/.claude/skills/statistical-tests-selector .github/skills/statistical-tests-selector && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "statistical-tests-selector" agent skill from https://github.com/revfactory/harness-100/tree/main/en/32-data-analysis/.claude/skills/statistical-tests-selector into .github/skills/statistical-tests-selector/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "statistical-tests-selector", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add revfactory/harness-100 --skill statistical-tests-selector -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install revfactory/harness-100 statistical-tests-selector --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/en/32-data-analysis/.claude/skills/statistical-tests-selector .opencode/skills/statistical-tests-selector && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "statistical-tests-selector" agent skill from https://github.com/revfactory/harness-100/tree/main/en/32-data-analysis/.claude/skills/statistical-tests-selector into .opencode/skills/statistical-tests-selector/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "statistical-tests-selector", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
statistical-tests-selectorStatistical test selection decision tree, per-test assumptions/formulas/interpretation guide, effect size, and power analysis.
Statistical Tests Selector is an agent skill from revfactory/harness-100. Statistical test selection decision tree, per-test assumptions/formulas/interpretation guide, effect size, and power analysis. Use this skill for statistical analysis method selection involving 'statistical test', 't-test', 'ANOVA', 'chi-squared', 'correlation analysis', 'p-value', 'hypothesis testing', 'normality test', 'nonparametric test', 'effect size', etc. Enhances the analyst's statistical analysis capabilities. Note: data cleaning and visualization are outside this skill's scope.
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Data & Analytics, covering Statistics. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 8e8d35c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python and markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Statistical Tests Selector loads about 1.4k tokens when it runs. Until then it costs about 130 tokens; SKILL.md has 128 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from revfactory/harness-100 at commit 8e8d35c, republished under its Apache-2.0 licence (© revfactory). 128 words, ~1,400 tokens.
.claude/skills/statistical-tests-selector/SKILL.md (or your agent's skills folder).A guide for selecting and interpreting appropriate statistical tests based on data type and analysis purpose.
What are you comparing?
├── Mean difference between two groups
│ ├── Independent samples → Normal? → Yes: Independent t-test
│ │ → No: Mann-Whitney U
│ └── Paired samples → Normal? → Yes: Paired t-test
│ → No: Wilcoxon signed-rank
├── Mean difference among three or more groups
│ ├── Independent → Normal? → Yes: One-way ANOVA → Post-hoc: Tukey HSD
│ │ → No: Kruskal-Wallis → Post-hoc: Dunn
│ └── Repeated measures → Repeated Measures ANOVA / Friedman
├── Relationship between two variables
│ ├── Continuous × Continuous → Linear? → Yes: Pearson correlation
│ │ → No: Spearman rank correlation
│ └── Categorical × Categorical → Chi-squared independence test
├── Proportion difference
│ ├── Two groups → Z-test (proportions)
│ └── Three or more groups → Chi-squared homogeneity test
└── Distribution testing
├── Normality → Shapiro-Wilk (n<5000) / K-S test
└── Homogeneity of variance → Levene's test / Bartlett's testfrom scipy import stats
# Assumption checks
# 1. Normality
stat, p = stats.shapiro(group_a)
print(f"Normality test: p={p:.4f}")
# 2. Homogeneity of variance
stat, p = stats.levene(group_a, group_b)
print(f"Levene's test: p={p:.4f}")
# Conduct test
if levene_p >= 0.05:
t, p = stats.ttest_ind(group_a, group_b) # Equal variance
else:
t, p = stats.ttest_ind(group_a, group_b, equal_var=False) # Welch's
# Effect size (Cohen's d)
d = (group_a.mean() - group_b.mean()) / np.sqrt(
((len(group_a)-1)*group_a.std()**2 + (len(group_b)-1)*group_b.std()**2)
/ (len(group_a) + len(group_b) - 2)
)| Metric | Small | Medium | Large |
|---|---|---|---|
| Cohen's d | 0.2 | 0.5 | 0.8 |
| Pearson r | 0.1 | 0.3 | 0.5 |
| eta-squared (η²) | 0.01 | 0.06 | 0.14 |
| Cramer's V | 0.1 | 0.3 | 0.5 |
# One-way ANOVA
f_stat, p = stats.f_oneway(group_a, group_b, group_c)
if p < 0.05:
# Post-hoc test (which groups differ?)
from statsmodels.stats.multicomp import pairwise_tukeyhsd
tukey = pairwise_tukeyhsd(
endog=all_values, groups=all_labels, alpha=0.05
)
print(tukey.summary())# Independence test (categorical × categorical)
contingency = pd.crosstab(df['gender'], df['purchase'])
chi2, p, dof, expected = stats.chi2_contingency(contingency)
# Effect size (Cramer's V)
n = contingency.sum().sum()
v = np.sqrt(chi2 / (n * (min(contingency.shape) - 1)))| Method | Conservatism | Formula | Usage |
|---|---|---|---|
| Bonferroni | Very conservative | α/n | Few comparisons |
| Holm-Bonferroni | Conservative | Stepwise adjustment | General purpose |
| Benjamini-Hochberg | Less conservative | FDR control | Exploratory analysis |
| Tukey HSD | Moderate | ANOVA post-hoc | All pairwise comparisons |
from statsmodels.stats.multitest import multipletests
reject, pvals_corrected, _, _ = multipletests(
p_values, alpha=0.05, method='holm'
)from statsmodels.stats.power import TTestIndPower
analysis = TTestIndPower()
# Required sample size calculation
n = analysis.solve_power(
effect_size=0.5, # Cohen's d = 0.5 (medium effect)
alpha=0.05, # Significance level
power=0.8, # 80% power
alternative='two-sided'
)
print(f"Required sample size per group: {int(np.ceil(n))}")| Effect Size | Required n for 80% Power (per group) |
|---|---|
| d = 0.2 (small) | 394 |
| d = 0.5 (medium) | 64 |
| d = 0.8 (large) | 26 |
When p = 0.03:
✅ Correct interpretation:
"Under the null hypothesis, the probability of observing results this extreme is 3%."
❌ Incorrect interpretations:
"The probability that the alternative hypothesis is true is 97%." (Not Bayesian)
"The effect is large." (Effect size is measured separately)
"The result is important." (Statistical significance ≠ practical importance)### Analysis: A/B Group Conversion Rate Comparison
**Hypothesis**: The new design (B) has a higher conversion rate than the original (A)
**Test**: Two-sample proportion z-test (one-tailed)
**Sample**: A: n=1000, conversion 5.2% | B: n=1000, conversion 6.8%
**Result**: z=1.58, p=0.057, 95% CI: [-0.05%, 3.25%]
**Effect Size**: h=0.067 (small)
**Conclusion**: Not statistically significant at the 5% level (p=0.057).
Power analysis: To achieve 80% power at this effect size,
n=3,500 per group is needed. Sample expansion recommended.© revfactory, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in en/32-data-analysis/.claude/skills/statistical-tests-selector of revfactory/harness-100.
Open the folder on GitHubat commit 8e8d35c
Statistical Tests Selector next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Statistical Tests Selector this skillrevfactory/harness-100 | 1.3k | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| Statistical Analysisspacering-net/codeg | 3.8k | 3 repos | ~5k | Automated safety check: Pass | MIT | |
| StatsmodelszLanqing/codex-claude-academic-skills | 4.6k | 16 repos | ~4.9k | Automated safety check: Pass | BSD-3-Clause | |
| AI Daily DigestvigorX777/ai-daily-digest | 1.6k | — | ~1.3k | Automated safety check: Pass | None | |
| Statistical Powerspacering-net/codeg | 3.8k | 1 repos | ~3.6k | Automated safety check: Notes | MIT | |
| Agent Session Monitorhigress-group/higress | 9.5k | — | ~3.3k | Automated safety check: Pass | Apache-2.0 |
spacering-net/codeg
Guided statistical analysis for research data - test selection, assumption checking, effect sizes, power analysis, Bayesian alternatives, and APA-formatted reporting.
zLanqing/codex-claude-academic-skills
Statistical models library for Python. An agent skill from zLanqing/codex-claude-academic-skills.
vigorX777/ai-daily-digest
Fetches RSS feeds from 90 top Hacker News blogs (curated by Karpathy), uses AI to score and filter articles, and generates a daily digest in Markdown with Chinese-translated titles, category…
spacering-net/codeg
Sample-size and statistical power calculations for planning studies.
higress-group/higress
Real-time agent conversation monitoring - monitors Higress access logs, aggregates conversations by session, tracks token usage.
clshortfuse/renodx
RenoDX workflow for creating readable analysis graphs and plots from shader math, CSVs, EXRs, LUTs, hue sweeps, tone curves, gamut comparisons, energy/scalar maps, and test-pattern statistics.
revfactory/harness-100
A skill for analyzing website anti-bot defense mechanisms and developing legitimate evasion strategies.
revfactory/harness-100
Reference for designing how an API reports failures: structured error codes, response shapes, client-friendly messages, an error catalog and retry or fallback advice.
revfactory/harness-100
Walks a backend-dev agent through OWASP API Top 10 checks, authentication and authorization patterns, and defense code during API design.
revfactory/harness-100
Methodology for systematically designing and generating CLI tool argument parser structures.
revfactory/harness-100
Audience segmentation skill used by the analyst and curator agents.
revfactory/harness-100
Audio storytelling skill used by the podcast scriptwriter and show note editor.
Categories
Statistical test selection decision tree, per-test assumptions/formulas/interpretation guide, effect size, and power analysis. Statistical Tests Selector is an agent skill from revfactory/harness-100. Statistical test selection decision tree, per-test assumptions/formulas/interpretation guide, effect size, and power analysis.
Statistical Tests Selector fits situations like: statistical analysis method selection involving statistical test; correlation analysis; hypothesis testing; nonparametric test.
Run `npx skills add revfactory/harness-100 --skill statistical-tests-selector -a claude-code`. Or copy the skill folder (en/32-data-analysis/.claude/skills/statistical-tests-selector in revfactory/harness-100) into .claude/skills/statistical-tests-selector in your project. Claude Code loads it when a task matches its description.
Run `npx skills add revfactory/harness-100 --skill statistical-tests-selector -a codex`. Or copy the skill folder (en/32-data-analysis/.claude/skills/statistical-tests-selector in revfactory/harness-100) into .agents/skills/statistical-tests-selector in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add revfactory/harness-100 --skill statistical-tests-selector -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/statistical-tests-selector, .gemini/skills/statistical-tests-selector, .github/skills/statistical-tests-selector and .opencode/skills/statistical-tests-selector in your project.
SKILL.md names no scripts, command-line tools or credentials: Statistical Tests Selector is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Statistical Tests Selector is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Statistical Tests Selector: Statistical Analysis (spacering-net/codeg, 3.8k stars), Statsmodels (zLanqing/codex-claude-academic-skills, 4.6k stars), AI Daily Digest (vigorX777/ai-daily-digest, 1.6k stars) and Statistical Power (spacering-net/codeg, 3.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
revfactory (a GitHub user) maintains it in revfactory/harness-100, which has 1,290 GitHub stars. The repository holds 464 skills in this directory. The repository was last updated on March 22, 2026.
Source: revfactory/harness-100 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.