Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NNetar creates unrealistic low forecasts #893

Open
Someone894 opened this issue Oct 18, 2021 · 0 comments
Open

NNetar creates unrealistic low forecasts #893

Someone894 opened this issue Oct 18, 2021 · 0 comments

Comments

@Someone894
Copy link

Sometimes I've seen some rare cases, where the nnetar-forecast produces unrealistic low forecasts. Since it is a neuronal net you probably can't do much about it, but when you don't have an example you certainly can't do something about it. So I'm providing an example anyways, maybe it helps.

x <- timetk::tk_ts(c(
  0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000, 0.000,
  0.000, 0.000, 0.000, 4344.544, 12642.858, 12642.858, 12068.183,
  18678.098, 13969.492, 3034.287, 14482.585, 15928.499, 20226.667,
  21239.201, 0.000
),
start = 1,
frequency = 12
)

fit <- forecast::nnetar(x)
forecast::autoplot(forecast::forecast(fit, h = 24))

grafik

It would be lovely, if you found a way to improve the nnetar-forecast for this kind of timeseries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant