Durbin-Watson Autocorrelation Test Calculator OLS

Durbin-Watson 1950-51 OLS residual autocorrelation test calc: DW=Σ(e_t-e_{t-1})²/Σe_t². BTPs, FTSE MIB, ISTAT. Bocconi, Bank of Italy, SISSA Trieste.

Calculation parameters
Was this calculator useful?

Durbin-Watson autocorrelation test calculator OLS residuals

The Durbin-Watson test calculator determines the presence of first-order (lag-1) autocorrelation in OLS linear regression residuals, per the test developed by James Durbin and Geoffrey S. Watson 1950-1951 Biometrika vol. 37 and vol. 38 "Testing for Serial Correlation in Least Squares Regression I & II" (London School of Economics and Cambridge). The test statistic: DW = Σ_{t=2}^{n} (e_t - e_{t-1})² / Σ_{t=1}^{n} e_t², with e_t OLS residuals, n sample size.

Range: DW ∈ [0, 4].

Approximation: DW ≈ 2(1 - ρ), ρ = lag-1 estimated autocorrelation; thus ρ ≈ 1 - DW/2.

Interpretation: DW ≈ 2 no autocorrelation (i.i.d. residuals null H0); DW < 2 positive autocorrelation (similar consecutive residuals, "momentum"); DW > 2 negative autocorrelation (opposite consecutive residuals, "mean reversion").

Critical thresholds Durbin-Watson tables depend on n and k (regressor count): for n=100, k=2 → dL≈1.63 and dU≈1.72. Two-tailed test α=5%: reject H0 if DW

4-dL; uncertain zone dL < DW < dU; do not reject dU < DW < 4-dU.

Asymptotic approximation Savin-White 1977 for n>30: dL ≈ 2 - 2·z·√((n-k-1)/(n²+2k+1)), dU ≈ 2 + 2·z·√((n-k-1)/(n²+2k+1)), with z=1.96 at 5%.

Simplified decision: DW < 1 strong positive autocorr (reject); 1 ≤ DW < 1.5 moderate positive; 1.5 ≤ DW ≤ 2.5 no evidence (DW≈2 optimal); 2.5 3 strong negative (reject).

5 applications:

  • Linear/multivariate OLS regression model validation (cross-section + time series)
  • Econometric time series (ARMA Box-Jenkins, GARCH Engle 1982 residual model checking)
  • Bank of Italy 1893 macroeconometrics (quarterly GDP, monthly HICP inflation, BTP yields, ECB rates)
  • FTSE MIB 1998 stock returns models (CAPM Sharpe 1964, Fama-French 3-factor 1992)
  • Pre-GARCH residual tests Engle 1982 ARCH-LM Bocconi Mario Forni Modena 1985. Italian applications:
  • Bank of Italy Rome 1893 macroeconometric models Quarterly Economic Bulletin (GDP, inflation, BTP yields)
  • ISTAT 1926 demographic/economic time series (Census, HICP, employment, OECD)
  • Bocconi Milan 1902 econometrics Mario Forni Modena 1985 dynamic factor models + Carlo Favero macroeconomics
  • Politecnico Milan 1863 + Politecnico Turin 1859 financial engineering + signals
  • SISSA Trieste 1978 + ICTP Trieste 1964 data science statistical physics
  • Bologna University 1088 + Cattolica Sacro Cuore 1921 economics + sociology school
  • Bruno de Finetti Trieste 1931 subjective probability Italian Bayesian framework
  • INFN AI Atlas/CMS LHC time series Higgs MC validation
  • CINECA Bologna 1969 Marconi100 30 PFlops + Leonardo pre-exascale 250 PFlops 2023 Monte Carlo econometric simulations
  • Consob Rome 1974 market supervision + IVASS Rome 2012 Solvency II insurance returns

Italian Durbin-Watson series tables

Italian seriesFrequencynkDW observedρ estimatedInterpretationSource
BTP 10y daily yielddaily2,50031.850.075Slight positive autocorrBank of Italy 1893
FTSE MIB daily returnsdaily2,50031.980.01No autocorr (efficient)Borsa Italiana 1998
ISTAT monthly HICP inflationmonthly24020.600.70Strong positive autocorrISTAT 1926
Italy quarterly GDPquarterly12040.800.60Strong positive autocorrBank of Italy + ISTAT
ISTAT monthly unemploymentmonthly36030.450.775Strong positive autocorrISTAT Labor Force
ECB policy ratemonthly30020.300.85Strong positive autocorrECB 1998
VIX FTSE MIB volatilitydaily1,50021.600.20Moderate positive autocorrBorsa Italiana
BTP-Bund 10y spreaddaily2,50031.900.05Slight positive autocorrBank of Italy
Eni CAPM FTSE MIB residualsmonthly24022.05-0.025No autocorrBocconi 1902
Fama-French 3F residualsmonthly36042.02-0.01No autocorrBocconi Forni

