LinFit.CorrCoef()

<< Click to Display Table of Contents >>

Navigation:  Explain™ Control Language  > Library Routines > Mathematical classes > class LINFIT >

LinFit.CorrCoef()

Description

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.

 

Gamry tip bulb

LinFit.Crunch() must be called before the return value is meaningful.

 

Type

INSTANCE FUNCTION

 

Usage

Goodness = LinFit.CorrCoef()

 

Goodness

REAL

The linear fit's correlation coefficient.