# Linear probability model

In statistics, a linear probability model (LPM) is a special case of a binary regression model. Here the dependent variable for each observation takes values which are either 0 or 1. The probability of observing a 0 or 1 in any one case is treated as depending on one or more explanatory variables. For the "linear probability model", this relationship is a particularly simple one, and allows the model to be fitted by linear regression.
The model assumes that, for a binary outcome (Bernoulli trial), $Y$, and its associated vector of explanatory variables, $X$,
    $\Pr(Y=1|X=x)=x'\beta .$
For this model,
    $E[Y|X]=0\cdot \Pr(Y=0|X)+1\cdot \Pr(Y=1|X)=\Pr(Y=1|X)=x'\beta ,$
and hence the vector of parameters β can be estimated using least squares. This method of fitting would be inefficient, and can be improved by adopting an iterative scheme based on weighted least squares, in which the model from the previous iteration is used to supply estimates of the conditional variances, $\operatorname {Var} (Y|X=x)$, which would vary between observations. This approach can be related to fitting the model by maximum likelihood.
A drawback of this model is that, unless restrictions are placed on $\beta$, the estimated coefficients can imply probabilities outside the unit interval $[0,1]$. For this reason, models such as the logit model or the probit model are more commonly used.

## Latent-variable formulation

More formally, the LPM can arise from a latent-variable formulation (usually to be found in the econometrics literature), as follows: assume the following regression model with a latent (unobservable) dependent variable:
    $y^{*}=b_{0}+\mathbf {x} '\mathbf {b} +\varepsilon ,\;\;\varepsilon \mid \mathbf {x} \sim U(-a,a).$
The critical assumption here is that the error term of this regression is a symmetric around zero uniform random variable, and hence, of mean zero. The cumulative distribution function of $\varepsilon$ here is $F_{\varepsilon |\mathbf {x} }(\varepsilon \mid \mathbf {x} )={\frac {\varepsilon +a}{2a}}.$
Define the indicator variable $y=1$ if $y^{*}>0$, and zero otherwise, and consider the conditional probability
    ${\rm {Pr}}(y=1\mid \mathbf {x} )={\rm {Pr}}(y^{*}>0\mid \mathbf {x} )={\rm {Pr}}(b_{0}+\mathbf {x} '\mathbf {b} +\varepsilon >0\mid \mathbf {x} )$
    $={\rm {Pr}}(\varepsilon >-b_{0}-\mathbf {x} '\mathbf {b} \mid \mathbf {x} )=1-{\rm {Pr}}(\varepsilon \leq -b_{0}-\mathbf {x} '\mathbf {b} \mid \mathbf {x} )$
    $=1-F_{\varepsilon |\mathbf {x} }(-b_{0}-\mathbf {x} '\mathbf {b} \mid \mathbf {x} )=1-{\frac {-b_{0}-\mathbf {x} '\mathbf {b} +a}{2a}}={\frac {b_{0}+a}{2a}}+{\frac {\mathbf {x} '\mathbf {b} }{2a}}.$
But this is the Linear Probability Model,
    $P(y=1\mid \mathbf {x} )=\beta _{0}+\mathbf {x} '\beta$
with the mapping
    $\beta _{0}={\frac {b_{0}+a}{2a}},\;\;\beta ={\frac {\mathbf {b} }{2a}}.$
This method is a general device to obtain a conditional probability model of a binary variable: if we assume that the distribution of the error term is logistic, we obtain the logit model, while if we assume that it is the normal, we obtain the probit model and, if we assume that it is the logarithm of a Weibull distribution, the complementary log-log model.