(Source: Durbin & Watson 1950-1951 Biometrika + Savin-White 1977 Econometrica + Bank of Italy Economic Bulletin + ISTAT 1926 + Bocconi Milan 1902).

Italian Durbin-Watson test examples

  • BTP 10y daily yield Bank of Italy 1893 n=2,500 k=3 (3-factor CAPM): OLS residuals regression spread vs Bund-ECB rate-VIX. Σ(e_t-e_{t-1})² = 0.925, Σe_t² = 0.500 → DW = 1.85. ρ ≈ 1 - 1.85/2 = 0.075 (slight positive autocorr). dL Savin-White ≈ 1.93, dU ≈ 2.07. DW=1.85 < dL → slightly in rejection zone, near boundary
  • ISTAT monthly HICP inflation 1926 n=240 k=2 (trend+seasonality): ARIMA(1,0,0) model residuals. DW = 0.60 → ρ ≈ 0.70 strong positive autocorrelation (reject H0). Diagnosis: insufficient model, need higher-order ARIMA(p,d,q) or GARCH (Engle 1982 ARCH-LM)
  • FTSE MIB daily returns Borsa Italiana 1998 n=2,500 k=3 (Fama-French market+SMB+HML): market efficiency (Fama 1970): DW = 1.98 → ρ ≈ 0.01 no autocorrelation (weak-form efficient market). Consistent with EMH
  • Italy quarterly GDP Bank of Italy + ISTAT n=120 k=4 (consumption+investment+government+net exports): DW = 0.80 → ρ ≈ 0.60 strong positive autocorr. Need Sims 1980 vector VAR
  • Eni FTSE MIB CAPM residuals Bocconi 1902 n=240 k=2 (market return): reduced regression R_Eni = α + β·R_MIB + ε. DW = 2.05 → ρ ≈ -0.025 no autocorrelation (well-specified CAPM)
  • Fama-French 3-factor stock residuals Bocconi Forni 1985 n=360 k=4: DW = 2.02 → no autocorr; superior to CAPM
  • ECB policy rate monthly 1998 n=300 k=2: DW = 0.30 → ρ ≈ 0.85 very strong autocorr (Taylor rule smoothing). Persistent monetary policy
  • Didactic test example DW=2.0 n=100 k=2: ρ ≈ 0, σ_DW = 2·√((100-2-1)/(10000+4+1)) = 2·√(97/10005) = 0.1969, dL ≈ 2 - 1.96·0.1969 ≈ 1.614, dU ≈ 2.386. DW=2 in "no rejection" zone
  • DW=1.0: ρ ≈ 0.5 moderate positive autocorr
  • DW=0.5: ρ ≈ 0.75 very strong autocorr (reject), classic mis-specified model signal

Italian econometrics and data science research

