Simulating Coin Flips
a. Simulate flipping a coin 20 times. Use the line of random numbers below to obtain and report the resulting list of heads and tails. Use odd numbers (1, 3, 5, 7, 9) for heads and even numbers for tails (0, 2, 4, 6, 8).
14709 93220 89547 95320
b. Judging on the basis of these 20 trials, what is the empirical probability of getting heads?