Question 4 of 10Pro Only

How do you calculate the required sample size for an A/B test? What factors affect how long you need to run the experiment?

Sample answer preview

Sample size calculation is fundamental to A/B testing because running underpowered experiments wastes resources and produces inconclusive results. The required sample size depends on four interconnected factors that you must specify before the experiment begins.

sample sizeminimum detectable effectstatistical powervarianceexperiment durationpower analysis

Unlock the full answer

Get the complete model answer, key points, common pitfalls, and access to 9+ more Data Scientist interview questions.

Upgrade to Pro

Starting at $19/month • Cancel anytime