ArrayStatisticsPopulationCovariance(Double, Double) Method |
Evaluates the population covariance from the full population provided as two arrays.
On a dataset of size N will use an N normalizer and would thus be biased if applied to a subset.
Returns NaN if data is empty or if any entry is NaN.
Namespace: Altaxo.Calc.StatisticsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static double PopulationCovariance(
double[] population1,
double[] population2
)
Parameters
- population1 Double
- First population array.
- population2 Double
- Second population array.
Return Value
DoubleThe population covariance, or NaN if the arrays are empty or contain NaN.
See Also