Simulating birth processes
The birth process
with the initial condition
See also: Birth process
Here, we want to simulate this process numerically to obtain some concrete sample paths like this one:
To do so, we first discretize the time variable so that we consider time steps with some small interval : .
Next, we exploit the Markov property of the birth process: Every birth is the first birth since the last one. That is, given at time , we may regard this as the "initial" condition for the next step: or . We can solve (Eq:Birth0) (with replaced with ) to find with the "initial" condition . A bit of exercise gives
which is the probability that (i.e., no birth during ). Accordingly, we have the probability that (i.e., one birth during ) as
Thus, the algorithm for simulating the birth process is the following:
- Set
; set k = 0. - Generate a uniformly distributed random number
. - If
, then set ; Otherwise, set . - Update
, go to Step 2, and repeat.
Comments
Post a Comment