<< Click to Display Table of Contents >> Navigation: Explain™ Control Language > Library Routines > Mathematical classes > class LINFIT > LinFit.CorrCoef() |
Return a goodness-of-fit parameter.
The number returned is the correlation coefficient. The sign of the correlation coefficient is the same as the slope. A correlation coefficient of 1 indicates that all the variation in the y-parameter is explained by a perfect linear relationship with x. A correlation coefficient of zero indicates there is no linear relationship between x and y.
LinFit.Crunch() must be called before the return value is meaningful. |
Goodness = LinFit.CorrCoef()