e>ollwsdrt</code> were recorded at every visit, instead of just at baseline, and we want to predict risk based on a model with these risk factors as covariates.</p>
<p>We can only use <code>pmatrix.piecewise.msm</code> if we specify how the risk factors themselves will change in the future, which will be unknown in practice.</p>
<p>If we don’t want to condition on a specific future trajectory for the risk factors, we could build a <em>joint model</em> for the clinical state and the risk factors, hence pre