View source: R/cdc_baseline_forecaster.R
cdc_baseline_args_list | R Documentation |
Constructs a list of arguments for cdc_baseline_forecaster()
.
cdc_baseline_args_list(
data_frequency = "1 week",
aheads = 1:5,
n_training = Inf,
forecast_date = NULL,
quantile_levels = c(0.01, 0.025, 1:19/20, 0.975, 0.99),
nsims = 100000L,
symmetrize = TRUE,
nonneg = TRUE,
quantile_by_key = "geo_value",
...
)
data_frequency |
Integer or string. This describes the frequency of the
input |
aheads |
Integer vector. Unlike |
n_training |
Integer. An upper limit for the number of rows per
key that are used for training
(in the time unit of the |
forecast_date |
Date. The date from which the forecast is occurring.
The default
|
quantile_levels |
Vector or |
nsims |
Positive integer. The number of draws from the empirical CDF.
These samples are spaced evenly on the (0, 1) scale, F_X(x) resulting
in linear interpolation on the X scale. This is achieved with
|
symmetrize |
Logical. The default |
nonneg |
Logical. Force all predictive intervals be non-negative.
Because non-negativity is forced before propagating forward, this
has slightly different behaviour than would occur if using
|
quantile_by_key |
Character vector. Groups residuals by listed keys
before calculating residual quantiles. See the |
... |
Space to handle future expansions (unused). |
A list containing updated parameter choices with class cdc_flat_fcast
.
cdc_baseline_args_list()
cdc_baseline_args_list(symmetrize = FALSE)
cdc_baseline_args_list(quantile_levels = c(.1, .3, .7, .9), n_training = 120)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.