5. Stochastic Processes Driven by a Poisson Counting Process#
We now study a class of differential equations that are driven by the generalized derivative \(dN/dt\) of a Poisson counting process, the white noise built in 3. The Poisson Counting Process. We can represent the equation that we study formally in three alternative ways.
with \(x(0)\) given and \(t \geq 0\).
Here \(N(t)\) is a Poisson counting process with rate \(\lambda > 0\), and \(f(x,\, t)\) and \(g(x,\,t)\) are continuous functions. (Add additional regularity conditions.) We now want to define what we mean by a solution to the differential equation (19).
Definition 9
A stochastic process \(x(t)\) is said to be a solution of the stochastic differential equation (19) in the Ito sense if:
(i) on an interval where \(N(t)\) is constant, \(x(t)\) satisfies the ordinary differential equation \(dx/dt = f(x,\,t)\);
(ii) when \(N(t)\) jumps at \(t_i\), then
and
(iii) \(x(t)\) is continuous from the left.
Note
3. The Poisson Counting Process drew \(N(t)\) as right continuous, so at an arrival time it has already jumped. Part (iii) makes the solution \(x(t)\) left continuous, so at an arrival time \(t_i\) the value \(x(t_i)\) is still the pre-jump one. The two conventions work together. Left continuity of \(x\) makes the integrand in \(\int g(x(s),\, s)\, dN(s)\) depend on the history strictly before each arrival, hence independent of whether the counter jumps at that instant. That independence is property (b) invoked below in deriving rule (23), and it is what “in the Ito sense” refers to in Definition 9: evaluate the integrand at the left limit. The now more common càdlàg convention takes \(x\) right continuous and replaces the left limits in (ii) by right limits. Every moment formula below survives that change, since the two versions of \(x\) differ only on the countable set of arrival times, a set of Lebesgue measure zero.
The solution concept is illustrated in Fig. 3.
Fig. 3 Figure 1. The solution concept for a Poisson-driven stochastic differential equation. Between the arrival times \(t_i\) the path \(x(t)\) satisfies the ordinary differential equation \(dx/dt = f(x,\, t)\) (the smooth segments). At each arrival time \(t_i\), \(x(t)\) jumps by the amount \(g\bigl(\lim_{t \uparrow t_i} x(t),\, t_i\bigr)\), evaluated at the pre-jump left limit as Definition 9 requires (the dashed vertical segments). The solution is continuous from the left: at \(t_i\) the value \(x(t_i)\) equals the left limit (filled dot), while the post-jump value is the right limit (open dot).#
As a first example, consider the stochastic differential equation
with \(x(0) = 1\).
Using the definition, we find that for \(0 \leq t \leq t_1\),
We also find that
Therefore
Continuing, we find that
and so on.
As our second example, we characterize the solution of the stochastic differential equation
subject to \(x(0) = 1\). Applying the definition of a solution, we find that
or
This stochastic process, which switches between \(+1\) and \(-1\) at the random arrival times \(t_i\), is called a random telegraph wave.
It is also possible to characterize a random telegraph in terms of a pair of functions
The probabilities \(p_1(t)\), \(p_{-1}(t)\) evolve according to
subject to \(p_1(0) + p_{-1}(0) = 1\), where \(\lambda\) is the rate of the Poisson counter \(N(t)\).
We can also give a representation of the sample paths of a random telegraph wave as
where \(\{t_j\}\) are the random arrival times of a Poisson counter with rate \(\lambda > 0\). The generalized derivative of the process can be represented
We now describe three useful rules for manipulating stochastic differential equations that are driven by Poisson counting processes. In 7. Stochastic Differential Equations Driven by a Wiener Process the Wiener-driven analogues of these same three rules, Itô’s rule among them, are obtained as the \(\lambda \to \infty\) limit of the ones developed here. We consider an \(n \times 1\) vector stochastic process \(x(t)\) that is governed by
where \(f\): \(R^n \to R^n,\ g_i\): \(R^n \to R^n\), and \(N_1(t),\ \ldots,\ N_m(t)\) are statistically independent Poisson counting processes with rates \(\lambda_1,\ \ldots,\ \lambda_m\). We consider a vector function \(\Psi(x)\): \(R^n \to R^k\).
Then it follows immediately from Definition 9 that \(\Psi(x)\) satisfies the stochastic differential equation
Together with Definition 9, equation (20) states that:
(i) in intervals in which there are no arrivals, \(\Psi(x)\) satisfies the ordinary differential equation \(d\Psi(x)/dt = \left\langle \frac{\partial \Psi}{\partial x},\ f(x,\,t)\right\rangle\ dt\); (ii) at arrival times \(t_j\) of any of the \(N_i(t)\) processes
(iii) \(\Psi(x(t))\) is continuous from the left.
Notice that since \(\lim_{t\downarrow t_j}\ x(t) = \lim_{t \uparrow t_j}\ (x(t) + g_i(x(t),\, t)))\), the rule (20) and its implication delivers the property that the solution \(\Psi(x)\) is the desired function \(\Psi(x)\) at all points, including the arrival times \(t_j\), which are the discontinuities of \(x(t)\).
As an example of the use of this rule, we desire to find a differential equation for
where \(x(t)\) obeys
We set \(\Psi(x) = x^2\), and find
or
As a second example, take the differential equation that generates the random telegraph wave,
We want to find a stochastic differential equation for \(y = x^2\),
or
With the initial condition \(x(0)^2 = 1\), this implies that \(x^2(t) = 1\) for all \(t \geq 0\).
We now describe a second rule that is useful for computing expectations. We consider the differential equation
where the \(N_i(t)\) are \(m\) independent Poisson counters with rates \(\lambda_i\). We seek to evaluate
We express the second integral using
We now use the following two properties of the Poisson counter: (a) \(E(N_i(t) - \lambda_i t) = 0\), (b) the probability that \(N_i(t)\) jumps in \([t,\, t + \Delta]\) is independent of \(x(t)\).
These imply that \(E \int_t^{t + \Delta}\, g_i\, (x(s),\, s)\ (dN_i - \lambda_i\, ds) = 0\).
Using this result in (21) and (22), dividing by \(\Delta\), and taking the limit as \(\Delta \to 0\) gives
As an example of the use of (23), we reconsider the stochastic differential equation
which implied
where \(N_1\) and \(N_2\) are independent Poisson counters with rates \(\lambda_1\) and \(\lambda_2\). Applying rule (23), we find that
We now derive a third rule, which can be used to calculate the autocorrelation function of the \(x(t)\) process. We again consider the stochastic differential equation
We express the solution as
For \(t < \tau\), we have
Taking expectations of both sides gives
We also express this equation as
which implies, via our rule (23), that
Equivalently, we can express this rule as
As an example, consider the random telegraph wave, which is determined by the solution to the stochastic differential equation
We have
This implies that
or
The solution of this differential equation in \(\tau\) is
If we start the random telegraph wave with random initial condition \(\text{Prob }\, \{x(0) = 1\} = \text{ Prob }\, \{x(0) = -1\} = 1/2\), we find that
which implies that
so that
In this case, the random telegraph wave is a stationary stochastic process, and has autocorrelation function given by
Note that the random telegraph wave is mean square continuous, but not mean square differentiable.
As a second example, consider the stochastic differential equation
where \(N_1\) and \(N_2\) are two Poisson counters with identical rates \(\lambda\). Applying (24), we find that
which implies that
A useful example is the stochastic process \(x(t)\) governed by the stochastic differential equation
with \(x(0) = 0\), and where \(N_1\) and \(N_2\) are independent Poisson counting processes each with rate \(\lambda/2\). Applying formulas (23), we find that
which, together with \(x(0) = 0\), implies that
We use formula (20) to derive a differential equation for \(x^2\), namely
or
Applying formula (23) to the above equation, we find that
Since \(x(0) = 0\) implies that \(Ex(0)^2 = 0\), the above ordinary differential equation for \(Ex(t)^2\) has the solution
Finally, applying formula (24), we have that for \(\tau > 0\)
Therefore, we have that
In summary, the process governed by the differential equation
where \(N_1\) and \(N_2\) are independent Poisson counters with rate \(\lambda/2\), is an example of a random walk. It has mean zero and autocorrelation function
The process is mean square continuous, but not mean square differentiable. Its derivative exists only in the sense of a “generalized stochastic process.” This random walk, taken to the limit \(\lambda \to \infty\), is precisely the construction from which the Wiener process is obtained in 6. The Wiener Process.
As our next example, we give alternative representations of the “generalized Poisson process.” Let \(a(t)\) be a continuum of independent, identically distributed normal random variables each with mean zero and variance \(\sigma_a^2\). A generalized Poisson process \(y(t)\) can then be represented as
or
where \(\tau_i\) is the \(i^{th}\) arrival time of a Poisson counter with rate \(\lambda\). An alternative representation in terms of an Ito stochastic differential equation is
where \(N(t)\) is a Poisson counting process with rate \(\lambda\) and where the normal random variate \(a(t)\) enters as \(g(x(t),\, t)\) in formula (19). Applying rule (20) to derive a differential equation for \(y(t)^2\), we obtain
Since \(a(t)\) is independent of \(y(t)\), applying rule (23), we find
so that
We also have
Finally, for \(\tau > 0\), we have from rule (24) that
Therefore, for \(\tau > 0\),
Thus, the generalized Poisson process is a random walk. At the random arrival times \(\tau_i\), the process \(y(t)\) takes a jump of random size \(a(\tau_i)\). Since the normal distribution that governs \(a(\tau_i)\) is symmetric about zero, the process is as likely to jump upward as it is to jump downward. This is why the process has no “drift,” i.e., it has zero mean for all \(t\). The process is mean square continuous, but not mean square differentiable. The derivative \(dy(t)/dt\) given by (25) exists in the sense of a generalized stochastic process. This derivative is an example of a white noise, its autocorrelation function being a delta function \(\sigma_a^2 \lambda \delta(\tau)\). In our work below, such a white noise is a valid input into a linear system. For example, if we define
we might be interested in the process,
where \(h(\tau)\) is a continuous function in \(L_2\, [0,\, \infty]\). By substituting (26) into (27) and exchanging orders of integration and summation, we find that
Later, the process \(z(t)\) will be shown to be a covariance stationary one for which the first and second moments are readily computed.
Exercises#
import numpy as np
import matplotlib.pyplot as plt
Exercise 3
The random telegraph wave switches between \(+1\) and \(-1\) at the arrival times of a Poisson counter of rate \(\lambda\). Equivalently, if \(N(t)\) is the counter and \(x(0)\) is \(\pm 1\) with equal probability, then
When the initial sign is equally likely to be \(+1\) or \(-1\), the text shows the process is stationary with mean zero and autocorrelation
(a) Simulate and plot one sample path with \(\lambda = 1\).
(b) Estimate the autocovariance \(R(\tau)\) by averaging \(x(t)\,x(t+\tau)\) over an ensemble of simulated paths, and compare it with \(e^{-2\lambda\tau}\).
Solution to Exercise 3
The sign of \(x(t)\) flips each time the Poisson counter advances, so on a time grid we only need the number of arrivals up to each grid point. We obtain that count by searching the sorted arrival times.
rng = np.random.default_rng(0)
def telegraph_path(lam, grid, rng):
"""A random telegraph wave sampled on `grid`, with random initial sign."""
T = grid[-1]
times, t = [], 0.0
while True:
t += rng.exponential(1.0 / lam)
if t > T:
break
times.append(t)
n_arrivals = np.searchsorted(np.array(times), grid, side='right')
x0 = rng.choice([-1.0, 1.0])
return x0 * (-1.0) ** n_arrivals
lam = 1.0
dt = 0.02
grid = np.arange(0.0, 40.0 + dt, dt)
# (a) one sample path
fig, ax = plt.subplots(figsize=(10, 3))
ax.step(grid, telegraph_path(lam, grid, rng), where='post')
ax.set_ylim(-1.5, 1.5); ax.set_xlabel('$t$'); ax.set_ylabel('$x(t)$')
ax.set_title('A random telegraph wave')
plt.show()
# (b) estimate the autocovariance over an ensemble of paths
n_paths = 1500
L = len(grid)
X = np.empty((n_paths, L))
for i in range(n_paths):
X[i] = telegraph_path(lam, grid, rng)
max_lag = int(2.0 / dt)
acf = np.array([np.mean(X[:, :L - k] * X[:, k:]) for k in range(max_lag)])
taus = np.arange(max_lag) * dt
fig, ax = plt.subplots(figsize=(8, 4))
ax.plot(taus, acf, 'o', ms=3, label=r'simulated $R(\tau)$')
ax.plot(taus, np.exp(-2 * lam * taus), 'r-', lw=2, label=r'$e^{-2\lambda\tau}$')
ax.set_xlabel(r'$\tau$'); ax.set_ylabel(r'$R(\tau)$')
ax.legend()
plt.show()
The simulated autocovariance falls on the exponential \(e^{-2\lambda\tau}\), confirming the analytical result. Note that \(R(\tau)\) has a kink at \(\tau = 0\): the telegraph wave is mean square continuous but not mean square differentiable.