You are here: Symbol Reference > RegModels Namespace > Functions > RegModels.LogisticFit Function
Stats Master VCL
ContentsIndex
PreviousUpNext
RegModels.LogisticFit Function

Fits logistic equation to data.

Pascal
procedure LogisticFit(const B: TVec; const X: TVec; const Y: TVec; Constant: boolean = false; const Weights: TVec = nil);
Parameters 
Description 
Returns regression coefficients for logistic function. 
Vector of independent variable. 
Vector of dependent variable. 
Constant 
If false, B[0] i.e. constant term in nominator is set to 0.0. 
Weights 
Weights (optional). Weights are used only if they are set. 

The routine fits equations to data by minimizing the sum of squared residuals. The observed values obey the following equation: 

 

 

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