Calculates the sum of squared errors (SSE) of the elements in the given data set, excluding NaN values.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public static double NaNSumOfSquaredErrors(
	DoubleVector data
)
Visual Basic (Declaration)
Public Shared Function NaNSumOfSquaredErrors ( _
	data As DoubleVector _
) As Double
Visual C++
public:
static double NaNSumOfSquaredErrors(
	DoubleVector^ data
)

Parameters

data
Type: CenterSpace.NMath.Core..::.DoubleVector
A vector.

Return Value

Sum of squared errors (SSE).

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.InvalidArgumentException Thrown if data has a length of zero.

See Also