IMSL C# Numerical Library

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

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

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

Parameters

x
A double array containing the data set whose sample 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 sample variance of the given data set.

See Also

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