Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make mgmwm work for single dataseries #227

Merged
merged 2 commits into from
Dec 1, 2023
Merged

Conversation

stefangachter
Copy link
Collaborator

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

@stefangachter stefangachter added bug gmwm2 Issues related to GMWM2 branch labels Nov 30, 2023
@stefangachter stefangachter changed the base branch from master to gmwm2 November 30, 2023 17:26
@stefangachter stefangachter merged commit e957098 into gmwm2 Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug gmwm2 Issues related to GMWM2 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants