Mathwords logoMathwords

Probability Matching — Definition, Formula & Example

Probability matching is a decision habit in which you predict each outcome of a repeated random event as often as that outcome occurs. For example, you guess 'heads' 70% of the time on a coin that lands heads 70% of the time. Always guessing the more likely outcome would win more often.

Consider independent trials with two outcomes, where AA has probability pp and Aˉ\bar{A} has probability 1−p1-p. A probability-matching strategy predicts AA with probability pp and Aˉ\bar{A} with probability 1−p1-p, independently of the actual outcome. Its expected accuracy is p2+(1−p)2p^2 + (1-p)^2. That value is strictly less than the accuracy of the maximizing strategy, max⁡(p,1−p)\max(p, 1-p), whenever 0<p<10 < p < 1 and p≠12p \neq \tfrac{1}{2}.

Key Formula

P(correct)=p⋅p+(1−p)(1−p)=p2+(1−p)2P(\text{correct}) = p \cdot p + (1-p)(1-p) = p^2 + (1-p)^2
Where:
  • pp = Probability of the more frequent outcome on each independent trial
  • 1−p1-p = Probability of the less frequent outcome (its complement)
  • P(correct)P(\text{correct}) = Expected proportion of correct predictions under probability matching

How It Works

A prediction is correct in two disjoint ways. You predict AA and AA occurs, or you predict Aˉ\bar{A} and Aˉ\bar{A} occurs. Because your guess is independent of the outcome, multiply within each case and then add the two cases. For p≥12p \ge \tfrac{1}{2}, the gap between maximizing and matching is p−[p2+(1−p)2]=(2p−1)(1−p)p - [p^2 + (1-p)^2] = (2p-1)(1-p). That gap is never negative, so matching can never beat always choosing the likelier outcome.

Worked Example

Problem: A signal light flashes green 70% of the time and red 30% of the time, and each flash is independent. Over 100 flashes, you guess the color before each one. Compare two strategies. Under matching, you guess green on 70% of flashes and red on 30%. Under maximizing, you always guess green.
Step 1: Find the matching strategy's accuracy. A correct guess happens when you guess green and green flashes, or when you guess red and red flashes. These cases are disjoint, so add their probabilities.
P(correct)=(0.7)(0.7)+(0.3)(0.3)=0.49+0.09=0.58P(\text{correct}) = (0.7)(0.7) + (0.3)(0.3) = 0.49 + 0.09 = 0.58
Step 2: Find the maximizing strategy's accuracy. You always guess green, so you are right exactly when green flashes.
P(correct)=0.70P(\text{correct}) = 0.70
Step 3: Convert both accuracies to expected correct guesses over 100 flashes and compare them.
100(0.58)=58,100(0.70)=70,70−58=12100(0.58) = 58, \quad 100(0.70) = 70, \quad 70 - 58 = 12
Answer: Matching gives about 58 correct guesses out of 100. Maximizing gives about 70. Always guessing green is better by an expected 12 correct guesses.

Why It Matters

Probability matching is a well-studied violation of rational choice in cognitive psychology and behavioral economics. People and animals show it in repeated-prediction experiments. In machine learning, the same idea is used on purpose in Thompson sampling for multi-armed bandit problems. There, the probabilities are unknown and must be learned through Bayesian updating, so occasionally choosing the less likely option is worthwhile.

Common Mistakes

Mistake: Believing your guesses should 'look like' the data, so you sometimes guess red to stay in step with the 30% red rate.
Correction: When trials are independent and pp is known, past flashes tell you nothing about the next one. Every guess has its best chance with the likelier outcome, so always predict it. Mixing in the rarer outcome only adds ways to be wrong.

Related Terms

  • Probability — The outcome likelihoods that guess frequencies are matched to
  • Bernoulli Trials — Models each independent two-outcome flash being predicted
  • Complement of an Event — Supplies the 1 - p probability of the rarer outcome
  • Addition Rule — Combines the two disjoint ways a guess is correct
  • Bayes' Theorem — Updates unknown probabilities, as in Thompson sampling strategies
  • Experiment — Defines the repeated random process people make predictions about