A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Testing for Autocorrelation: Durbin-Watson and Breusch-Godfrey

Graduate Depth 112 in the knowledge graph I know this Set as goal
862prerequisites beneath it
See this on the map →
Serial Correlation (Autocorrelation) in RegressionTime Series Data: Structure and Concepts+1 more
autocorrelation durbin-watson breusch-godfrey

Core Idea

The Durbin-Watson statistic tests for first-order serial correlation in residuals (DW ≈ 2 means no correlation). The Breusch-Godfrey LM test is more general, testing for higher-order autocorrelation and valid when lags of X are present.

How It's Best Learned

Compute DW or run the BG test on residuals from OLS regression. Plot residuals over time to visually detect serial correlation before relying on formal tests.

Common Misconceptions

Explainer

You already know from serial correlation that when regression residuals are systematically related across time periods — positive errors following positive errors, or negative following negative — the OLS standard errors are wrong. The question this topic answers is: how do you actually detect that problem in practice? The answer involves two complementary tests, each suited to different situations.

The Durbin-Watson statistic is the older and more famous test. After running an OLS regression, compute the DW statistic from the residuals: it roughly equals 2(1 − r̂), where r̂ is the first-order autocorrelation of the residuals. This means a DW near 2 signals no first-order autocorrelation, a value near 0 signals strong positive autocorrelation (residuals moving together), and a value near 4 signals strong negative autocorrelation (residuals alternating in sign). The test has an inconclusive zone — if DW falls between the lower and upper critical bounds, the test is indeterminate, which can be frustrating in practice. It is also limited to first-order autocorrelation and fails when lagged dependent variables appear as regressors.

The Breusch-Godfrey LM test is more flexible. It tests for autocorrelation up to any order you specify, and it remains valid when lagged dependent variables appear on the right-hand side — a common situation in time-series regression. The procedure is simple: regress the residuals on all original regressors plus p lags of the residuals, then use the resulting R² to form an LM statistic (n × R²), which follows a chi-squared distribution with p degrees of freedom under the null of no autocorrelation. If the statistic is large enough to reject the null, you have evidence of autocorrelation up to order p.

In practice, always start with a visual inspection: plot the residuals against time and look for patterns. Systematic runs of same-sign residuals are the fingerprint of positive autocorrelation. If you see it visually, the formal tests will almost certainly confirm it. The more important question is what to do next: autocorrelation doesn't mean your coefficient estimates are biased (they usually aren't), but it does mean your standard errors and t-statistics are unreliable. The remedies — using HAC (Newey-West) standard errors, or fitting GLS/FGLS — depend on diagnosing not just whether autocorrelation is present, but what form it takes.

Practice Questions 5 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersDividing IntegersUnit RatesProportionsPercent ConceptConverting Between Fractions, Decimals, and PercentsOperations with Rational NumbersTwo-Step EquationsSolving Multi-Step EquationsEquations with Variables on Both SidesAngle Pairs: Complementary, Supplementary, and VerticalParallel Lines and TransversalsCorresponding AnglesAlternate Interior AnglesTriangle Angle Sum TheoremExterior Angle TheoremTriangle Inequality TheoremSimilar Triangles: AA SimilaritySimilar Triangles: SSS and SAS SimilarityProportions in Similar TrianglesRight Triangle Trigonometry IntroductionSine, Cosine, and Tangent RatiosTrigonometric Ratios ReviewRadian MeasureConverting Between Degrees and RadiansThe Unit CircleGraphing Sine and CosineGraphing Tangent and Reciprocal Trigonometric FunctionsDerivatives of Trigonometric FunctionsAntiderivativesIndefinite IntegralsBasic Integration RulesRiemann SumsDefinite Integral DefinitionDouble Integrals: Definition and SetupIterated Integrals and Fubini's TheoremDouble Integrals over Rectangular RegionsDouble Integrals over General RegionsApplications of Double Integrals: Area, Mass, and MomentsCenter of MassConservation of Linear MomentumElastic CollisionsInelastic CollisionsCoefficient of RestitutionCollision Analysis and Real-World ApplicationsTwo-Body Collisions in the Center-of-Mass FrameReduced Mass and Two-Body ProblemsKinematics in Two DimensionsProjectile MotionCircular Motion: KinematicsSimple Harmonic MotionIntroduction to Differential EquationsSolow Growth ModelCapital Accumulation and the Golden RuleInvestment Demand and Capital FormationAggregate DemandThe AS-AD ModelBusiness CyclesTime Series Data: Structure and ConceptsAutocorrelation: Structure and SourcesDurbin-Watson Statistic for AutocorrelationTesting for Autocorrelation: Durbin-Watson and Breusch-Godfrey

Longest path: 113 steps · 862 total prerequisite topics

Prerequisites (3)

Leads To (0)

No topics depend on this one yet.