predict_VaRCTE_prior | R Documentation |
Predicts the p
-th value-at-risk (VaR) and conditional tail expectation (CTE) of response,
given observations Y
, covariates X
, logit regression coefficients alpha
and a specified model
of expert functions.
predict_VaRCTE_prior(X, alpha, model, p, exposure_future = list())
X |
A matrix of covariates. |
alpha |
A matrix of logit regression coefficients. |
model |
A matrix specifying the expert functions. |
p |
A matrix of probabilities. |
exposure_future |
A vector indicating the time exposure (future) of each observation. If nothing is supplied,it is set to 1.0 by default. |
result: list(VaR
, CTE
)
VaR
: A matrix of predicted VaR of response, based on prior probabilities.
CTE
: A matrix of predicted CTE of response, based on prior probabilities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.