9807

Consecutive Heads or Tails

For a homework assignment in a statistics course, half the class was asked to record the actual results of 100 coin tosses while the other half was asked to fake the same results by writing down what they thought might be a reasonable random sequence of heads and tails. With only a quick glance at a student's homework, the professor was able to determine whether the statistics were real or faked, with 90% accuracy! The giveaway clue was the occurrence of runs of 5, 6 or even 7 consecutive heads or tails. These are likely to occur in actual sequences, contrary to some naive intuitive notions about randomness.
This feature of random distributions is fairly simple to deduce. Since the probability of heads in a single coin toss is , the probability of a run of five heads equals . But a series of 100 coin tosses contains 96 sequences of length five. So there is a strong likelihood that at least one run of five heads (or tails) will occur; in fact, an 81% chance. Analogously, runs of 6 occur with a probability of 55%, runs of 7 with 32% and runs of 8 with 16%.
In this Demonstration, Mathematica's random number generator simulates up to 500 coin tosses. You can generate a new sequence of heads and tails by changing the seed value.
Similarly, every basketball player is likely to experience both "hot" and "cold" shooting streaks, like the runs of heads or tails shown here. This is an unavoidable consequence of the mathematics of statistics. However, many players and coaches refuse to believe this!

SNAPSHOTS

  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.







Related Curriculum Standards

US Common Core State Standards, Mathematics



 
RELATED RESOURCES
Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2014 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+