EQRN_predict_seq | R Documentation |
Predict function for an EQRN_seq fitted object
EQRN_predict_seq(
fit_eqrn,
X,
Y,
prob_lvls_predict,
intermediate_quantiles,
interm_lvl,
crop_predictions = FALSE,
seq_len = fit_eqrn$seq_len,
device = default_device()
)
fit_eqrn |
Fitted |
X |
Matrix of covariates to predict the corresponding response's conditional quantiles. |
Y |
Response variable vector corresponding to the rows of |
prob_lvls_predict |
Vector of probability levels at which to predict the conditional quantiles. |
intermediate_quantiles |
Vector of intermediate conditional quantiles at level |
interm_lvl |
Optional, checks that |
crop_predictions |
Whether to crop out the fist |
seq_len |
Data sequence length (i.e. number of past observations) used to predict each response quantile.
By default, the training |
device |
(optional) A |
Matrix of size nrow(X)
times prob_lvls_predict
(or nrow(X)-seq_len
times prob_lvls_predict
if crop_predictions
)
containing the conditional quantile estimates of the corresponding response observations at each probability level.
Simplifies to a vector if length(prob_lvls_predict)==1
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.