You are here: Symbol Reference > Regress Namespace > Types > Regress.TStepwiseQualityCriteria Type
Stats Master VCL
ContentsIndex
PreviousUpNext
Regress.TStepwiseQualityCriteria Type

Callback function for custom quality criteria of stepwise regression optimization algorithm.

Pascal
TStepwiseQualityCriteria = function (const Stat: TRegStats; const b, t: TVec; const ParamMask: TVecInt; const aOwner: TObject): double;

The Stat contains the details of the regression results, b contains the coefficients and t the corresponding t-Values for each item in b. The ParamMask.Length equals the initial total variable count. b and t can and will have length less than this. Which variables are included is determined from ParamMask, which has 1 at corresponding included variable index and 0 otherewise. aOwner is a custom optional object and will be nil if not specified as a parameter to the optimization.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!