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.

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

Syntax

C#
public double SumOfWeights { get; }
Visual Basic (Declaration)
Public ReadOnly Property SumOfWeights As Double
Visual C++
public:
property double SumOfWeights {
	double get ();
}

Field 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