When to use it
Use when fitting regression models to time-ordered telemetry data.
Required Inputs
- Regression residuals vector e_t
Evaluate first-order autocorrelation in regression residuals using the Durbin-Watson d statistic.
Run this test live in StatLab npm i @statlab/coreUse when fitting regression models to time-ordered telemetry data.
d = Σ (e_t - e_{t-1})² / Σ e_t²
from statsmodels.stats.stattools import durbin_watson
d = durbin_watson(model.resid)
print(f"d={d:.4f}")
library(lmtest)
dwtest(lm_model)
import { durbinWatson } from '@statlab/core';
const d = durbinWatson(residuals);
Continuous A/B testing, statistical telemetry analysis, and automated feedback loops for live backend services.
Explore VoxelPulse →Fixed-price AI release-readiness sprints, automated regression testing, and reliability statistical benchmarks.
Explore VoxelAssurance →Explore static calculators across the StatLab inference engine suite.