34.7.4 The Chi-Square Statistic χ²
Core ideaSquare the gap between actual and expected and add it all up into one number χ², which grows larger the bigger the gaps are
Module goal. Handle paired categorical data, use a contingency table and chi-square to judge whether two traits are related, and carry the inference mindset toward logical judgment, leading into the next stage