Is 8 heads in 10 flips evidence of an unfair coin, and how many flips detect a bias of 0.7 with 80% power?
Role: Data Scientist
Category: Statistics & Math
Difficulty: medium
Interview Round: Other
Overview: Asks whether 8 heads in 10 coin flips is enough evidence to call the coin unfair, then how many flips are needed to detect a heads probability of 0.7 with 80% power. Tests exact binomial p-values, two-sided testing and one-sample sample size calculations.