DurbinWatsonD

As of Version 7.0, has become a property of LinearModelFit.


is a possible value for the RegressionReport option for Regress and DesignedRegress which represents the Durbin-Watson d statistic for autocorrelation.

DetailsDetails

  • To use , you first need to load the Regression Common Functions Package. You can do this by using , which will automatically load the Regression Common Functions Package, or you can load the package directly by using .
  • tests for the existence of a first-order autoregressive process.
  • A value close to 0 indicates positive correlation, and a value close to 4 indicates negative correlation.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

In[1]:=
Click for copyable input

Sample data:

In[2]:=
Click for copyable input

for a linear regression:

In[3]:=
Click for copyable input
Out[3]=
Translate this page: