IMSL C# Numerical Library

Summary.GetVariance Method (Double[], Double[])

Returns the population variance of the given data set and associated weights.

public static double GetVariance(
   double[] x,
   double[] weight
);

Parameters

x
A double array containing the data set whose population variance is to be found.
weight
A double array containing the weights associated with the data points x.

Return Value

A double which specifies the population variance of the given data set.

See Also

Summary Class | Imsl.Stat Namespace | Summary.GetVariance Overload List