Click or drag to resize

NMathFunctionsDurbinWatson(Int32) 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(
	int[] data
)

Parameters

data  Int32
An array of integers.

Return Value

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