Click or drag to resize

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.Statistics
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static double PopulationCovariance(
	IEnumerable<float> population1,
	IEnumerable<float> population2
)

Parameters

population1  IEnumerableSingle
First population stream.
population2  IEnumerableSingle
Second population stream.

Return Value

Double
The population covariance as double, or double.NaN if data is empty or contains NaN.
See Also