Calculates the Durbin-Watson statistic
function DurbinWatson(const Residuals: TVec): double;
The Durbin-Watson tests for presence of correlation between consecutive residuals. We are testing hypothesis:
The test statistics ranges from 0 to 4 where d value of means:
A perfect result is a value equal to two. Value less than 1.5 or bigger than 2.5 indicates an autocorrelation problem.
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|