Page 1 of 1

want exponential smoothing way to do time series prediction

Posted: Mon Feb 02, 2015 5:33 am
by csfreebird
In newlisp, I don't know use wich method or module to implement this?
Need your help.

Re: want exponential smoothing way to do time series predict

Posted: Tue Feb 03, 2015 12:55 am
by Lutz
There is a stat:smooth function in the stat.lsp module:

http://www.newlisp.org/code/modules/sta ... tat_smooth

Code: Select all

> (stat:smooth '(1 5 2 6 4 7 2) 0.5)
(1 3 2.5 4.25 4.125 5.5625 3.78125)
> 
and there are a few other time-series related functions.