Gallery

Significance Tests & p-values

by Anonymous · 1 · 🍴 0

If a coin lands heads 15 out of 20 times—is it chance or not? Build a simulated distribution under the null hypothesis to estimate the p-value, then change the significance level α and see when the decision flips.

🔗 Open in a new tabShare on XOpens X in a new tab with a post ready to edit — nothing is posted until you send it.

About this app

An interactive statistics lesson that uses a 20-flip coin example to introduce significance testing and p-values. Explore how observed heads counts compare with a fair-coin expectation, build a simulated sampling distribution, and change the significance level α to see when the verdict changes between reject and fail to reject.

Use cases

  • High school students learning hypothesis testing
  • Teachers demonstrating p-values with classroom simulations
  • Learners exploring random variation in coin-flip results
  • Anyone practicing the relationship between p-values and α

Features

  • Adjust the observed number of heads across several values
  • Run 20-flip fair-coin simulations in batches of 1, 10, or 100
  • Visualize the distribution of simulated head counts
  • Highlight simulations at least as extreme as the observation
  • Compare estimated p-values with adjustable significance levels
  • Record reject or fail-to-reject judgments as α changes