How this tool computes its result
Parses two independently pasted numeric tables (rows split on commas, whitespace, or semicolons). For chi-square, it builds a contingency matrix, computes row and column totals, derives an expected value per cell as (rowTotal × colTotal) / grandTotal, sums (observed − expected)² / expected across all cells for the test statistic, sets degrees of freedom to (rows−1) × (cols−1), and converts the statistic to a p-value using a hand-implemented regularized incomplete gamma function (with a Lanczos log-gamma approximation feeding a series or continued-fraction expansion depending on magnitude). For one-way ANOVA, it computes between-group and within-group sums of squares from the group means and grand mean, derives F = MSbetween / MSwithin, and converts F to a p-value using a hand-implemented regularized incomplete beta function. Both statistical tests throw descriptive errors rather than silently guessing on malformed input.
