I am trying to create a computer program to simulate a Poisson process.
Problem : A business man parks illegally for 2 hours each day (1 hour * 2 occurrence), given that rate of police patrol $\lambda = 0.6$ patrols/hour.
How do I calculate the probability, from the sample as in (given)/(total), that if I increase the number of days sample, i will find the probability of the businessman being fined as :
$1-e^{-\lambda \tau } = 1-e^{-0.6*2}$
Sample: Sample for 8 days