Dataford
Interview QuestionsInterview GuidesExperiencesCoaching
New
Pricing
Get started
Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Browse
Browse All RolesEvery role hub, from analyst to MLBrowse All CompaniesCompany-specific interview loopsAll Interview GuidesThe full guide library
Top questions by role
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Top questions by skill
SQLPythonStatisticsMachine LearningA/B TestingSystem DesignGenerative AIProduct SenseMetricsBehavioral
Browse all questions →Try a mock interview
Experiences
Practice
Mock InterviewsTimed interview simulations with feedbackCoaching1:1 coaching with people at your target companiesSuccess PathYour 6-week structured planModulesCurated lessons by topicWebinarsTalks from ex-Big Tech data leadsPlaygroundA free-form scratch editor
Learn
BlogInterview strategy and career adviceTech Job Market ReportHiring trends across data and AI rolesFor UniversitiesDataford for career centersAbout DatafordWho we are and how we build
Pricing
Build my plan

Checkout Button Color A/B Significance

MediumStatistics & Probability00:00
Practice interviewer
In session
5 left
00:00

Your question is Checkout Button Color A/B Significance. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Business Context

CartLane, an e-commerce retailer, changed the checkout button from gray to green and ran a randomized A/B test to see whether the new color increased completed purchases.

Problem Statement

Determine whether the new checkout button color caused a statistically significant increase in sales conversion rate, and quantify the size of the effect.

Given Data

The experiment ran for 14 days at the user level. Each user saw only one version.

GroupUsers ExposedPurchasesConversion Rate
Control (gray button)52,4806,29812.00%
Treatment (green button)51,9306,54712.61%

Additional parameters:

ParameterValue
Significance level0.05
Test typeTwo-sided

Requirements

  1. State the null and alternative hypotheses.
  2. Compute the sample conversion rates and the absolute lift.
  3. Use a two-proportion z-test to test for statistical significance.
  4. Calculate the p-value.
  5. Construct a 95% confidence interval for the difference in conversion rates.
  6. Conclude whether the button color change should be rolled out based on both statistical and practical significance.

Assumptions

  • Random assignment was implemented correctly.
  • Users are independent observations.
  • Conversion is binary: each exposed user either purchased or did not purchase.
  • No major concurrent site changes affected checkout behavior during the test window.
  • Sample sizes are large enough for normal approximation to the binomial distribution.