How do you determine the sample size an experiment needs for a target margin of error and confidence level?
Role: Data Scientist
Category: Statistics & Math
Difficulty: medium
Interview Round: Other
Overview: Asks how to compute the sample size needed to reach a target margin of error at a chosen confidence level. It tests inverting the confidence interval formula for means and proportions, choosing a variability estimate, rounding, and adjustments for small or finite samples.