Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
winstonkoh87 avatar

Statistical Analysis

  • 2 installs
  • 553 repo stars
  • Updated August 5, 2026
  • winstonkoh87/athena-public

Structured pipeline for statistical analysis deliverables in SPSS, R, or Python covering reliability, chi-square, correlation, regression, and reporting.

About

A five-step pipeline for statistical deliverables that audits data, checks test assumptions, runs tests with effect sizes, interprets results, and produces a client-ready APA report. A developer or analyst uses it when running survey or hypothesis-testing analyses and needing rigorous, reportable output.

  • Assumption matrix mapping each test family to its assumptions and checks
  • Mandatory effect sizes plus a 3-part interpretation for every result

Statistical Analysis by the numbers

  • 2 all-time installs (skills.sh)
  • Ranked #1,759 of 2,064 Data Science & ML skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/winstonkoh87/athena-public --skill statistical-analysis

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2
repo stars553
Last updatedAugust 5, 2026
Repositorywinstonkoh87/athena-public

What it does

Structured pipeline for statistical analysis deliverables in SPSS, R, or Python covering reliability, chi-square, correlation, regression, and reporting.

Files

SKILL.mdMarkdownGitHub ↗

Statistical Analysis Skill

Purpose: Structured pipeline for statistical analysis deliverables. Prevents assumption violations, missed effect sizes, and uninterpretable output.
Origin: Created ahead of Assignment 19 (SPSS, Siva, $250, deadline Mar 8). No protocol coverage existed for this domain.

The 5-Step Pipeline

Step 1: DATA AUDIT

  • Load dataset (CSV, SPSS .sav, Excel)
  • Profile: N, variable types (nominal/ordinal/interval/ratio), missing data %, outliers
  • Check for:
  • Missing data pattern (MCAR/MAR/MNAR) — Little's MCAR test if available
  • Outliers (z-score > 3 or IQR method)
  • Variable coding (reverse-coded items, string-to-numeric conversion)
  • Sample size adequacy per planned test (rule of thumb: 10–15 observations per predictor for regression)

Step 2: ASSUMPTION MATRIX

[!IMPORTANT]
Every statistical test has assumptions. Violating them invalidates results. Check BEFORE running.
Test FamilyAssumptionsCheck Method
Reliability (Cronbach's α)Unidimensionality, interval/ratio data, ≥3 items per scaleFactor analysis / item-total correlations
Chi-Square (χ²)Independence, expected frequency ≥ 5 in 80%+ cells, categorical variablesExpected frequency table
Pearson CorrelationLinearity, normality (both vars), no significant outliers, interval/ratioScatter plot, Shapiro-Wilk
Spearman CorrelationMonotonic relationship, ordinal or non-normal intervalScatter plot (monotonic check)
Multiple RegressionLinearity, independence (Durbin-Watson), homoscedasticity, normality of residuals, no multicollinearity (VIF < 10)Residual plots, VIF table, Durbin-Watson
Independent t-testNormality, homogeneity of variance (Levene's), interval/ratio DVShapiro-Wilk, Levene's
One-way ANOVANormality, homogeneity (Levene's), independence, interval/ratio DVSame as t-test + post-hoc if significant

Step 3: TEST EXECUTION

For each test in the scope:

1. State the hypothesis (H₀ and H₁) explicitly 2. Run the test — output test statistic, df, p-value, effect size 3. Effect size (mandatory — p-value alone is insufficient):

  • Cohen's d (t-test)
  • η² or partial η² (ANOVA)
  • r or R² (correlation/regression)
  • Cramér's V (chi-square)
  • Cronbach's α (reliability — this IS the effect)

4. Decision: Reject/Fail to reject H₀ at α = 0.05 (unless specified otherwise)

Step 4: INTERPRETATION

For each test result, produce a 3-part interpretation:

1. Statistical statement: "A Pearson correlation revealed a significant positive relationship between X and Y, r(183) = .42, p < .001." 2. Effect size interpretation: "This represents a medium effect (Cohen, 1988)." 3. Practical meaning: "Workers who received more safety training hours reported higher safety compliance scores, explaining approximately 18% of the variance."

Effect SizeSmallMediumLarge
Cohen's d0.20.50.8
r0.10.30.5
0.010.090.25
η²0.010.060.14
Cramér's V (df=1)0.10.30.5
Cronbach's α< 0.6 poor0.7–0.8 acceptable> 0.9 excellent

Step 5: CLIENT-READY REPORT

Structure the output document:

1. Introduction (research context, variables, hypotheses)
2. Methodology (sample, measures, statistical tests used)
3. Results
   3.1 Reliability Analysis
   3.2 Chi-Square Tests
   3.3 Correlation Analysis
   3.4 Regression Analysis
4. Discussion (interpret findings, connect to research questions)
5. Limitations
6. References
Appendix: SPSS Output Tables (screenshots or formatted tables)
  • Use APA 7th edition reporting standards for statistical notation
  • Include assumption check results in methodology or as footnotes
  • Tables formatted per APA: no vertical lines, horizontal rules at top/bottom/below header only

Assignment 19 Quick Reference

ComponentCountDetails
Reliability (Cronbach's α)5One per scale/construct
Chi-Square (χ²)4Independence tests (demographic × outcome)
Correlation4Bivariate (IV-DV pairs)
Regression1Multiple regression (4 IVs → 1 DV)
Total tests14
TopicSafety Training in SG Construction
N185 survey responses
IVs4 (to be identified from data)
DV1 (to be identified from data)

Exit Gate

  • [x] All assumption checks documented
  • [x] Every test has: hypothesis, test statistic, df, p-value, effect size
  • [x] APA-compliant statistical notation
  • [x] Practical interpretation (not just "significant/not significant")
  • [x] Client-ready formatted output document

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.