Italian econometrics:

  • Bank of Italy Rome 1893 macroeconometrics Quarterly Economic Bulletin + Research Department Econometric Models (Banca d'Italia Working Papers Temi di Discussione); BIQM Banca d'Italia Quarterly Model + ITEM (Italian Economic Macromodel) Bayesian DSGE
  • ISTAT National Statistics Institute Rome 1926 time series (GDP, HICP inflation, employment, demographics, decennial censuses); X-13 ARIMA-SEATS seasonal adjustment
  • Bocconi Milan 1902 + Mario Forni Modena 1985 dynamic factor models; Carlo Favero DSGE macroeconomics; Claudio Tebaldi quantitative finance; IGIER Innocenzo Gasparini Institute for Economic Research
  • Politecnico Milan 1863 + Politecnico Turin 1859 stochastic financial engineering (MOX Modelling Computing Math); fintech
  • SISSA Trieste 1978 + ICTP Abdus Salam Trieste 1964 data science statistical physics; Matteo Marsili statistical physics complex systems; Stefano Allesina ecology biostatistics
  • Bologna University 1088 (oldest in the world) + Cattolica Sacro Cuore Milan 1921 applied econometrics; CRENoS Cagliari 1993 regional economics
  • Bruno de Finetti Trieste 1931 subjective Bayesian probability "La prévision: ses lois logiques" Annales IHP 1937 — founder of Italian Bayesian framework (de Finetti theorem exchangeability)
  • INFN National Institute of Nuclear Physics 1951 AI Atlas/CMS LHC Higgs MC validation Geant4 simulations time series; INFN-CNAF Bologna Tier-1 + Rome1 Sapienza
  • CINECA Casalecchio Bologna 1969 Marconi100 30 PFlops + Leonardo pre-exascale 250 PFlops 2023 (5th worldwide TOP500) Monte Carlo econometric simulations, machine learning autocorrelation neural networks LSTM/Transformers time series
  • Consob National Commission for Companies and Stock Exchange Rome 1974 market abuse supervision + IVASS Italian Insurance Supervision Rome 2012 Solvency II returns, technical reserves average MTPL EUR 420 in 2026, TPL claims. Italian Physics Nobel Prizes: Marconi 1909, Fermi 1938, Segrè 1959, Carlo Rubbia 1984 (CERN W/Z bosons), Riccardo Giacconi 2002 (X-ray astronomy Uhuru). Italian R&D tax bonuses 2026: R&D Tax Credit 25% L. 160/2019 art. 1 c. 200; Patent Box 50% L. 178/2020 super-deduction qualifying intangible costs; PNRR Mission 4 Component 2 data science research EUR 6.9B (National HPC, Big Data, Quantum Computing Centers); 50% renovation deductions and 36% capital goods. Disclaimer: DW test is a statistical diagnostic tool, does not replace complete econometric analysis

Updated July 2026

Frequently Asked Questions

What is the Durbin-Watson test?

Statistical test for first-order (lag-1) autocorrelation in OLS linear regression residuals, developed by James Durbin and Geoffrey S. Watson 1950-1951 Biometrika vol. 37-38 (LSE Cambridge). Statistic DW = Σ(e_t - e_{t-1})²/Σe_t², range [0,4]. DW≈2 no autocorr, DW2 negative. Fundamental econometric time series diagnostic tool.

Durbin-Watson test formula?

DW = Σ_{t=2}^{n}(e_t - e_{t-1})² / Σ_{t=1}^{n} e_t². Approximation DW ≈ 2(1-ρ), thus ρ ≈ 1 - DW/2 (estimated lag-1 autocorr). Range [0,4]. Critical thresholds dL and dU depend on n and k. Decision: DW3 strong negative. Standard two-tailed test α=5%.

DW=2 vs DW<2 interpretation?

DW≈2 null hypothesis H0 ρ=0 (i.i.d. residuals well-specified model). DW0: similar consecutive residuals, momentum, insufficient model. DW>2 (e.g. DW=2.5) negative autocorr ρ<0: opposite consecutive residuals, mean reversion, possible overfitting. Examples: DW=0.6 ISTAT monthly inflation (strong autocorr); DW=1.98 FTSE MIB (efficient market).

Critical thresholds dL and dU?

Durbin-Watson tables depend on n (sample size) and k (regressors). Example n=100 k=2: dL≈1.63, dU≈1.72. Two-tailed α=5%: reject H0 if DW
4-dL; uncertain zone dL<DW<dU; do not reject dU<DW30: dL ≈ 2 - 1.96·2·√((n-k-1)/(n²+2k+1)). Official Durbin-Watson tables more precise for small n.

Italian Durbin-Watson examples?

Italian examples: 1) BTP 10y daily yield DW=1.85 (slight autocorr) Bank of Italy 1893; 2) ISTAT monthly HICP inflation DW=0.60 (strong autocorr, insufficient model) ISTAT 1926; 3) FTSE MIB returns DW=1.98 (efficient market EMH); 4) Quarterly GDP DW=0.80 (strong autocorr); 5) ECB rate DW=0.30 (Taylor smoothing); 6) Eni CAPM residuals DW=2.05 (no autocorr, well-specified Bocconi 1902 model).

Durbin-Watson Italian applications?

Applications: 1) Bank of Italy Rome 1893 BIQM/ITEM DSGE; 2) ISTAT 1926 X-13 ARIMA-SEATS deseasonalization; 3) Bocconi Milan 1902 Forni dynamic factor models; 4) Politecnico Milan/Turin financial engineering; 5) SISSA Trieste 1978 + ICTP data science; 6) INFN AI Atlas/CMS LHC; 7) CINECA Leonardo 250 PFlops Monte Carlo; 8) Consob 1974 + IVASS 2012 supervision.

DW test limitations?

Limitations: 1) Only lag-1 (higher lags use Breusch-Godfrey LM test); 2) Requires intercept + exogenous regressors (no lagged dependent, then Durbin h-test 1970); 3) Exact distribution depends on X matrix (Imhof 1961); 4) Not robust to heteroskedasticity (use Newey-West HAC 1987); 5) Asymmetric DW vs 4-DW. For GARCH residuals use ARCH-LM Engle 1982.

Comments (0)

No comments yet. Be the first!