Example 1 A sequence of outcomes of spins of a fair or unfair
roulette wheel is
i.i.d. One implication of this is that if the roulette ball lands on "red", for example, 20 times in a row, the next spin is no more or less likely to be "black" than on any other spin (see the
gambler's fallacy).
Example 2 Toss a coin 10 times and write down the results into variables A_1,\ldots,A_{10}. •
Independent: Each outcome A_i will not affect the other outcome A_j (for i\neq j from 1 to 10), which means the variables A_1,\ldots,A_{10} are independent of each other. •
Identically distributed: Regardless of whether the coin is fair (with a probability of 1/2 for heads) or biased, as long as the same coin is used for each flip, the probability of getting heads remains consistent across all flips. Such a sequence of i.i.d. variables is also called a
Bernoulli process.
Example 3 Roll a die 10 times and save the results into variables A_1,\ldots,A_{10}. •
Independent: Each outcome of the die roll will not affect the next one, which means the 10 variables are independent from each other. •
Identically distributed: Regardless of whether the die is fair or weighted, each roll will have the same probability of seeing each result as every other roll. In contrast, rolling 10 different dice, some of which are weighted and some of which are not, would not produce i.i.d. variables.
Example 4 Choose a card from a standard deck of cards containing 52 cards, then place the card back in the deck. Repeat this 52 times. Observe when a king appears. •
Independent: Each observation will not affect the next one, which means the 52 results are independent from each other. In contrast, if each card that is drawn is kept out of the deck, subsequent draws would be affected by it (drawing one king would make drawing a second king less likely), and the observations would not be independent. •
Identically distributed: After drawing one card from it (and then returning the card to the deck), each time the probability for a king is 4/52, which means the probability is identical each time. ==Generalizations==