Is 8 heads in 10 flips evidence of an unfair coin, and how many flips detect a bias of 0.7 with 80% power?

Quick 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.

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

A coin is flipped 10 times and lands heads 8 times. Can we conclude the coin is unfair, or could this be random chance? Then work out what sample size would be needed to detect a bias of $p = 0.7$ with 80% power. Use a two-sided test at the 5% significance level unless you argue for a different choice. ```hint Compute the tail Under a fair coin, find the probability of a result at least as extreme as 8 heads, and decide whether "extreme" should include the other tail. ``` ```hint Two distributions for power For the sample size you need the rejection cutoff under a fair coin and the probability of landing beyond that cutoff when the true heads probability is 0.7. ``` ### What a Strong Answer Covers - Computes the probability of 8 or more heads under a fair coin and the two-sided p-value, and draws the right conclusion at the 5% level. - Explains why failing to reject does not show the coin is fair, and ties that to the low power of 10 flips. - Sets up the one-sample sample size calculation with the null and alternative variances and rounds the result correctly. - Notes how the normal approximation differs from an exact binomial calculation. ### Follow-up Questions - How do the p-value and the sample size change with a one-sided test that only looks for a bias toward heads? - What is a 95% confidence interval for the heads probability after 8 heads in 10 flips, and what does it add to the test? - Why can exact binomial power drop when you add one more flip? - If you checked the p-value after every 10 flips and stopped as soon as it fell below 0.05, what would happen to the false positive rate?

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.

PracHub logo
General
Nov 24, 2026
mediumData ScientistOtherStatistics & Math
0
0

A coin is flipped 10 times and lands heads 8 times. Can we conclude the coin is unfair, or could this be random chance? Then work out what sample size would be needed to detect a bias of p=0.7p = 0.7 with 80% power.

Use a two-sided test at the 5% significance level unless you argue for a different choice.

What a Strong Answer Covers Guidance

  • Computes the probability of 8 or more heads under a fair coin and the two-sided p-value, and draws the right conclusion at the 5% level.
  • Explains why failing to reject does not show the coin is fair, and ties that to the low power of 10 flips.
  • Sets up the one-sample sample size calculation with the null and alternative variances and rounds the result correctly.
  • Notes how the normal approximation differs from an exact binomial calculation.

Follow-up Questions Guidance

  • How do the p-value and the sample size change with a one-sided test that only looks for a bias toward heads?
  • What is a 95% confidence interval for the heads probability after 8 heads in 10 flips, and what does it add to the test?
  • Why can exact binomial power drop when you add one more flip?
  • If you checked the p-value after every 10 flips and stopped as soon as it fell below 0.05, what would happen to the false positive rate?