https://github.com/nixtla logo
#general
Title
# general
n

Naren Castellon

10/30/2023, 4:02 PM
Hello team @Nixtla, I am training several #statsforecast models and I am encountering the following error
m

Mariana Menchero

10/30/2023, 5:33 PM
Hi @Naren Castellon what model are you using? the error says the data is non seasonal.
n

Naren Castellon

10/30/2023, 5:39 PM
I'm using
m

Mariana Menchero

10/30/2023, 6:11 PM
ok, I think that if you have yearly data, the Holt-Winters methods are going to struggle with the seasonality. HW is an extension of Holt's method to capture seasonality https://otexts.com/fpp2/holt-winters.html
can you remove them (HW) and see if that fixes the error?
n

Naren Castellon

10/30/2023, 6:26 PM
Ok, i'll try
m

Mariana Menchero

10/30/2023, 6:28 PM
ok, let's see how it goes. I replicated your code with a subset of the yearly dataset of the M4 competition and also got the "non seasonal data" error.
n

Naren Castellon

10/30/2023, 6:32 PM
And what is the reason for this "non-seasonal data" problem?
because it's strange, the first time I get that error
With the MSTL model it sends me another error, when I remove it everything works fine... thank you!!
👍 1
m

Mariana Menchero

10/30/2023, 6:46 PM
sure, no problem. For your previous question (why HW doesn't work?), I think it's because the method needs the data to be seasonal. Since it's not, there's probably an issue with the seasonal equation. The link I sent explains the model in more detail.
2 Views