DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


Residual

Declaration:TCurveFit.Residual [ix: integer]: double;
The read-only array property Residual returns the residuals for previously calculated model. The parameter ix specifies the residual for the ixth data point. It may assume values between 1 and NumData. For ix values outside this range Residual returns a zero value.

Hint: Please note that the residuals are only calculated by the method CalcRegModel. Specific regression methods, such as CalcLinFit or CalcParabolFit do not calculate the residuals. If you try to retrieve the residuals after any regression call other than CalcRegModel zero residual values will be returned.