Fractional differencing: preserve memory while making a series usable
Differencing a price once often makes it closer to stationary, but discards most information about its level. Leaving the price untouched preserves its history but can leave a unit root that breaks standard inference. Fractional differencing offers a continuum between those choices: remove enough low-frequency persistence for the series to behave more steadily, while retaining more memory than a full first difference.
Fractional weights decay gradually
Absolute generalized-binomial weight of lag k in (1−L)^0.4.
The fractional-difference operator
For a series , define
where and is the differencing order. The weights satisfy the recursion
When , only the current value remains. When , the weights are , giving . For non-integer , infinitely many lagged observations contribute, with weights that decay slowly. For example, at , the first weights are ; the transformed value keeps a tail of its history rather than collapsing to the latest change alone.
The stationarity–memory trade-off
For an ideal fractionally integrated process, the differencing order changes the low-frequency behavior of the spectrum. Roughly, applying removes a power-law component of persistence. A series with a stochastic trend may need more differencing to become stationary, while an already stationary but persistent series may be transformed with a smaller order.
The order is not a universal constant. Estimate it using a training sample and a specified stationarity criterion, then test the transformed series with multiple diagnostics and inspect the retained autocorrelation and relation to the original level. A stationarity test failing to reject a unit root is not proof that no useful memory remains; tests have finite-sample limitations and can disagree.
Fixed-width implementation
The infinite filter must be approximated on finite data. Fixed-width fractional differencing truncates weights once their magnitude falls below a tolerance, then applies the remaining finite kernel to a rolling window. This makes computation manageable, but truncation changes the filter and creates a warm-up region. Report the order, cutoff, and resulting effective window.
A practical selection workflow
- Choose candidate values from 0 toward 1 and estimate weights using training data only.
- Apply an explicitly defined truncation rule; do not silently drop long-lag coefficients.
- Test stationarity with complementary methods such as ADF and KPSS, which have different null hypotheses.
- Among transformations that pass the chosen diagnostics, compare how much the transformed series still relates to the original level.
- Evaluate predictive utility in a walk-forward design and compare with ordinary returns and levels. Transformation selection is part of model selection, so it belongs inside each training fold.
The goal is not to find the order that makes a plot look stationary. It is to choose a transformation that makes modelling assumptions more defensible without removing all potentially useful structure—and then verify that choice out of sample.
Finance-specific cautions
Price levels and returns have different economic meanings. Fractionally differencing a price is not automatically preferable to modelling returns, cointegration, or a state-space trend. A transformed feature can also be hard to interpret and its value depends on the sampling scheme, corporate-action treatment, and window length.
Avoid look-ahead leakage: if the optimal or truncation width is chosen using the full sample, future information has influenced historical features. Re-estimate within each training window, preserve timestamps, and ensure each filter output uses only present and past observations. For panel data, estimate or apply transformations consistently without using future observations from other assets.
Common mistakes
- Assuming every fractional order between 0 and 1 guarantees stationarity. The required order depends on the data-generating process and parameter range.
- Selecting by maximising correlation with the original price across the entire sample, then reporting in-sample results as predictive evidence.
- Ignoring the long tail of weights or changing the truncation threshold without recording it.
- Applying a symmetric, centred filter that uses future observations. The causal filter uses current and lagged values only.
- Treating a stationary transformed feature as a profitable signal; stationarity says nothing by itself about expected return after costs.
Practice
Special casesWhat does fractional differencing produce at d = 0 and d = 1?Show answer
At , . At , , the ordinary first difference.
WeightsUsing the recursion, what are the first three nonzero weights for d = 0.5?Show answer
, , and .
ValidationWhy must the differencing order be selected inside each training fold?Show answer
Choosing it from the full sample lets future data influence the historical transformation and can overstate predictive performance. Re-select it using only information available in each training window.
Further reading: Granger and Joyeux (1980), “An Introduction to Long-Memory Time Series Models and Fractional Differencing,” Journal of Time Series Analysis 1(1), 15–29; López de Prado (2018), Advances in Financial Machine Learning, Chapter 5.