Sets the weight for each observation.

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

Syntax

C#
public void SetWeights(
	double[] weights
)
Visual Basic (Declaration)
Public Sub SetWeights ( _
	weights As Double() _
)
Visual C++
public:
void SetWeights(
	array<double>^ weights
)

Parameters

weights
Type: array< System..::.Double >[]()[]
A double array of size x.GetLength(0) containing the weight for each observation.

Remarks

By default, Weights[] = 1.

See Also