detCoefficient property

num detCoefficient

Calculates the coefficient of determination. This is the strength of the data fit for a given model.

(Also known as r^2). The larger r^2, the stronger the data fit for the model.

The adjusted determination coefficient is usually more accurate.

Implementation

num get detCoefficient {
  return pow(corCoefficient,2);
}