0

我正在寻找在 R 中为 Holt-Winters 和 ARIMA 预测模型计算 MAD、MAPE、MSE 的最佳方法。下面是我的模型代码,任何指导都会很棒

Holt-Winters 模型和预测:

#Holt-Winters Exponential Smoothing
forecast.mean <- HoltWinters(Abbeville$Incoming.Examinations,gamma=FALSE)


#Predicting ahead the next 12 months
forecast.predict <- predict(forecast.mean, n.ahead = 12, prediction.interval = TRUE)

ARIMA 模型和预测

ARIMA_forecast <- auto.arima(x=Abbeville$Incoming.Examinations)

ARIMA_nextforecasting <- forecast(ARIMA_forecast, h=12)
4

0 回答 0