Runs an Augmented Dickey-Fuller test (H0: unit root / non-stationary;
regression with drift, augmentation lag chosen by AIC from
lags = 1, i.e. one lagged difference), a KPSS test (H0: level
stationary; Bartlett kernel with the "short" truncation lag
\(\lfloor 4 (n/100)^{1/4} \rfloor\)), plus a Ljung-Box
autocorrelation test, and suggests a differencing order to achieve
stationarity of the mean. Both unit-root tests are computed natively
and reproduce urca::ur.df(type = "drift", selectlags = "AIC")
and urca::ur.kpss(type = "mu") (statistics and 5 percent
critical values) exactly; no external package is used.
