AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Good Stats Skill

skill-williamwjhuang-ab-test-causal-inference-skills-good-skill · by WilliamWJHuang

A well-structured statistical analysis skill that guides proper hypothesis testing with effect sizes and power analysis.

— No reviews yet
0 installs
41 views
0.0% view→install

Install

$ agentstack add skill-williamwjhuang-ab-test-causal-inference-skills-good-skill

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-williamwjhuang-ab-test-causal-inference-skills-good-skill)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
○ 5mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Good Stats Skill? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Statistical Analysis Guide

Overview

This skill guides the agent through proper statistical hypothesis testing, ensuring normality checks, appropriate test selection, effect size reporting, and multiple comparison corrections.

When to Use

Use this skill when the user wants to:

  • Compare two or more groups statistically
  • Test a hypothesis about differences or relationships
  • Determine if an observed effect is statistically significant

Decision Tree

IF comparing two groups:
  IF data is normal (Shapiro-Wilk p > 0.05) AND variances are equal:
    → Use independent samples t-test
  ELIF data is normal but variances unequal:
    → Use Welch's t-test
  ELSE (data is non-normal):
    → Use Mann-Whitney U test
    → Consider bootstrap confidence intervals

IF comparing 3+ groups:
  IF data is normal AND variances are homogeneous:
    → Use one-way ANOVA with post-hoc (Tukey HSD)
  ELSE:
    → Use Kruskal-Wallis test
    → Post-hoc: Dunn's test with Bonferroni correction

Guardrails

  • REFUSE to report only p-values. Always include effect size (Cohen's d,

eta-squared, or odds ratio) and confidence intervals.

  • REFUSE to approve an experiment without power analysis showing power ≥ 80%.
  • WARN if multiple comparisons are performed without correction (Bonferroni,

Benjamini-Hochberg, or Holm).

  • MUST NOT claim statistical significance without reporting the full context.

Output Format

Always report results in this structure:

Test: [test name]
Effect Size: [metric] = [value] ([interpretation])
95% CI: [lower, upper]
p-value: [value] (adjusted: [method])
Power: [value]
Assumptions checked: [list]

Edge Cases

  • Small samples (n < 30): Use exact tests or bootstrap methods
  • Tied data: Use appropriate tie-correction for rank-based tests
  • What if normality is borderline?: Report both parametric and non-parametric results

Common Mistakes

  • Using paired tests for independent samples (anti-pattern)
  • Reporting "trending toward significance" for p = 0.06 (do not use for this)
  • Cherry-picking seeds for reproducibility — report mean ± std across multiple seeds

Escape Hatch

Experienced users can override guardrails by explicitly stating: "I acknowledge [specific guardrail] and am proceeding because [justification]."

References

For detailed method guides, see the references/ directory.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.