BaşlayınÜcretsiz Başlayın

Combining residuals from regression & time series

The residuals from the two different models that you have developed now need to be combined together! Once they are combined we will have our full forecast. Your residual forecast is stored as for_MET_hi_arima.

Your regression forecast is saved in the workspace as pred_MET_hi_xts.

Bu egzersiz

Forecasting Product Demand in R

kursunun bir parçasıdır
Kursu Görüntüle

Egzersiz talimatları

  • Transform the residuals forecast with the exponential function.
  • Multiply this new residual forecast to your previous regression forecast (pred_MET_hi_xts).

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Convert your residual forecast to the exponential version
for_MET_hi_arima <- ___(___)

# Multiply your forecasts together!
for_MET_hi_final <- ___ * ___
Kodu Düzenle ve Çalıştır