want exponential smoothing way to do time series prediction

Q&A's, tips, howto's
Locked
csfreebird
Posts: 107
Joined: Tue Jan 15, 2013 11:54 am
Location: China, Beijing
Contact:

want exponential smoothing way to do time series prediction

Post by csfreebird »

In newlisp, I don't know use wich method or module to implement this?
Need your help.

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Re: want exponential smoothing way to do time series predict

Post 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.

Locked