Returns a NumericalVariable that represents an index value relative to the specified base value.

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

Syntax

Visual Basic (Declaration)
Public Function GetReferenceIndex ( _
	baseIndex As Integer, _
	indexBaseValue As Double _
) As NumericalVariable
C#
public NumericalVariable GetReferenceIndex (
	int baseIndex,
	double indexBaseValue
)
C++
public:
NumericalVariable^ GetReferenceIndex (
	int baseIndex, 
	double indexBaseValue
)

Parameters

baseIndex (System.Int32)
The zero-based index of the observation that is to be used as the reference value.
indexBaseValue (System.Double)
A real number that specifies the value of the index at the base value.

Return Value

A NumericalVariable.

Exceptions

ExceptionCondition
ArgumentOutOfRangeExceptionbaseIndex is less than zero or greater than or equal to the number of observations of the variable.