Calculate quantiles based on predictions from the predictive distribution
# S3 method for stochvolTMB_predict
summary(object, ..., quantiles = c(0.025, 0.975), predict_mean = TRUE)
A list of data.table
s. One for y
, h
and h_exp
.
A stochvolTMB_summary
object.
Not used.
A numeric vector specifying which quantiles to calculate.
bool. Should the mean be predicted?