The logit model

As anticipated, the linear function is not suitable to represent the relationship between the independent variable and the dependent variable, in cases where the response takes dichotomous values. Now, we try to model the probabilities that the response belongs to the reference class. If we use the standard linear model to represent these probabilities, then our system is described by the following equation:

In this case, we have predictions that both classification options may exceed the expected values (-∞ to +∞), as we could see from the figure shown in the previous section. Then, to solve this problem we can apply an exponential ...

Get Regression Analysis with R now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.