Differences the series until the unit-root indication disappears, at a level that vanishes with the sample size so the number of differences is estimated consistently. KPSS (null = stationarity) by default; ADF with BIC-chosen augmentation as an alternative. Critical values come from embedded asymptotic quantile tables validated against the published points.