There exists a family of linear models that relate the dependent variable to the explanatory variables through a nonlinear function, known as generalized linear models. Logistic regression falls within this class of models, specifically in the case where the variable is dichotomous, meaning it can only take on values
or
. By its nature, this type of problem holds significant importance in classification tasks.
In the case of binary problems, it is possible to define the probability of success and failure.
| (3.96) |
The response of a linear predictor of the form
| (3.97) |
| (3.98) |
A widely used model for the function is the logit function defined as:
Its inverse function exists and is given by
The maximum likelihood method in this case does not coincide with the least squares method but with
| (3.101) |
| (3.102) |
Paolo medici