Returns the Mean Absolute Deviation of a vector of values. The mean absolute deviation is an estimate of the standard deviation of the vector of residuals normalized to make the estimate unbiased for the normal distribution.

Namespace:  CenterSpace.NMath.Matrix
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public double MedianAbsDeviation(
	DoubleVector residuals
)
Visual Basic (Declaration)
Public Function MedianAbsDeviation ( _
	residuals As DoubleVector _
) As Double
Visual C++
public:
double MedianAbsDeviation(
	DoubleVector^ residuals
)

Parameters

residuals
Type: CenterSpace.NMath.Core..::.DoubleVector
A vector of residuals.

Return Value

Mean Absolute Deviation (MAD) of the residuals.

See Also