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

Finite differencing step at the beginning when kind='random_walk'? #6

Open
wlad-svennik opened this issue Mar 21, 2019 · 0 comments
Open

Comments

@wlad-svennik
Copy link

wlad-svennik commented Mar 21, 2019

When I look at the code for the compute_Hc function, there is an initial finite differencing step. Everything else after that agrees with Wikipedia's description of the Hurst exponent except it works with the derivative of the series, instead of the original series.

The random_walk function, which is supposed to use Fractional Brownian Motion, seems to be in agreement with their compute_Hc function. If you remove the differencing step, then there ends up being disagreement. But then is the random_walk function correctly implemented? Because if it is correctly implemented, then the Wikipedia article needs to be corrected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant