Q.pred {flexmsm} | R Documentation |
Predict and plot the transition intensities
Description
Function to predict and plot the estimated transition intensities (and confidence intervals).
Usage
Q.pred(object, newdata, get.CI = TRUE,
n.sim.CI = 1000, prob.lev = 0.05,
plot.Q = FALSE, which.plots = NULL,
cond.list.2d = NULL, plot.Q.2d = FALSE,
rug = TRUE, ...)
Arguments
object |
Fitted model object. |
newdata |
Dataframe containing the profile for which one wished to obtain the predicted transition intensities. |
get.CI |
Whether to compute the confidence intervals. |
n.sim.CI |
Number of simulations to be used for confidence intervals computation. |
prob.lev |
Probability level of confidence intervals. |
plot.Q |
Whether to output plots of transition intensities. |
which.plots |
Number between 1 and the maximum number of non-null transition intensities. This can be used if only some plots are to be plotted. |
cond.list.2d |
Value of covariate(s) to be kept fixed in the plotting of 3D-transition intensities. |
plot.Q.2d |
Whether to plot 3D transition intensities (only valid if 2D-smooths are present). |
rug |
Whether to include a rugplot of the observed transition times. |
... |
Other graphical parameters. |
Value
Estimated transition intensities (and confidence intervals).
Q.hist |
List of predicted transition intensity matrices computed at each time point specified in |
Q.CI.lower |
Matrix containing the lower bounds of the confidence intervals for the predicted transition intensity matrix. |
Q.CI.upper |
Matrix containing the upper bounds of the confidence intervals for the predicted transition intensity matrix. |
full.X |
Full design matrix corresponding to the |
Q.sim.hist |
List of transition intensity matrices simulated to obtain the confidence intervals at each time point from |