e></pre>
<p>This model specifies the log intensity as a linear function of age. When fitting it, we assume that in the data, people’s ages don’t change in between their visits.</p>
<p>Now we want to <em>predict</em> the transition probability matrix that governs the state 5 years from now, for someone who is currently aged 50. We must assume the future intensities for the predicted individual are <em>piecewise constant</em>.</p>
<p>Then we can make an approximate prediction using the function <code>pmat