SMAC-Group / gmwm

Generalized Method of Wavelet Moments (GMWM) is an estimation technique for the parameters of time series models. It uses the wavelet variance in a moment matching approach that makes it particularly suitable for the estimation of certain state-space models.
Other
28 stars 14 forks source link

Make mgmwm work for single dataseries #227

Closed stefangachter closed 10 months ago

stefangachter commented 10 months ago

Currently, mgmwm cannot handle single data series. This pull request address this by skipping mean computation before estimating the model parameters. Note that the wavelet coefficients have to be encapsluated in a list for a single data series: mgmwm(model, list(wv)). This fix is a workaround for #226. It enables mgmwm to process single data series and "replaces" gmwm.

Example: image