Create a subordinated Wiener process with as a subordinator.
Next define a compound Poisson process.
Compute the expected value of for and verify that this is approximately equal to times the expected value of .
Here is an example of a doubly stochastic Poisson process for which the intensity parameter evolves as a square-root diffusion.