Chi Square Test of Device Platform and Gmail Feature Adoption
Last updated: November 29, 2026
Quick Overview
Among 1,000 Android Gmail users, 300 turned on a new summary feature; among 800 iOS users, 200 did. Test whether adoption is independent of platform.
0
0
0 solved
Among 1,000 Android Gmail users, 300 turned on a new summary feature; among 800 iOS users, 200 did. Test whether adoption is independent of platform.
A standard Google Data Scientist screen question that checks you can set up a contingency table test from scratch and interpret it. Interviewers listen for correct expected counts, degrees of freedom, and an honest read of what the test implies about causality.
What the Interviewer Expects
- Build the 2x2 table and expected counts
- Compute the chi-square statistic and degrees of freedom
- Relate it to the two-proportion z test
- State the conclusion with an effect size
- Note that observational differences are not causal
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- When would you switch to Fisher's exact test?
- How would you extend this to Android, iOS and web?
- What confounders could explain a platform gap in adoption?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Confirm each user appears once, adoption is a yes/no outcome, and the users were not randomized to platform (they chose their phones). The test therefore asks about association, not effect....
Approach
Under independence, expected count in each cell is . The statistic is with degree of freedom. ...