Theory 1

Repeated trials

When a single experiment type is repeated many times, and we assume each instance is independent of the others, we say it is a sequence of repeated trials or independent trials.

The probability of any sequence of outcomes is derived using independence together with the probabilities of outcomes of each trial.


A simple type of trial, called a Bernoulli trial, has two possible outcomes, 1 and 0, or success and failure, or T and F. A sequence of repeated Bernoulli trials is called a Bernoulli process.

  • Write sequences like TFFTTF for the outcomes of repeated trials of this type.
  • Independence implies
P[TFFTTF]=P[T]P[F]P[F]P[T]P[T]P[F]
  • Write p=P[T] and q=P[F], and because these are all outcomes (exclusive and exhaustive), we have q=1p. Then:
P[TFFTTF]pqqppqp3q3
  • This gives a formula for the probability of any sequence of these trials.

A more complex trial may have three outcomes, A, B, and C.

  • Write sequences like ABBACABCA for the outcomes.
  • Label p=P[A] and q=P[B] and r=P[C]. We must have p+q+r=1.
  • Independence implies
P[ABBACABCA]pqqprpqrpp4q3r2
  • This gives a formula for the probability of any sequence of these trials.

Let S stand for the sum of successes in some Bernoulli process. So, for example, “S=3” stands for the event that the number of successes is exactly 3. The probabilities of S events follow a binomial distribution.

Suppose a coin is biased with P[H]=20%, and H is ‘success’. Flip the coin 20 times. Then:

P[S=3](203)(0.2)3(0.8)17

Each outcome with exactly 3 heads and 17 tails has probability (0.2)3(0.8)17. The number of such outcomes is the number of ways to choose 3 of the flips to be heads out of the 20 total flips.

The probability of at least 18 heads would then be:

P[S18]P[S=18]+P[S=19]+P[S=20](2018)(0.2)18(0.8)2+(2019)(0.2)19(0.8)1+(2020)(0.2)20(0.8)0

With three possible outcomes, A, B, and C, we can write sum variables like SA which counts the number of A outcomes, and SB and SC similarly. The probabilities of events like (SA,SB,SC)=(2,3,5) follow a multinomial distribution.