Click or drag to resize

CorrelationWeightedPearson Method

Computes the Weighted Pearson Product-Moment Correlation coefficient.

Namespace: Altaxo.Calc.Statistics
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double WeightedPearson(
	IEnumerable<double> dataA,
	IEnumerable<double> dataB,
	IEnumerable<double> weights
)

Parameters

dataA  IEnumerableDouble
Sample data A.
dataB  IEnumerableDouble
Sample data B.
weights  IEnumerableDouble
Corresponding weights of data.

Return Value

Double
The Weighted Pearson product-moment correlation coefficient.
See Also