PyELW: Exact Local Whittle Estimation for Long Memory Time Series in Python
Availability:
Abstract.
Fractionally integrated time series, characterized by slowly decaying autocorrelations and spectral densities exhibiting power-law behavior at low frequencies, require accurate estimation of the memory parameter to distinguish between stationary long memory (), nonstationary processes (), and unit root behavior (). This paper introduces PyELW, a Python package for local Whittle estimation of the memory parameter including the foundational estimator of Robinson (1995), tapered variants by Velasco (1999) and Hurvich and Chen (2000), the exact local Whittle estimator of Shimotsu and Phillips (2005), and the two-step estimator of Shimotsu (2010). While a package exists for Stata and implementations are available for R and MATLAB, these are either limited-scope or no longer maintained and there was previously no Python implementation of these methods. PyELW provides a wide array of local Whittle estimators in a single package, featuring fast fractional differencing, a consistent, object-oriented API with theoretically motivated defaults, and extensive validation through exact replication of previously-published results and rigorous cross-platform verification. We demonstrate the package’s usage through simulations and applications to macroeconomic time series.
Keywords: time series, fractional integration, fractional differencing, long memory, local Whittle estimation, Python.
BibTeX Record:
@TechReport{pyelw,
title = {{PyELW}: Exact Local {Whittle} Estimation for Long Memory Time Series in Python},
author = {Jason R. Blevins},
institution = {The Ohio State University},
year = 2025,
type = {Working Paper}
}