Click or drag to resize
SummaryGetVariance Method (Double, Double)
Returns the population variance of the given data set and associated weights.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public static double GetVariance(
	double[] x,
	double[] weight
)

Parameters

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

Return Value

Type: Double
A double which specifies the population variance of the given data set.
See Also