Returns the outlier statistics.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public int[,] GetOutlierStatistics()
Visual Basic (Declaration)
Public Function GetOutlierStatistics As Integer(,)
Visual C++
public:
array<int,2>^ GetOutlierStatistics()

Return Value

A double array of length nOutliers by 2, where nOutliers is the number of detected outliers, containing the outlier statistics. The first column contains the time at which the outlier was observed (time ranging from times[0] to times[times.Length - 1]) and the second column contains an identifier indicating the type of outlier observed.

Remarks

Outlier types fall into one of five categories:

IdentifierOutlier type
INNOVATIONAL = 0Innovational Outliers (IO)
ADDITIVE = 1Additive Outliers (AO)
LEVEL_SHIFT = 2Level Shift Outliers (LS)
TEMPORARY_CHANGE = 3Temporary Change Outliers (TC)
UNABLE_TO_IDENTIFY = 4Unable to Identify (UI)

If the number of detected outliers equals zero, then an array of length zero is returned.

One of the Compute methods must be invoked first before invoking this method. Otherwise, the method throws an InvalidOperationException exception.

See Also