A metric of prediction accuracy of joint model by comparing the predicted risk with the empirical risks stratified on different predicted risk group.
MAEQJMMLSM(
seed = 100,
object,
landmark.time = NULL,
horizon.time = NULL,
obs.time = NULL,
method = c("Laplace", "GH"),
quadpoint = NULL,
maxiter = 1000,
survinitial = TRUE,
n.cv = 3,
quantile.width = 0.25,
opt = "nlminb",
initial.para = FALSE,
...
)a list of matrices with conditional probabilities for subjects.
a numeric value of seed to be specified for cross validation.
object of class 'JMMLSM'.
a numeric value of time for which dynamic prediction starts..
a numeric vector of future times for which predicted probabilities are to be computed.
a character string of specifying a longitudinal time variable.
estimation method for predicted probabilities. If Laplace, then the empirical empirical
estimates of random effects is used. If GH, then the standard Gauss-Hermite quadrature is used.
the number of standard Gauss-Hermite quadrature points if method = "GH".
the maximum number of iterations of the EM algorithm that the function will perform. Default is 10000.
Fit a Cox model to obtain initial values of the parameter estimates. Default is TRUE.
number of folds for cross validation. Default is 3.
a numeric value of width of quantile to be specified. Default is 0.25.
Optimization method to fit a linear mixed effects model, either nlminb (default) or optim.
Initial guess of parameters for cross validation. Default is FALSE.
Further arguments passed to or from other methods.
Shanpeng Li lishanpeng0913@ucla.edu
JMMLSM, survfitJMMLSM