EQRN_excess_probability_seq | R Documentation |
Tail excess probability prediction using an EQRN_seq object
EQRN_excess_probability_seq(
val,
fit_eqrn,
X,
Y,
intermediate_quantiles,
interm_lvl = fit_eqrn$interm_lvl,
crop_predictions = FALSE,
body_proba = "default",
proba_type = c("excess", "cdf"),
seq_len = fit_eqrn$seq_len,
device = default_device()
)
val |
Quantile value(s) used to estimate the conditional excess probability or cdf. |
fit_eqrn |
Fitted |
X |
Matrix of covariates to predict the response's conditional excess probabilities. |
Y |
Response variable vector corresponding to the rows of |
intermediate_quantiles |
Vector of intermediate conditional quantiles at level |
interm_lvl |
Optional, checks that |
crop_predictions |
Whether to crop out the fist |
body_proba |
Value to use when the predicted conditional probability is below |
proba_type |
Whether to return the |
seq_len |
Data sequence length (i.e. number of past observations) used to predict each response quantile.
By default, the training |
device |
(optional) A |
Vector of probabilities (and possibly a few body_proba
values if val
is not large enough) of length nrow(X)
(or nrow(X)-seq_len
if crop_predictions
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.