In the other thread we talked about the guideline for choosing suitable embedding dimension and embedding delay, and Ragwitz' criterion was brought up.
One technical detail that is bothering me is that when we optimize the relative prediction error we have to choose the number of nearest neighbors for the locally constant predictor. Is the relative prediction error sensitive to the choice of that number?
I have been trying to reproduce some of the results in Ragwitz and Kantz 2002 mentioned by Michael Wibral in the other thread:
Markov models from data by simple nonlinear time series predictors in delay embedding spaces.
Ragwitz M, Kantz H.
Phys Rev E Stat Nonlin Soft Matter Phys. 2002 May;65(5 Pt 2):056201. Epub 2002 Apr 15.
I have been working hard reproducing Fig. 3 in Ragwitz & Kantz 2002 (Fig. 3 is one of the key results in the work) but so far I am not able to reproduce it:
1) I used TRENTOOL's TEragwitz.m to calculate the relative prediction error as a function of embedding dimension and embedding delay, and I have tried a range of sizeNei (the number of nearest neighbors used in the locally constant predictor) and the length of the time series, but the results were very different from Ragwitz & Kantz 2002.
2) Ragwitz & Kantz 2002 is very vague in how they calculated the relative prediction error. Instead of fixing the number of nearest neighbors, they fixed the radius of neighborhood and went through some pretty elaborate procedures if the number of points in the neighborhood is too small.
3) As a last resort, I tried Tisean's lzo-test (
http://www.mpipks-dresden.mpg.de/~tisean/Tisean_3.0.0/docs/docs_c/lzo-test.html). Setting k=30 (the minimal number of nearest neighbors used for the locally constant predictor) seemed to produce something similar to Ragwitz & Kantz 2002's Fig 3(a), but I couldn't reproduce anything similar to FIg. 3(b) and 3(c). What's worse, the relative prediction error seemed to be quite sensitive to the value of k.
I'm just wondering if anyone has successfully reproduce the results in Ragwitz & Kantz 2002.