Description Usage Arguments Details Value
For each series in dataset
, point and interval forecasting performance
are evaluated for all methods in methods
of ts_forec
with regard to MASE, sMAPE, MSIS, Spread, Coverage and Upper coverage.
1 | calc_scores(dataset, parallel = FALSE, num.cores = 2)
|
dataset |
the list containing the series. See details for the required format. |
parallel |
logical. If |
num.cores |
the specified amount of parallel processes to be used if parallel = TRUE. |
dataset
must be a list with each element having the following format:
a time series object ts
with the historical data.
the amount of future time steps to forecast.
a matrix with F
rows and n
columns. Each row contains
the fitted values of each method in methods
.
a matrix with F
rows and h
columns. Each row contains
the forecasts of each method in methods
.
a list with each element being the matrix of lower bounds for certain confidence level.
a list with each element being the matrix of upper bounds for certain confidence level.
A list with the elements having the following structure
a matrix with F
rows and h
columns. Each row contains
the MASE scores of each method in methods
.
Each column represents the MASE for the j-step point forecasts, where j=1,...,h.
a matrix with F
rows and h
columns. Each element
in the matrix denotes the sMAPE values.
a list with each element being a matrix for certain confidence level in
level
. The matrix contains the MSIS values in corresponding forecasting
horizon for each method.
a list with each element being a matrix for certain confidence level in
level
. The matrix contains the Spread values in corresponding forecasting
horizon for each method.
a list with each element being a matrix for certain confidence level in
level
. Each element in the matrix measures if the true value lies inside
the prediction interval.
a list with each element being a matrix for certain confidence level in
level
. Each element in the matrix measures if the true value is not larger than
the upper bound of the prediction interval.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.