DLSSM.predict | R Documentation |
do K-steps ahead prediction of state vector and probabilities based on current fitted model
DLSSM.predict(fit, K, newx)
fit |
A object generated by function DLSSM.init() or DLSSM.filter() |
K |
K-steps ahead of prediction |
newx |
optionally, a covariate matrix of subjects if it is needed to predict their probabilities. |
coef.pred | Matrix with row dimension K, including one-step ahead to K-steps ahead coefficients prediction. The k-th row correspond to k-step ahead prediction. |
coef.pred.var | Array of covariance matrix corresponding to coef.pred. |
prob.pred | Matrix with column dimension K, including predicted probabilities of subjects if covariates are provided. The k-th column correspond to k-step ahead prediction. |
Jiakun Jiang, Wei Yang, Stephen E. Kimmel and Wensheng Guo
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.