Compute the fitted values from a carx
object.
Note that the existence of censoring invalidates the usual Markov property for an AR model.
Instead, the conditional distribution of \(Y^*_t\) given the past \(Y\)s and current
and past covariates is the same as the conditional distribution
\(D_t = D(Y^*_t|X_t, {(Y_{j}, X_j )}_{j=\tau}^{t-1} )\),
where \(1 \le \tau \le t-p\) is the largest integer \(t\) such that
none of \(Y_t;t=\tau+p-1,...,\tau\) is censored. In the case that \(\tau = t-p\),
the fitted value can be readily computed; otherwise, the fitted value is computed as the
mean of the distribution
\(D_t\) by the function mtmvnorm
from the package tmvtnorm.