Fractal Volatility of Financial Time Series
[DIMENSION STANDARD_DEV] = fractalvol(DATA) calculates the fractal dimension of the 1 dimensional random walk, DATA. DATA is assumed to be a function of its indices.
Finds fractal volatility by embedding in the unit square and box
counting. Y axis will be rescaled values of DATA, x axis is
(1:length(DATA))/length(DATA).
Uncomment the else construction if you have the parallel computing
toolbox and wish to run the code in parallel (it scales linearly in instances).
Background:
http://hanwangquant.blogspot.com/2011/04/fractal-volitility.html
Cite As
Han (2024). Fractal Volatility of Financial Time Series (https://www.mathworks.com/matlabcentral/fileexchange/31951-fractal-volatility-of-financial-time-series), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Fractals >
Tags
Acknowledgements
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.