[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
引用格式
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. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!