# 多重分形去趋势波动分析

多重分形去趋势波动分析（MF-DFA）是一种统计方法，用于估计非平稳时间序列中波动的标度如何依赖波动幅度；它用广义赫斯特指数 h(q) 谱及其导出的奇异性谱 f(α)，取代普通去趋势波动分析中的单一赫斯特指数。<sup>[1](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)</sup> 该方法于2002年报道于 Physica A（《物理A》），此后应用于生理学、金融学和地球物理学。<sup>[2](https://www.scienceopen.com/document?vid=463b0b9c-985a-4474-b4b3-a6b5035233bf)</sup><sup> • </sup><sup>[3](https://juser.fz-juelich.de/record/909687/files/2104.10470.pdf)</sup> 2025年的一篇综述称，由于稳定性好，MF-DFA是量化多重分形性最广泛使用的实用方法。<sup>[4](https://www.mdpi.com/2227-7390/13/2/205)</sup>

| 关键事实 | 内容 |
|---|---|
| 输出 | 广义赫斯特指数 h(q) 族；对多重分形信号随 q 递减，对单分形信号为常数<sup>[1](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)</sup><sup> • </sup><sup>[5](https://journals.aps.org/pre/abstract/10.1103/PhysRevE.74.016103)</sup> |
| 与DFA的关系 | 当 \( q = 2 \) 时，MF-DFA精确退化为标准DFA<sup>[1](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)</sup><sup> • </sup><sup>[3](https://juser.fz-juelich.de/record/909687/files/2104.10470.pdf)</sup> |
| 定义关系 | τ(q) = qh(q) − 1；α = h(q) + qh′(q)；f(α) = q[α − h(q)] + 1<sup>[1](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)</sup><sup> • </sup><sup>[3](https://juser.fz-juelich.de/record/909687/files/2104.10470.pdf)</sup> |
| 典型q范围 | q阶从−5到5；随着q趋向极端值，h(q)的精度下降<sup>[6](https://www.frontiersin.org/journals/physiology/articles/10.3389/fphys.2012.00141/full)</sup> |
| 段长 | 最小段长大于10个样本且明显大于多项式阶数；最大段长小于N/10<sup>[6](https://www.frontiersin.org/journals/physiology/articles/10.3389/fphys.2012.00141/full)</sup> |
| 短记录精度 | 对\(2^{10}\)个点的序列，在\( |q| < 5 \)时h(q)误差约5%<sup>[7](https://ar5iv.labs.arxiv.org/html/1311.2278)</sup> |
| 引入论文 | Physica A（《物理A》）第316卷，第87–114页，2002年12月，DOI 10.1016/S0378-4371(02)01383-3<sup>[2](https://www.scienceopen.com/document?vid=463b0b9c-985a-4474-b4b3-a6b5035233bf)</sup> |

## 工作原理

MF-DFA基于一个依赖q的波动函数。将序列分段并局部去趋势后，q阶波动函数为

\[ F_{q}(s) = \left\{ \frac{1}{2N_{s}} \sum_{\nu=1}^{2N_{s}} \left[ F^{2}(\nu,s) \right]^{q/2} \right\}^{1/q}, \]

其中指标q可取除零以外的任意实数值，且 \( F_{q}(s) \) 按 \( s^{h(q)} \) 标度。<sup>[1](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)</sup> 当 \( q = 2 \) 时，得到标准DFA流程；对于平稳序列，h(2)等于赫斯特指数H；因此h(q)被称为广义赫斯特指数。<sup>[1](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)</sup> 常数 \( h(q) \) 表示单分形序列；递减的 \( h(q) \) 表示多重分形性。<sup>[5](https://journals.aps.org/pre/abstract/10.1103/PhysRevE.74.016103)</sup>

指数q对不同段赋予不同权重：正q强调波动大的段，给出较小的h(q)；负q强调波动小的段，给出较大的h(q)。<sup>[1](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)</sup> 当 \( q = 0 \) 时，定义中的平均发散，因此改用对数平均：\( F_{0}(s) = \exp\{(1/(4N_{s})) \sum \ln[F^{2}(\nu,s)]\} \)。<sup>[1](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)</sup> 波动指数通过标度指数 τ(q) = qh(q) − 1 与标准多重分形形式体系相联系；奇异性谱由勒让德变换得到，其中 α = h(q) + qh′(q)，f(α) = q[α − h(q)] + 1。<sup>[1](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)</sup><sup> • </sup><sup>[3](https://juser.fz-juelich.de/record/909687/files/2104.10470.pdf)</sup> 谱宽定义为 \( \Delta\alpha = \alpha_{\max} - \alpha_{\min} \)。<sup>[8](https://www.actaphys.uj.edu.pl/R/46/10/1925/pdf)</sup>

## 操作步骤

该流程有五步，前三步与常规DFA基本相同。<sup>[1](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)</sup>

1. 将序列转换为剖面（减去均值后的值的累积和）。
2. 将剖面分成 \( N_{s} = \mathrm{int}(N/s) \) 个长度为s的不重叠段，从记录两端计数，得到 \( 2N_{s} \) 段。
3. 对每段拟合m阶最小二乘多项式，并计算段方差 \(F^{2}(\nu,s)\)。
4. 用上面的q阶公式对所有段取平均，得到 \( F_{q}(s) \)。
5. 对 \( \log F_{q}(s) \) 与 \( \log s \) 拟合，得到每个q对应的 \( h(q) \)。

在m阶MF-DFA中，剖面中m阶趋势（等价于原始序列中m−1阶趋势）被消除，因此比较不同去趋势阶数的结果有助于识别存在的趋势类型。<sup>[1](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)</sup> Matlab教程给出的实用参数指导：最小段长按经验应超过10个样本，并且必须明显大于m；最大段长小于序列长度的1/10，可为 \( F_{q} \) 留下至少10段；q阶通常从−5到5。<sup>[6](https://www.frontiersin.org/journals/physiology/articles/10.3389/fphys.2012.00141/full)</sup> 一个持续存在的实际问题是标度范围本身：已发表的比较指出，对于拟合区域的客观确定尚无共识，有人提出了一种基于 \( R^{2} \) 的、与用户无关的DFA和MF-DFA判据来选择它。<sup>[9](https://www.sciencedirect.com/science/article/abs/pii/S0378437113010960)</sup>

## 起源

MF-DFA由扬·W·坎特尔哈特（Jan W. Kantelhardt）及其同事于2002年报道于 Physica A: Statistical Mechanics and its Applications（《物理A：统计力学及其应用》）第316卷，第87–114页。<sup>[1](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)</sup><sup> • </sup><sup>[2](https://www.scienceopen.com/document?vid=463b0b9c-985a-4474-b4b3-a6b5035233bf)</sup> 该方法推广了去趋势波动分析——一种较早的、用于检测具有非平稳性的时间序列中长程相关性的技术；一项前驱研究将DFA扩展到更高去趋势阶数，并分析了当去趋势阶数不大于p时，p阶趋势如何导致人为交叉。<sup>[10](https://havlin.ph.biu.ac.il/wp-content/uploads/Publications/kkrhb416.pdf)</sup> 2002年的论文将MF-DFA作为小波变换模极大值（WTMM）方法的更简单替代方案提出；WTMM是20世纪90年代初为处理非平稳序列而发展的一种改进多重分形形式体系。<sup>[1](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)</sup>

## 变体

若干有名称的扩展将去趋势思想适配到其他数据结构。

- **MF-DMA。** 多重分形去趋势移动平均算法推广了DMA方法；其作者报告，后向变体给出最准确的标度指数，并优于MF-DFA。<sup>[11](https://journals.aps.org/pre/abstract/10.1103/PhysRevE.82.011136)</sup>
- **交叉相关方法。** MF-DXA研究一维或更高维两个记录之间幂律交叉相关的多重分形行为。<sup>[12](https://ideas.repec.org/p/arx/papers/0803.2773.html)</sup> 一种相关的多重分形去趋势移动平均交叉相关分析由蒋志强（Zhi-Qiang Jiang）和周炜星（Wei-Xing Zhou）于2011年在 Physical Review E（《物理评论E》）上报道。<sup>[13](https://doi.org/10.1103/physreve.84.016106)</sup>
- **极大值MF-DFA。** 标准MF-DFA要求序列具有紧支撑；一个修改版本将q平均求和限制在 \( F^{2}(s,\nu) \) 的局部极大值上，并由 \( \Sigma [F^{2}(s,\nu)]^{q/2} \cdot s^{\tau(q)} \) 得到 \( \tau(q) \)，可处理分形（非紧）支撑。<sup>[1](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)</sup>
- **MFFDFA。** 一种灵活去趋势版本允许多项式阶数逐段变化，并使用步长为 \( \lfloor s/k \rfloor \) 的部分重叠段，使区间数变为原来的约k倍；在合成单分形数据上，其 \( \Delta\alpha \) 值平均比标准MF-DFA接近理论单点约70%。<sup>[8](https://www.actaphys.uj.edu.pl/R/46/10/1925/pdf)</sup>
- **广义函数。** 2024年 Physica A（《物理A》）的一篇论文由苏齐埃利·M·门东萨（Suzielli M. Mendonça）、布雷诺·C.T. 卡贝拉（Brenno C.T. Cabella）和亚历山大·S·马丁内斯（Alexandre S. Martinez）提出一种使用广义函数的MF-DFA方法，并通过在分数Ornstein–Uhlenbeck过程等信号上估计广义赫斯特指数进行了验证。<sup>[14](https://doi.org/10.1016/j.physa.2024.129577)</sup>

## 应用

在地球物理学和水文学中，MF-DFA（2至4阶，结果相似）被应用于99条日降水记录和42条日河流径流记录。径流记录显示出比降水记录更强的多重分形性：径流平均 \( \Delta\alpha = 0.49 \pm 0.16 \)，降水为 \( \Delta\alpha = 0.29 \pm 0.14 \)；广义二项级联模型能拟合径流记录，多重分形指数可作为单个站点和河流的指纹。<sup>[15](https://www.rybski.de/diego/files/KantelhardtJ_jgpra_2006.pdf)</sup>

在金融学中，MF-DFA和WTMM都能在美国和德国股票市场数据中检测到丰富的多重分形性，不过MF-DFA提示的多重分形性比WTMM更弱。<sup>[5](https://journals.aps.org/pre/abstract/10.1103/PhysRevE.74.016103)</sup> 应用于12年美元/欧元日汇率数据时，MF-DFA给出的结果与接近白噪声的单分形行为或弱多重分形性都相容。<sup>[7](https://ar5iv.labs.arxiv.org/html/1311.2278)</sup> 软件文献列出了在心率、脑电图、降水、河流流量、金融、电价、电网频率和流行病学中的应用。<sup>[3](https://juser.fz-juelich.de/record/909687/files/2104.10470.pdf)</sup>

## 局限与替代方法

**有限尺寸效应。** \( s > N/4 \) 的尺度被排除在拟合之外，因为剩余段太少，无法可靠平均；在 \( s \approx 10 \) 附近的非常小尺度上会出现对标度的系统性偏离；\( F_{q}(s) \) 仅在 \( s > m + 2 \) 时有定义。<sup>[1](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)</sup> 小尺度偏离随去趋势阶数增高而增强；由打乱数据构造的校正函数可以消除这些偏离，对短记录有用。<sup>[10](https://havlin.ph.biu.ac.il/wp-content/uploads/Publications/kkrhb416.pdf)</sup>

**交叉。** 短程相关可在 \( F_{q}(s) \) 中产生显著交叉，导致对小q的 \( h(q) \) 高估；传统上交叉由专家人工识别，CDV-A是一种能自动检测交叉的算法，但仅限于单个交叉。<sup>[16](https://link.springer.com/article/10.1007/s11071-024-10478-1)</sup>

**虚假多重分形性。** 对于 \( q > 5/3 \) 的重尾（莱维型）数据，基于方差的MF-DFA谱是双分形的，并因有限尺寸效应而展宽；对于不相关的重尾序列，当N → ∞时Δα → 0，因此这种展宽不应被解读为多重分形性，因为多重分形性可能来自宽概率分布、时间相关性，或两者兼有。<sup>[4](https://www.mdpi.com/2227-7390/13/2/205)</sup><sup> • </sup><sup>[17](https://arxiv.org/abs/physics/0202070)</sup> 比较原始序列与打乱序列，可区分由长程相关性引起的多重分形性与由宽概率密度引起的多重分形性。<sup>[1](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)</sup> 对于 \( h(q) \) 接近零的强反相关信号，MF-DFA会变得不准确，因为它只能确定正指数；先对序列积分可得到指数 h̃(q) = h(q) + 1。<sup>[1](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)</sup>

**短记录。** 对于单分形信号，短至 \( 2^{10} \) 个点的序列可在 \( |q| < 5 \) 时以约5%的精度分析；在可靠的中心q区域之外，结果可能错误地将多重分形行为赋予单分形信号，或降低真正多重分形信号的表观多重分形性。<sup>[7](https://ar5iv.labs.arxiv.org/html/1311.2278)</sup>

**与WTMM和MF-DMA的比较。** 已发表的比较在排序上并不一致。2002年的论文报告，对于带趋势的二项多重分形序列，MF-DFA和WTMM的去趋势能力和精度相当；对于短序列和负矩，MF-DFA略好，其主要优点是简单。<sup>[1](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)</sup> 2006年的一项比较则建议，在分形性质先验未知的大多数情况下使用MF-DFA，因为WTMM对分数布朗运动给出有偏结果，且结果依赖所选小波。<sup>[5](https://journals.aps.org/pre/abstract/10.1103/PhysRevE.74.016103)</sup> 在MF-DMA方面，其作者报告后向MF-DMA优于MF-DFA，而MF-DFA文献并不承认这一说法；这些分歧在已发表文献中仍未解决。<sup>[11](https://journals.aps.org/pre/abstract/10.1103/PhysRevE.82.011136)</sup>

## References

1. [Multifractal detrended fluctuation analysis of nonstationary time series (Kantelhardt et al., Physica A 316, 87–114, 2002, publisher-hosted published version)](https://www.uni-giessen.de/de/fbz/fb07/fachgebiete/physik/institute/theorie/institut-fur-theoretische-physik-iii/pub/paper/2002/papers2002/physica-1/@@download/file/Physica-1.pdf)
2. [Multifractal detrended fluctuation analysis of nonstationary time series (ScienceOpen record)](https://www.scienceopen.com/document?vid=463b0b9c-985a-4474-b4b3-a6b5035233bf)
3. [MFDFA: Efficient Multifractal Detrended Fluctuation Analysis in Python (Rydin Gorjão et al., arXiv 2104.10470, 2021)](https://juser.fz-juelich.de/record/909687/files/2104.10470.pdf)
4. [Disentangling Sources of Multifractality in Time Series (Mathematics 13(2):205, 2025)](https://www.mdpi.com/2227-7390/13/2/205)
5. [Wavelet versus detrended fluctuation analysis of multifractal structures (Oświęcimka et al., Phys. Rev. E 74, 016103, 2006)](https://journals.aps.org/pre/abstract/10.1103/PhysRevE.74.016103)
6. [Introduction to Multifractal Detrended Fluctuation Analysis in Matlab (Ihlen, Frontiers in Physiology 2012)](https://www.frontiersin.org/journals/physiology/articles/10.3389/fphys.2012.00141/full)
7. [Performance of multifractal detrended fluctuation analysis on short time series (López & Contreras, Phys. Rev. E 87, 022918, 2013)](https://ar5iv.labs.arxiv.org/html/1311.2278)
8. [A Multifractal Flexibly Detrended Fluctuation Analysis (MFFDFA), Acta Physica Polonica A](https://www.actaphys.uj.edu.pl/R/46/10/1925/pdf)
9. [A criterion for the determination of optimal scaling ranges in DFA and MF-DFA (Physica A, 2014)](https://www.sciencedirect.com/science/article/abs/pii/S0378437113010960)
10. [Detrended fluctuation analysis: DFA of higher orders and modified DFA (Kantelhardt, Koscielny-Bunde, Rego, Havlin, Bunde, Physica A 2001)](https://havlin.ph.biu.ac.il/wp-content/uploads/Publications/kkrhb416.pdf)
11. [Detrending moving average algorithm for multifractals (Gu & Zhou, Phys. Rev. E 82, 011136, 2010)](https://journals.aps.org/pre/abstract/10.1103/PhysRevE.82.011136)
12. [Multifractal detrended cross-correlation analysis for two nonstationary signals (Zhou, 2008, arXiv:0803.2773)](https://ideas.repec.org/p/arx/papers/0803.2773.html)
13. [Zhi-Qiang Jiang, Wei-Xing Zhou (2011). Multifractal detrending moving-average cross-correlation analysis. Physical Review E.](https://doi.org/10.1103/physreve.84.016106)
14. [Suzielli M. Mendonça, Brenno C.T. Cabella, Alexandre S. Martinez (2024). A Multifractal Detrended Fluctuation Analysis approach using generalized functions. Physica A Statistical Mechanics and its Applications.](https://doi.org/10.1016/j.physa.2024.129577)
15. [Long-term persistence and multifractality of precipitation and river runoff records (Kantelhardt et al., J. Geophys. Res. 2006)](https://www.rybski.de/diego/files/KantelhardtJ_jgpra_2006.pdf)
16. [Crossover detection based on variances of slope differences for multi-fractal detrended fluctuation analysis (MF-DFA) (Nonlinear Dynamics, 2024)](https://link.springer.com/article/10.1007/s11071-024-10478-1)
17. [Multifractal detrended fluctuation analysis of nonstationary time series](https://arxiv.org/abs/physics/0202070)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Statistical inference, estimation, sampling, and testing

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/multifractal-detrended-fluctuation-analysis

English original: https://www.edgepedia.org/multifractal-detrended-fluctuation-analysis
