Click or drag to resize

GoodnessOfFitCoefficientOfDetermination Method

Calculates the R-Squared value, also known as coefficient of determination, given some modelled and observed values.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double CoefficientOfDetermination(
	IEnumerable<double> modelledValues,
	IEnumerable<double> observedValues
)

Parameters

modelledValues  IEnumerableDouble
The values expected from the model.
observedValues  IEnumerableDouble
The actual values obtained.

Return Value

Double
Coefficient of determination.
See Also