CorrelationWeightedPearson Method |
Computes the Weighted Pearson Product-Moment Correlation coefficient.
Namespace: Altaxo.Calc.StatisticsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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
DoubleThe Weighted Pearson product-moment correlation coefficient.
See Also