Chi-Square Test of Independence

medium
Unit 12 · Statistics IV0/2 to milestone

Is a user's plan tier related to whether they churn? The chi-square test of independence checks whether two categorical variables are associated, using a contingency table of counts.

Pro problem

Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.

Start 7-day free trial
solution.py · Python 3.13
Run your code to see results. ⌘↵ to run · ⌘⇧↵ to submit
Chi-Square Test of Independence · TechGradify