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.

Google
Statistics & Math
Data Scientist
Google
November 29, 2026
Data Scientist
Phone Screen
Statistics & Math
Easy

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
chi-square test
contingency tables
expected counts
two-proportion z test
confounding
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. 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 Questions
Sample 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 row total×column totalN\frac{\text{row total} \times \text{column total}}{N}. The statistic is χ2=∑(O−E)2E\chi^2 = \sum \frac{(O-E)^2}{E} with (r−1)(c−1)=1(r-1)(c-1) = 1 degree of freedom. ...


Submit Your Answer
Markdown supported