[Paper Review] Seven proofs of the Pearson Chi-squared independence test and its graphical interpretation
This paper presents seven modern, mathematically rigorous proofs of the Pearson chi-squared test for independence using diverse tools such as Cochran's theorem, Sherman-Morrison formula, and De Moivre-Laplace theorem. It introduces an innovative graphical interpretation using mosaic plots with confidence intervals, enabling visual assessment of how close or far observed data are from the null hypothesis of independence.
This paper revisits the Pearson Chi-squared independence test. After presenting the underlying theory with modern notations and showing new way of deriving the proof, we describe an innovative and intuitive graphical presentation of this test. This enables not only interpreting visually the test but also measuring how close or far we are from accepting or rejecting the null hypothesis of non independence
Motivation & Objective
- To provide modern, accessible proofs of the Pearson chi-squared test using advanced mathematical tools.
- To address the lack of intuitive graphical representations for the chi-squared independence test in contingency tables.
- To develop a visual method that quantifies proximity to or distance from the null hypothesis of independence.
- To extend traditional mosaic plots by incorporating confidence intervals for statistical inference.
- To demonstrate the utility of the graphical method through comparative examples with varying effect sizes.
Proposed method
- Derive the asymptotic distribution of the Pearson chi-squared statistic using Cochran's theorem and matrix algebra.
- Apply the Sherman-Morrison formula to simplify the inverse of the covariance matrix in the multivariate normal approximation.
- Use Sylvester's determinant identity and characteristic functions to derive the chi-squared distribution under the null.
- Employ the De Moivre-Laplace theorem as a foundational limit theorem for the binomial-to-normal approximation.
- Construct a mosaic plot where each cell's size reflects observed frequency and its vertical position reflects expected frequency.
- Overlay 95% confidence intervals on each cell to visually assess statistical significance and effect size.
Experimental results
Research questions
- RQ1How can the Pearson chi-squared test for independence be re-proven using modern mathematical tools beyond the original 1900 derivation?
- RQ2What is the role of matrix identities like Sherman-Morrison and Cochran’s theorem in simplifying the proof of the chi-squared distribution?
- RQ3Can a graphical representation of the chi-squared test provide more than a p-value by showing effect size and proximity to the null hypothesis?
- RQ4How do confidence intervals in mosaic plots improve interpretation of contingency table results compared to standard visualizations?
- RQ5To what extent can this graphical method be generalized to larger-than-2×2 contingency tables?
Key findings
- The authors present seven distinct proofs of the Pearson chi-squared test, including novel derivations using Cochran’s theorem and the Sherman-Morrison formula.
- The graphical method using mosaic plots with confidence intervals allows researchers to visually assess whether observed deviations from independence are statistically meaningful.
- When one cell value is increased from 50 to 75 in a 2×2 table, the deviation remains within the 95% confidence interval, indicating non-significance.
- A value increase to 100 results in a slight departure from the confidence interval, suggesting marginal significance, while a value of 200 leads to a large, clear departure.
- The confidence interval shifts vertically depending on the overall distribution, reflecting changes in expected frequencies and improving interpretability.
- The method enables quantitative comparison of effect size: a deviation of 200 is visually and statistically more extreme than one of 100, even when both are outside the interval.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.