About this question

KPSS Stationarity Test

Medium · statistical_analysis · Quant Researcher interview question · statistics, stationarity, kpss, unit-root, time-series

The Kwiatkowski-Phillips-Schmidt-Shin (KPSS) test checks for stationarity in a time series, where the null hypothesis is that the series is stationary around a deterministic trend. It complements unit root tests like the ADF test by framing the null hypothesis differently. Quantitative analysts use the KPSS test to validate mean-reversion assumptions in statistical arbitrage strategies and to screen for structural breaks in financial data. Task Implement the function solution(series: listfloat,