SummaryGetSampleVariance Method (Double, Double) |
Returns the sample 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 GetSampleVariance(
double[] x,
double[] weight
)
Public Shared Function GetSampleVariance (
x As Double(),
weight As Double()
) As Double
public:
static double GetSampleVariance(
array<double>^ x,
array<double>^ weight
)
static member GetSampleVariance :
x : float[] *
weight : float[] -> float
Parameters
- x
- Type: SystemDouble
A double array containing the data set whose sample 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 sample variance of the given data
set.
See Also