StreamingStatisticsPopulationCovariance(IEnumerableSingle, IEnumerableSingle) Method |
Evaluates the population covariance from the full population provided as two enumerable sequences, in a single pass without memoization.
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(
IEnumerable<float> population1,
IEnumerable<float> population2
)
Parameters
- population1 IEnumerableSingle
- First population stream.
- population2 IEnumerableSingle
- Second population stream.
Return Value
DoubleThe population covariance as
double, or
double.NaN if data is empty or contains
NaN.
See Also