Sheldon Ross 10 : Example 2.10

Question: Suppose that the number of typographical errors on a single page of this book has a Poisson distribution with parameter λ = 1. Calculate the probability that there is at least one error on this page.

This is a problem that has a straightforward calculation. In addition to solving the problem, we will also do a simulation to get a realization of the mean reaching λ in the long run. Also trying some cool visualizations here 😉


Step 01: Numerical Solution

We need the probability that the number of errors is at-least one.

P{ X ≥ 1 }   =   1 – P{ X = 0 }   =   e λxx! = 1 – e-1 = 0.632121


Step 02: Simulation and Visualization

In each of the squares, the thin horizontal lines are the number of events that happened in that second. The redline tracks mean as the events accumulate. See how the mean reaches the equilibrium gradually (even though they start out in a rugged manner).

The code for the above image is below and also download the code here sheldon_ross_example_2.10


End of the post


.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.