Generate n independent samples of a Poisson (α = 5) random variable Y. For each y ∈ SY , let n(y) denote the number of times that y was observed. Thus
and the relative frequency of y is R(y) = n(y)/n. Compare the relative frequency of y against PY (y) by plotting R(y) and PY (y) on the same graph as functions of y for n = 100, n = 1000 and n = 10,000. How large should n be to have reasonable agreement?