### Navigation

- index
- modules |
- next |
- previous |
- statsmodels v0.1.0 documentation »
- Statistical Tests for Residual Analysis »

# scikits.statsmodels.stattools.durbin_watson

`scikits.statsmodels.stattools.``durbin_watson`(resids)

  Calculates the Durbin-Waston statistic

  Parameters: | resids : array-like
  Returns: | Durbin Watson statistic. This is defined as : sum_(t=2)^(T)((e_t - e_(t-1))^(2))/sum_(t=1)^(T)e_t^(2) :

### Navigation

- index
- modules |
- next |
- previous |
- statsmodels v0.1.0 documentation »
- Statistical Tests for Residual Analysis »