SummaryGetVariance Method (Double, Double) |
Returns the population variance of the given data set and associated
weights.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public static double GetVariance(
double[] x,
double[] weight
)
Public Shared Function GetVariance (
x As Double(),
weight As Double()
) As Double
public:
static double GetVariance(
array<double>^ x,
array<double>^ weight
)
static member GetVariance :
x : float[] *
weight : float[] -> float
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