SharpPlot Reference > SharpPlot Properties > Correlation Property (ReadOnly)

SharpPlot.Correlation Property (ReadOnly)

Get Correlation of model fit (ReadOnly).

public double Correlation {get;}

Example

double r2 = sp.Correlation^2; // squared correlation

See also ...

Annotate Model fit | SharpPlot Members | SharpPlot.GetCoefficients Method | SharpPlot.GetFittedValues Method | SharpPlot.GetResiduals Method


Send comments on this topic
© Dyalog Ltd 2021