Constructs an indicator variable for the specified level.

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Function CreateIndicatorVariable ( _
	level As Object _
) As NumericalVariable
C#
public NumericalVariable CreateIndicatorVariable (
	Object level
)
C++
public:
NumericalVariable^ CreateIndicatorVariable (
	Object^ level
)

Parameters

level (System.Object)
The level indicated by the return value.

Return Value

A NumericalVariable with the value one for observations equal to level and zero everywhere else.