predict.STBDwDM {womblR} | R Documentation |
predict.STBDwDM
Description
Predicts future observations from the STBDwDM
model.
Usage
## S3 method for class 'STBDwDM'
predict(object, NewTimes, ...)
Arguments
object |
a |
NewTimes |
a numeric vector including desired time(s) points for prediction. |
... |
other arguments. |
Details
predict.STBDwDM
uses Bayesian krigging to predict vectors at future
time points. The function returns the krigged observed outcomes along with the
observational level parameters (mu
, tau
, and alpha
).
Value
predict.STBDwDM
returns a list containing the following objects.
MuTauAlpha
A
list
containing three matrices,mu
,tau
andalpha
. Each matrix is dimensionNKeep x s
, wheres
is the number of new time points. Each matrix contains posterior samples obtained by Bayesian krigging.Y
A
list
containings
posterior predictive distribution matrices. Each matrix is dimensionNKeep x s
, wheres
is the number of new time points. Each matrix is obtained through Bayesian krigging.
Author(s)
Samuel I. Berchuck