On Tue, Mar 3, 2026 at 2:45 AM <ramakrishnasalagrama(a)gmail.com> wrote:
? List04 = wes(Cement, 0, null, 1, 0.4, 0.03, 0.3, 2, 0)
Index value -1 is out of bounds
*** error within loop in function wes
> genr f[j+1]=(F[j] + m*T[j])*S[j+m-$pd]
I am getting the above error while trying to estimate the holt-winters from fcModels. Any
help?
Yes, I can see there's a bug in the wes() function whereby the
observation index can go out of bounds. That's fixed in a testing
version of the package, which you can install from the gretl console
via the command
pkg install
https://users.wfu.edu/cottrell/gretl/fcModels.gfn
If that seems correct we can see about an "official" revision of fcModels.
Allin