Method · Correlation · lag1_autocorrAs of 1 Dec
Lag-1 autocorrelation
r1 = Σ(xₜ-x̄)(xₜ₊₁-x̄) / Σ(xₜ-x̄)², clamped to [-1, 1]
WindowCaller-supplied series, in the order given — treats the series as one continuous sequence with no gap-awareness (a missing day is not distinguished from a lag of 1). Minimum n— Used by—
Limitations
Returns 0.0 (no detectable memory) below n=3 or zero variance, which makes the downstream effective-n correction a no-op rather than an error. A helper, not a reported statistic on its own — it feeds effective_sample_size.