Removes a set of observations and associated frequencies and weights from the discriminant functions.

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

Syntax

C#
public void Downdate(
	double[,] x,
	int[] group,
	int[] varIndex,
	int[] frequencies,
	double[] weights
)
Visual Basic (Declaration)
Public Sub Downdate ( _
	x As Double(,), _
	group As Integer(), _
	varIndex As Integer(), _
	frequencies As Integer(), _
	weights As Double() _
)
Visual C++
public:
void Downdate(
	array<double,2>^ x, 
	array<int>^ group, 
	array<int>^ varIndex, 
	array<int>^ frequencies, 
	array<double>^ weights
)

Parameters

x
Type: array< System..::.Double ,2>[,](,)[,]
A double matrix containing the observations to be removed, with at least nVariables columns. The columns indicated in varIndex correspond to the variables.
group
Type: array< System..::.Int32 >[]()[]
An int array containing the group numbers. The groups must be numbered 1,2, ..., nGroups for each observation.
varIndex
Type: array< System..::.Int32 >[]()[]
An int array containing the column indices in x that correspond to the variables to be used in the analysis.
frequencies
Type: array< System..::.Int32 >[]()[]
An int array containing the associated frequencies for each observation.
weights
Type: array< System..::.Double >[]()[]
A double array containing the associated weights for each observation.

Exceptions

ExceptionCondition
Imsl.Stat..::.SumOfWeightsNegException is thrown when the sum of the weights have become negative.

See Also