Unaugmented Dickey–Fuller unit-root tau test.
Fit Δyₜ = Dₜ + γyₜ₋₁ + eₜ. Return the coefficient t ratio for γ, usable n = w−1, auxiliary regression, estimated p-value and critical values. The unit-root null γ=0 is rejected in the left tail. Uses the streaming ADF design with zero augmenting differences. Ingest and inference take amortized O(1) time for fixed deterministic terms with O(w) storage and occasional O(w) reconstruction. Compared with statsmodels adfuller(maxlag=0, autolag=None).
The econometric conventions specify input validation, warm-up, reset, result fields, numerical rank and critical-value order.
Python example
import random
import rtta
rng = random.Random(42)
model = rtta.DickeyFuller(window=64, regression='constant')
for i in range(64):
value = rng.gauss(0, 1)
result = model.update(value)
print(result.statistic)
Reference
Dickey and Fuller (1979), Distribution of the estimators for autoregressive time series with a unit root. MacKinnon (1994, 2010).
