IMSL C# Numerical Library

Covariances.SumOfWeights Property

Returns the sum of the weights of all observations. Note that the Compute method must be invoked first before invoking this method. Otherwise, the return value is 0.

public double SumOfWeights {get;}

Property Value

A double scalar containing the sum of the weights of all observations.

Remarks

If MissingValueMethod = 0, observations with missing values are not included. Otherwise, all observations are included except for observations with mssing values for the weight or the frequency.

See Also

Covariances Class | Imsl.Stat Namespace