MulaiMulai sekarang secara gratis

Bottom-up forecast for whole state

Now that you have forecasts for each region you can use the bottom-up hierarchy to calculate a forecast for the whole state! Your regional forecasts are saved as for_SEC_t_xts, for_MET_t_xts, and for_M_t_xts.

Latihan ini adalah bagian dari kursus

Forecasting Product Demand in R

Lihat Kursus

Petunjuk latihan

  • Sum up all of your regional forecasts into a variable called for_state to forecast the whole state!

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Calculate the state sales forecast: for_state
for_state <- ___ + ___ + ___

# See the forecasts
for_state
Edit dan Jalankan Kode