predictLong | R Documentation |
A function to obtain predictions based on either filtering or smoothing distributions.
predictLong(
Y,
locs,
pInd,
locs.pred,
Brandom.pred = NULL,
Bfixed.pred,
return.samples = FALSE,
type = "Filter",
quantiles = NULL,
predict.derivatives = NULL,
excursions = NULL,
crps = FALSE,
crps.skip = 10,
Y.val,
mixedEffect_list,
measurment_list,
processes_list,
operator_list = NULL,
nSim = 1,
nBurnin = 10,
silent = FALSE,
max.num.threads = 2,
repeat.mix = 10,
seed = NULL
)
Y |
A numeric list that contains outcome values. |
locs |
A numeric list that contains the timings at which the outcomes are collected. |
pInd |
A numeric vector that contains the indices of longitudinal subjects for whom the predictions are to be obtained. |
locs.pred |
A numeric list that contains the timings of the repeated measurements. |
Brandom.pred |
A numeric list that contains random effects covaraite matrices. |
Bfixed.pred |
A numeric list that contains fixed effects covaraite matrices. |
type |
A character string for the type of prediction: |
quantiles |
A two-elemnent vector that contains the quantiles of the predictions to be calculated. |
predict.derivatives |
STUFF |
excursions |
A list of excursion probabilities to compute. Each list should contain:
|
crps |
A logical variable for calculating
continuous ranked probability score (CRPS); |
crps.skip |
A numerical value, say a, that indicates every ath element of the sample to be used to compute the crps score. |
Y.val |
Observations to use when calculating CRPS |
mixedEffect_list |
A list of inputs for random effects.
|
measurment_list |
A list of inputs for measurement error.
|
processes_list |
A list of inputs for the process.
|
nSim |
A numeric value for the number of samples of the Gibbs sampler to estimate the gradient. |
silent |
A logical value for printing the details of the iterations;
|
max.num.threads |
STUFF |
repeat.mix |
STUFF |
seed |
A numerical value for starting the Gibbs samplers from fixed seed. |
This function calls "predictLong_cpp"
internally.
It is wrapped by "predict.ngme"
, and not advised to be used.
.samples A logical variable for returning the
Monte Carlo samples used to compute the predictions; "TRUE"
indicates
return, "FALSE"
do not return.
A list of output.
predict.ngme
## Not run:
predictLong(...)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.