Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Trending in AI
Hot
Agentic AI EngineerForward-Deployed EngineerGenAI EngineerAI Architect
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
ExperiencesCoaching
New
Practice
Mock InterviewsTimed interview simulations with feedbackSuccess 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
Start free

Sample Size for Onboarding Test

HardA/B Testing & Experimentation00:00
Practice interviewer
In session
5 left
00:00

Whenever you're ready, walk me through how you'd approach this.

Sign up free to chat or submit. Log in

Problem

Context

A company is considering a change to its new-user onboarding flow in a web app: replacing the current project-creation prompt with a guided setup that recommends a starter project template and nudges users to invite a teammate earlier. The Growth team needs to decide whether the experiment can reach a launch decision within a fixed time window.

Hypothesis Seed

The team believes the guided onboarding will increase activation by helping new accounts reach value faster. However, an overly aggressive invite prompt could reduce completion of onboarding or create low-quality invites, so the launch decision must balance activation gains against user-experience guardrails.

Constraints

  • Eligible traffic: 18,000 new account creators per day on web
  • Maximum experiment window: 21 days, including ramp
  • Planned allocation: 50/50 after a 1-day 5% ramp for instrumentation checks
  • Baseline 7-day activation rate: 32% of new account creators complete all of the following within 7 days: create a project, add at least 3 tasks, and invite at least 1 teammate
  • The PM says a lift smaller than 2 percentage points absolute is not worth shipping because of engineering and lifecycle-maintenance cost
  • False positives are costly because a bad launch affects first impressions and downstream retention; false negatives are also costly because onboarding is a major growth lever

Deliverables

  1. State the null and alternative hypotheses, and define the primary metric, secondary metrics, and guardrails for this onboarding experiment.
  2. Calculate the minimum sample size per arm needed for a launch decision using the stated baseline, alpha, power, and MDE. Translate that into expected runtime given the traffic constraint.
  3. Choose the unit of randomization and explain whether your unit of analysis matches it. If not, explain how you would analyze correctly.
  4. Pre-register an analysis plan: statistical test, peeking policy, handling of multiple metrics, and what you would do if you observe sample ratio mismatch.
  5. Give a clear ship / don’t-ship / iterate rule that respects both the primary metric and guardrails.