Durbin-Watson: Autocorrelation Test

Autocorrelation means residuals follow a pattern in sequence — each error influences the next. This is common in time-series or ordered production data.

DW statistic:
  • DW ≈ 2.0: ideal — no autocorrelation
  • DW < 1.5: positive autocorrelation (errors drift in same direction)
  • DW > 2.5: negative autocorrelation (errors alternate direction)
Impact: Autocorrelation inflates R² and makes standard errors unreliable. Consider adding time-lag variables or ordering the data differently.
Try it in the app
Try: Run regression on time-ordered data → check the Durbin-Watson stat card in Results. Values far from 2.0 suggest ordering effects.
Watch this on our YouTube channel

Run this on your own data

Free tier, no signup needed. Works offline in the browser.

Open the app