View source: R/MAPA_daily2FiskalWeek.R
MAPA_daily2FiskalWeek | R Documentation |
MAPA does not work on daily data well. Hence, data is aggregated to monthly data, forecasted and then disaggregated to weekly data of a Fiskal week (5-4-4 week months).
MAPA_daily2FiskalWeek(DailyTime, DailyData, SplitAt, ForecastHorizon = 12, ForecastHorizonMonthly = 12, FiskalMonthSeason = 12, FUN = sum, Confidence = c(0.95), na.rm = TRUE, ...)
DailyTime |
|
DailyData |
|
SplitAt |
Integer for splitting time of a monthly frequency |
ForecastHorizon |
Forecast horizon in weeks used after mapa modelling to generate output, numer of weeks can not be higher than the weeks given in the months of
|
ForecastHorizonMonthly |
Forecast horizon in months used in mapa, |
FiskalMonthSeason |
|
FUN |
|
Confidence |
|
na.rm |
|
... |
Further arguments for |
Multiple Aggregation Prediction Algorithm is used. Function assumes a regular time series of daily data and a split at the monthly level.
List of
MAPA_F |
data frame, 1:ForecastHorizon, testdata, testtime and forecast FF |
MAPA_Object |
|
Conf |
data frame, 1:ForecastHorizon of Confidence Intervall |
Other frequencies are under development
Michael Thrun
Kourentzes N., Petropoulos F., Trapero J.R. (2014) Improving forecasting by estimating time series structural components across multiple frequencies. International Journal of Forecasting, 30(2), 291–302.
Kourentzes N., Petropoulos F. (2015) Forecasting with multivariate temporal aggregation: The case of promotional modelling. International Journal of Production Economics.
mapa
, ~~~
## TODO
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.