Searcharxiv⌕ Search

arXiv subjects

Bhanu Suraj Malla

Publications and source records attributed to Bhanu Suraj Malla.

2 recordsLinked to original sources

Do Stationarity Transformations Actually Improve Time Series Forecasts? A Controlled Experimental Evaluation

Stationarity transformations, such as differencing, are a common preprocessing step in forecasting, motivated by the idea that modifying a series to achieve stationarity improves accuracy. Whether this is true, and for which processes, has rarely been evaluated in controlled experiments. We study the decision to transform as the object of inquiry. We cross eighteen synthetic data-generating processes, most of them stochastic-trend processes spanning exact and near unit roots, fractional integration, seasonal unit roots, structural breaks, and heteroscedasticity, with ten transformations, five models, and three horizons, replicated by Monte Carlo, for 35,099 evaluations. Each forecast is inverted to the original scale, with the differencing inverse anchored at the forecast origin, and scored by the mean absolute scaled error. Signal-preserving transforms, namely deterministic detrending and seasonal differencing matched to series structure, improve accuracy, whereas indiscriminate differencing degrades it. A mediation analysis shows that differencing achieves trend stationarity, but trend stationarity is only weakly associated with accuracy, and transforms differ in their effects on predictable structure. Choosing the transformation by out-of-sample validation yields lower regret than unit-root pretesting or any fixed rule, with blanket differencing performing the worst. The findings are confirmed by real-world validation on nine series from two domains.

stat.ME↗

StationarityToolkit: Comprehensive Time Series Stationarity Analysis in Python

Time-series stationarity is a property that statistical characteristics such as trend, variance, seasonality remain constant over time. It is considered fundamental to many forecasting and analysis methods. Different tests detect different types of non-stationarity: structural breaks or deterministic trends, clustered or time-dependent variance, stochastic or deterministic seasonality. A series might pass one test while failing another; single-test approaches seldom distinguish between conceptually different types of non-stationarity that require different types of tests and transformations. `StationarityToolkit` addresses this by providing a comprehensive Python library that runs 10 statistical tests across three categories: trend (4 tests), variance (4 tests), and seasonality (2 tests). Rather than a binary stationary/non-stationary verdict, users receive detailed diagnostics with actionable notes for each detection. The toolkit automatically infers the frequency of the data provided (requires datetime index), provides clear interpretations with test statistics and p-values, and supports an iterative test-transform-retest workflow essential for real-world data sets.

stat.ME↗