AI Agent Hub
Back to skills
📊

Statistical Testing and APA Reporting

Data Analysis Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Install @org-02qudk26/cn-statistical-analysis according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem

Statistical results are often hard to audit when test choice is wrong, assumptions are not checked, effect sizes are missing, or reports are incomplete. This skill organizes hypothesis testing, regression, correlation, Bayesian analysis, and APA-style reporting into an executable workflow.

How It Works

  • State the question first: define hypotheses, outcomes, predictors, and design before touching data, reducing accidental p-hacking.
  • Testing and diagnostics: covers independent/paired t-tests, Mann-Whitney U, ANOVA, Kruskal-Wallis, chi-square, Fisher exact, Pearson/Spearman correlation, linear/logistic regression, and Bayesian alternatives.
  • Assumption checks: uses assumption_checks.py for normality, variance homogeneity, linearity, outliers, and regression diagnostics; suggests Welch, nonparametric, or robust standard error fixes.
  • Reporting: structures descriptive statistics, exact p values, effect sizes with CIs, assumption checks, and all planned analyses.

Boundaries

Best for experimental or observational data and research writing. Model-specific APIs such as ARIMA or complex PyMC workflows may need companion skills. It emphasizes reproducibility and does not replace domain judgment; small samples still require power and prior consideration.

Use Cases

  • Researchers audit t-test, ANOVA, and chi-square results before submission, adding effect sizes, CIs, and APA wording.
  • Analysts evaluate A/B test conversion differences and choose Welch, nonparametric, or correlation tests with diagnostics.
  • Experimental analysts check normality, variance, and linearity on survey data, then fit appropriate regression or correlation models.
  • Graduate students report Bayesian t-tests for small samples, including credible intervals and evidence statements.

Best For

  • Research-focused data scientists who need reproducible test selection, diagnostics, and APA-style reporting.
  • Experiment analysts comparing A/B test metrics who must report effect sizes and appropriate tests.
  • Researchers writing papers who need to check assumptions, multiple comparisons, effect sizes, and APA wording.
  • PyMC/ArviZ modelers who need Bayesian t-tests, credible intervals, and prior justification.