Concept Flow - Chi-squared test
Start with observed data
Calculate expected data
Compute (Observed - Expected)^2 / Expected
Sum all values to get Chi-squared statistic
Compare statistic to Chi-squared distribution
Decide if difference is significant
End
The test compares observed counts to expected counts, calculates a statistic, then checks if the difference is significant.