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

When does ETS fail?

Computing the ETS does not work well for all series.

Here, you will observe why it does not work well for the annual Canadian lynx population available in your workspace as lynx.

Bu egzersiz, kursun bir parçasıdır

Forecasting in R

Kursa Göz Atın

Egzersiz talimatları

  • Plot the lynx series using the standard plotting function and note the cyclic behaviour.
  • Use ets() to model the lynx series, and assign this to fit.
  • Use summary() to look at the selected model and parameters.
  • Plot forecasts for the next 20 years using the pipe operator. Note that you only need to specify h for one particular function.

Uygulamalı etkileşimli egzersiz

Bu egzersizi bu örnek kodu tamamlayarak deneyin.

# Plot the lynx series
___

# Use ets() to model the lynx series
fit <- ___

# Use summary() to look at model and parameters
___

# Plot 20-year forecasts of the lynx series
fit %>% ___ %>% ___
Kodu Düzenle ve Çalıştır