Calculates r, the sample correlation coefficient between the observed outcomes
and the observed predictor values.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static double R(
IEnumerable<double> modelledValues,
IEnumerable<double> observedValues
)
Parameters
- modelledValues IEnumerableDouble
- The modelled/predicted values
- observedValues IEnumerableDouble
- The observed/actual values
Return Value
DoublePerson product-momentum correlation coefficient.
See Also