EMD, EEMD in Zorro - how to?

Posted By: laz

EMD, EEMD in Zorro - how to? - 08/15/19 13:30

Hello, have you ever heard of EMD, EEMD?
Quote
Empirical Mode Decomposition (EMD)

This decomposition provides a powerful method to look into the different processes behind a given time series, and provides a way to separate short time-scale events from a general trend.

The fundamental part of the HHT is the empirical mode decomposition (EMD) method. Breaking down signals into various components, EMD can be compared with other analysis methods such as Fourier transform and Wavelet transform. Using the EMD method, any complicated data set can be decomposed into a finite and often small number of components. These components form a complete and nearly orthogonal basis for the original signal. In addition, they can be described as intrinsic mode functions (IMF).

Because the first IMF usually carries the most oscillating (high-frequency) components, it can be rejected to remove high-frequency components (e.g., random noise). EMD based smoothing algorithms have been widely used in seismic data processing, where high-quality seismic records are highly demanded.

Without leaving the time domain, EMD is adaptive and highly efficient. Since the decomposition is based on the local characteristic time scale of the data, it can be applied to nonlinear and nonstationary processes.

[Linked Image]
https://laszukdawid.com/2014/09/10/ensemble-empirical-mode-decomposition-eemd/
Quote
Ensemble Empirical Mode Decomposition (EEMD), a noise assisted version of the EMD algorithm. The EEMD works by adding a certain amplitude of white noise to a time series, decomposing it via EMD, and saving the result. If this is done enough times, the averages of the noise perturbed IMFs will approach the ``true'' IMF set. The EEMD can ameliorate mode mixing and intermittency problems
https://en.wikipedia.org/wiki/Hilbert%E2%80%93Huang_transform
https://en.wikipedia.org/wiki/Hilbert%E2%80%93Huang_transform#Empirical_mode_decomposition_(EMD)
https://github.com/helske/Rlibeemd#example
https://slideplayer.com/slide/5814501/
Quote
libeemd – a C library for performing the ensemble empirical mode decomposition.
https://bitbucket.org/luukko/libeemd/src/master/

EEMD works better for me, it would be great to have it in Zorro.

Is there a chance that it gets implemented or what do you think is the best way to use it in Zorro - without using R?
Posted By: laz

Re: EMD, EEMD in Zorro - how to? - 08/19/19 13:07

Is nobody interested in it? The NASA is, look here:

NASA-Methode zur Kursprognose: So funktioniert die Empirical Mode Decomposition

https://www.vtad.de/wp-content/uploads/2017/02/Rei%C3%9F_EmpiricalModeDecomposition.pdf
Quote
In dieser Arbeit wird diese Technik für die Bestimmung eines potentiellen Kursverlaufes auf den Aktienmarkt angewandt. Zwar sind die identifzierten Wellen nicht-stationär, d.h. die Amplitude und Wellenlänge einer einzenen Schwingungskomponente verändern sich im Zeitverlauf, allerdings weichen die einzelnen Amplituden und Wellenlängen nicht zu stark vom zeitlichen Mittel ab. Damit ist eine Prognostizierbarkeit der Schwingungen gegeben; entweder als klassische Sinus-Schwingung oder als eine Schwingung mit Dämpfung/ Anregung, so dass die Schwingung wieder zu ihrer mittleren Amplitude und Wellenlänge überführt wird.

google translate: In this paper, this technique is used to determine a potential price action on the stock market. Although the identified waves are non-stationary, i. The amplitude and wavelength of a single vibration component change over time, but the individual amplitudes and wavelengths do not deviate too much from the time average. This gives a predictability of the vibrations; either as a classical sine oscillation or as a vibration with damping / excitation, so that the oscillation is converted back to its mean amplitude and wavelength.

https://www.google.com/search?q=Empirical+Mode+Decomposition+nasa

Posted By: aelagha

Re: EMD, EEMD in Zorro - how to? - 01/05/20 10:40

You said "without R". I am curious if you have actually implemented an EMD based strategy or algo using R/R-bridge and how did that work?
© 2024 lite-C Forums