Message-ID: <Pine.LNX.4.44.0304300815320.26176-100000@gannet.stats>
Date: 2003-04-30T07:16:58Z
From: Brian Ripley
Subject: Holt Winters Error
In-Reply-To: <20030429181504.6641.qmail@web12507.mail.yahoo.com>
That's not an error, but a line of R code.
If you could post an example which generates the error and the actual
error message, we could try to investigate it.
On Tue, 29 Apr 2003, Kel wrote:
> I have come across with the following error while
> running HoltWinters().
>
> optim(c(0.3, 0.1, 0.1), error, method = "L-BFGS-B",
> lower = c(0, 0, 0), upper = c(1, 1, 1))
>
> It only happens to multiplicative seasonality but not
> additive. I read the program but still couldn't
> understand it.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595