Skip to content
Prev 278607 / 398502 Next

generating a vector of y_t = \sum_{i = 1}^t (alpha^i * x_{t - i + 1})

You also might look at EMA() in the TTR package for a C implementation. (I think it matches your problem but can't promise)

Michael
On Nov 27, 2011, at 9:05 AM, Michael Kao <mkao006rmail at gmail.com> wrote: