Skip to content
Prev 31435 / 398506 Next

Holt Winters Error

That's a very short series to expect to fit a seasonal HW model to whilst
choosing the degree of smoothing. and the optimization code is failing,
because the initial guesses are too far away.

The following should give you a clue:

HoltWinters(test5, seasonal = "additive") 

Smoothing parameters:
 alpha:  1 
 beta :  0.8108822 
 gamma:  1 

and using alpha=1 will work with the multiplicative model too.

You can edit the function and choose other starting values than c(0.3,
0.1, 0.1) and thereby get it to converge, but I would have little
confidence in the values found.
On Wed, 30 Apr 2003, Kel wrote: