Skip to main content
Statistics LibreTexts

5.4: Gambler's Fallacy

  • Page ID
    2107
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Learning Objectives

    • Understand the link between the number of trials and expected outcome of probability distributions

    Instructions

    The gambler's fallacy involves beliefs about sequences of independent events. By definition, if two events are independent, the occurrence of one event does not affect the occurrence of the second. For example, if a fair coin is flipped twice, the occurrence of a head on the first flip does not affect the outcome of the second flip.

    What if a coin is flipped five times and comes up heads each time. Is a tail "due" and therefore more likely than not to occur on the next flip. Since the events are independent, the answer is "no."

    The gambler's fallacy is mistakenly believing that the answer is "yes." Believers in the fallacy argue correctly that in the long run, the proportion of heads will be \(0.50\). Or, stated more precisely, as the number of flips approaches infinity, the proportion of heads approaches \(0.50\). Doesn't this imply that there must be some natural adjustment occurring, compensating for a string of heads with the later occurrence of more tails?

    This simulation allows you to explore this question yourself. You can simulate the flipping of a single coin by clicking the "flip once" button. The number of flips (\(n\)), the number of heads, the number of tails, the difference between the number of heads and the number of tails, and the proportion of heads are all recorded and displayed.

    To speed things up, you can click the "Flip \(100\) times" or the "Flip \(1000\) times" buttons. The "reset" button clears all the data. The lower portion of the simulation allows you to simulate \(25,000\) flips at a time. After you click the "Flip \(25,000\) times and draw graphs" button, the graph on the left will plot the difference between the number of heads and tails as a function of the number of coin flips. The graph on the right will plot the proportion of heads as a function of the number of coin flips.

    Illustrated Instructions

    The gambler's fallacy demonstration allows you to flip a fair coin in a variety of increments. Each time you click one of these buttons the total number of coin flips is increased by the increment on the respective button.

    gambler1.jpg
    Figure \(\PageIndex{1}\): Gambler's fallacy demonstration

    The screenshot below shows what happens when you click the "Flip \(25,000\) times...". The demonstration draws to graphs the first of which shows the Heads minus Tails for all trials and the second shows the proportion of heads for all trials. Clicking this button repeatedly increments the number of trials and adjusts the graphs accordingly.

    gambler2.jpg
    Figure \(\PageIndex{2}\): What happens when you click "Flip \(25,000\) times" button

    This page titled 5.4: Gambler's Fallacy is shared under a Public Domain license and was authored, remixed, and/or curated by David Lane via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.