Click or drag to resize

NMathFunctionsDurbinWatson(DoubleVector) Method

Calculates the Durbin-Watson statistic of the given data.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static double DurbinWatson(
	DoubleVector data
)

Parameters

data  DoubleVector
A vector.

Return Value

Double
Durbin-Watson statistic.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if data has a length less than two.
See Also