IMSL C# Numerical Library

Covariances.SetWeights Method 

Sets the weight for each observation.

public void SetWeights(
   double[] weights
);

Parameters

weights
A double array of size x.GetLength(0) containing the weight for each observation.

Remarks

By default, weights[] = 1.

See Also

Covariances Class | Imsl.Stat Namespace