Learn Before
Formula

Simple Logistic Regression Equation

P(Y^)=eβ0+β1X1+eβ0+β1XP(\hat{Y})=\frac{e^{\beta_{0}+\beta_{1}X}}{1+e^{\beta_{0}+\beta_{1}X}} P(Y^)+P(Y^)×[eβ0+β1X]=eβ0+β1X\Rightarrow P(\hat{Y})+P(\hat{Y})\times[e^{\beta_{0}+\beta_{1}X}]=e^{\beta_{0}+\beta_{1}X} P(Y^)=[1P(Y^)]×[eβ0+β1X]\Rightarrow P(\hat{Y})=[1-P(\hat{Y})]\times [e^{\beta_{0}+\beta_{1}X}] P(Y^)1P(Y^)=eβ0+β1X\Rightarrow \frac{P(\hat{Y})}{1-P(\hat{Y})}=e^{\beta_{0}+\beta_{1}X} The left hand side is called the odds. log(P(Y^)1P(Y^))=β0+β1X\Rightarrow\log{\left(\frac{P(\hat{Y})}{1-P(\hat{Y})}\right)}=\beta_{0}+\beta_{1}X The left hand side is called the log-odds or logit. This models the log-odds as a linear function of XX. The coefficient β1\beta_{1} means: a one-unit increase in XX is associated with an increase in the log-odds by β1\beta_{1} units.

0

1

Updated 2026-06-17

Tags

Data Science