Test Whether a New Suggestion Card Raises Acceptance

Last updated: November 29, 2026

Quick Overview

In an A/B test, the control suggestion card got 1,200 accepts out of 10,000 suggestions shown and a redesigned card got 1,300 out of 10,000. Is the difference statistically significant, and what assumption behind your test should you question?

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

0

0

0 solved


In an A/B test, the control suggestion card got 1,200 accepts out of 10,000 suggestions shown and a redesigned card got 1,300 out of 10,000. Is the difference statistically significant, and what assumption behind your test should you question?

Card and explanation redesigns are a frequent experiment type at Grammarly. The interviewer wants a correct two-proportion test computed by hand and, more importantly, recognition that suggestions are clustered within users, which the naive test ignores.

What the Interviewer Expects
  • Set up null and alternative hypotheses for two proportions
  • Compute the pooled standard error and z statistic correctly
  • Interpret the p-value and a confidence interval for the lift
  • Point out that the unit of randomization (user) differs from the unit of analysis (suggestion)
  • Suggest the delta method or user-level analysis as the fix
Key Topics to Cover
two-proportion z-test
standard error
confidence interval
clustered data
delta method
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
  • How would the conclusion change if 50 heavy users produced half the suggestions?
  • How many suggestions per arm would you need to detect a 0.5 point lift with 80% power?
  • What guardrail metrics would you check before shipping?
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 randomization was by user (it should be, so the same person sees one card design) and that the counts are distinct suggestions shown. Pick a two-sided test at α=0.05\alpha = 0.05....

Approach

H0:pB=pAH_0: p_B = p_A. Pooled proportion p^=1200+130020000=0.125\hat p = \frac{1200 + 1300}{20000} = 0.125. Standard error under the null SE=p^(1−p^)(1nA+1nB)SE = \sqrt{\hat p (1-\hat p)(\frac{1}{n_A} + \frac{1}{n_B})}....


Submit Your Answer
Markdown supported

Related Questions