-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
MAPA Version 2.0.4
xreg_mapa <- df_sr_lf %>%
dplyr::select(hour_0to23.0, hour_0to23.1,
hour_0to23.8, hour_0to23.9) %>%
as.matrix()
Estimate
model_mapa <- MAPA::mapaest(y = df_train$sr_elec,
ppy = 24,
minimumAL = 1,
maximumAL = 24,
paral = 0,
display = 0,
outplot = 0,
model = "ANZ",
type = "es",
xreg = xreg_mapa,
pr.comp = 0)
Forecast
v_pred <- MAPA::mapafor(y = df_train$sr_elec,
mapafit = model_mapa,
fh = 72,
ifh = 0,
comb = "w.mean",
outplot = 0,
hybrid = TRUE,
conf.lvl = NULL,
xreg = xreg_mapa)
Error in mapacalc(y, mapafit, fh, comb, outplot = 0, hybrid, xreg = xreg) :
Number of xreg input variables does not match mapafit specification.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels