ECON 310 · Econometrics I

Linear Probability, Logit and Probit Models

When the outcome is yes or no, a straight line can predict impossible probabilities; logit and probit bend the line to fit.

Key takeaways

  • A binary outcome is coded 1 for yes and 0 for no; the average of that variable is the share of yeses, which is a probability.
  • The linear probability model (LPM) is ordinary regression on a 0/1 outcome. It is easy to read but can predict probabilities below 0 or above 1.
  • Logit and probit bend the line into an S shape that stays between 0 and 1.
  • In logit and probit, a unit change in x does not change the probability by a fixed amount; the effect depends on where you start.
  • The coefficients in logit and probit are not probability changes; you convert them with marginal effects or odds.

Jade is a tutor who has noticed something. Her students either pass the final quiz or they do not. There is no 73.4 here: the outcome is a yes or a no. She wants to know how study time changes the chance of passing. So she writes 1 next to every student who passed, 0 next to everyone who failed, and runs the regression she already knows.

It works, in a way. The line slopes upward and the slope is easy to read. Then she asks the line to predict for a student who studied 10 hours and gets a "probability" of 1.25. A 125% chance of passing? Something is off.

This lesson is about outcomes that are yes-or-no, which economists call binary outcomes: employed or not, defaulted on a loan or not, bought the product or not. We will meet three models: the simple straight-line one, and two curved ones named logit and probit. You will learn what each gets right and where each goes wrong.

The linear probability model

Code the outcome as 1 if Jade's student passes and 0 otherwise. Regress it on hours studied:

pass = a + b × hours + error

Because the outcome is 0 or 1, the average of "pass" across students equals the share who pass. So the fitted value is read as the predicted probability of passing, and the slope b is the change in that probability for one more hour. Suppose Jade's fitted line is:

chance of passing = −0.25 + 0.15 × hours

Read the slope: each extra hour of study raises the chance of passing by 0.15, or 15 percentage points. That sentence is one of the model's great strengths. Anyone can follow it.

Now check the edges.

  • At 0 hours: −0.25 + 0 = −0.25. A negative probability.
  • At 10 hours: −0.25 + 1.50 = 1.25. A probability above 1.
  • The line crosses 1 at 1.25 ÷ 0.15 = 8.33 hours, so every student beyond 8.33 hours is "more than certain."

This is not a minor quibble. Probability can only live between 0 and 1, and a straight line goes on forever.

There is a second issue. In an LPM the errors have a built-in unequal spread. If the true chance of passing is p, the outcome is a 0/1 coin flip whose variance is p × (1 − p). That depends on p, which changes with x, so the errors are heteroskedastic by construction. The fix is the one from the robust standard errors lesson: always report robust standard errors with an LPM.

Despite these flaws, many applied economists use the LPM. When most predictions sit comfortably in the middle (say between 0.2 and 0.8), it gives answers very close to the fancier models, with no extra effort. It also plays nicely with dummy variables and interactions, which is why you will see it in many research papers.

Bending the line: the S curve

What we want is a curve that rises slowly at first, climbs through the middle, and flattens as it nears 1, never crossing 0 or 1. That is an S shape. Two popular choices are the logistic curve, which gives the logit model, and the normal cumulative curve, which gives the probit model.

The idea is the same in both. First build a score from the usual ingredients, then squash the score through the S curve:

The logit model in one line
P = 1 ÷ (1 + e^−z) z = a + b × x P = Probability of yes Always between 0 and 1. 1 ÷ (1 + e^−z) = The logistic squash Turns any number z into a value between 0 and 1. z = a + b × x = The score A straight-line recipe, just as in ordinary regression. P = 1 ÷ (1 + e^−z) z = a + b × x P = Probability of yes Always between 0 and 1. 1 ÷ (1 + e^−z) = The logistic squash Turns any number z into a value between 0 and 1. z = a + b × x = The score A straight-line recipe, just as in ordinary regression.

Any score, however large or small, is squeezed into a probability between 0 and 1.

Here e is the number 2.718…, a constant found on any calculator. The score z can be any number from very negative to very positive. A large negative z gives P near 0. A z of 0 gives P of exactly 0.5. A large positive z gives P near 1.

The probit model does the same thing, except the squash is the cumulative normal curve (the one behind the bell curve) instead of the logistic. The two S curves look almost the same, with probit having slightly thinner tails.

A fully worked example

Suppose Jade's logit gives this score for the probability of passing:

z = −4 + 0.8 × hours

These numbers are invented to show the arithmetic. Let us work out the chance of passing at several study times.

Hours z e^−z P = 1 ÷ (1 + e^−z)
2 −2.4 11.02 0.083
3 −1.6 4.95 0.168
5 0.0 1.00 0.500
7 1.6 0.20 0.832
8 2.4 0.09 0.917
10 4.0 0.018 0.982

Walk through one row. At 3 hours, z = −4 + 0.8 × 3 = −1.6. The number e^1.6 is about 4.95, so e^−z is 4.95 here, since −z = +1.6. Then P = 1 ÷ (1 + 4.95) = 1 ÷ 5.95 ≈ 0.168. About a 17% chance. At 7 hours, z = +1.6, e^−1.6 ≈ 0.20, and P = 1 ÷ 1.20 ≈ 0.832.

Notice that nothing here goes outside 0 to 1. At 10 hours the chance is 98.2%, near certain but never above.

Now see how much an extra hour is worth at different places:

  • From 2 to 3 hours: 0.168 − 0.083 = 0.085, about 8.5 points.
  • From 4 to 5 hours: P at 4 is 0.310, so the gain is 0.500 − 0.310 = 0.190, about 19 points.
  • From 9 to 10 hours: P at 9 is 0.961, so the gain is 0.982 − 0.961 = 0.021, about 2 points.

The same one hour matters most in the middle and very little at the ends. That makes sense: a student at 9 hours is nearly sure to pass already.

A straight line versus an S curve
Chance of passing 5 0.5 Linear probability Logit 50% Line passes 1 at 8.3 Hours studied Chance of passing 5 0.5 Linear probability Logit 50% Line passes 1 at 8.3 Hours studied

Near the middle the two agree. At the ends the straight line runs off the page while the S curve flattens.

What the coefficient means

In the logit, the coefficient 0.8 is not a change in probability. It is a change in the score z. To say something about probability, you have two standard translations.

Marginal effect. The change in probability from a small change in x, at a chosen point. For logit it equals b × P × (1 − P). At 5 hours, P = 0.5, so the effect is 0.8 × 0.5 × 0.5 = 0.20, a 20-point gain per hour. At 3 hours, P = 0.168, so it is 0.8 × 0.168 × 0.832 ≈ 0.112, about 11 points. Because it changes with where you stand, researchers usually report the marginal effect at the average values of x, or the average of the effects across all students (the average marginal effect).

Odds. The odds of passing are P ÷ (1 − P). At 5 hours, P = 0.5, so the odds are 1 to 1. The logit coefficient equals the change in the log of the odds. Each extra hour multiplies the odds by e^0.8 ≈ 2.23. Check: at 6 hours, odds = 2.23, and P = 2.23 ÷ 3.23 ≈ 0.690. That matches the table-style calculation (z = 0.8, P ≈ 0.690).

Compare the LPM, where the slope was a constant 0.15. The LPM reports one number that is the average slope over the data. Logit gives a different answer at each starting point.

How are logit and probit fitted?

Not by the least squares recipe. There is no simple formula. Instead they use maximum likelihood, a method that searches for the coefficient values that make the observed yeses and nos most probable. Software does this by trial and improvement, and it just works. You do not need to run the search by hand, but you should know the output looks a little different:

  • You will not see a standard R-squared. Instead a pseudo R-squared may be reported, and it should not be read as share of variance explained.
  • Standard errors and tests still work, as in the inference lesson, though they rely on large samples.
  • Probit and logit coefficients differ in size, by a rule of thumb of roughly a factor of 1.6 (logit is bigger), but marginal effects are nearly identical.

Common mistakes

  1. Reading a logit coefficient as a probability change. A coefficient of 0.8 does not mean 80 points. It means the score moves by 0.8.
  2. Believing the LPM's out-of-range predictions are harmless. If many predictions fall outside 0 to 1, the model fits poorly and you should prefer logit or probit.
  3. Forgetting robust standard errors in the LPM. The variance is unequal by nature.
  4. Claiming logit is "right" and LPM is "wrong." Each is an approximation. Compare their marginal effects; if they agree, the choice matters little.
  5. Extrapolating. No model should be trusted far outside the range of hours that the data actually cover.
Three models for a yes-or-no outcome
Linear probability Ordinary regression on 0/1 Slope = change in probability Can predict below 0 or above 1 Needs robust standard errors Logit S curve from the logistic function Coefficient = change in log odds Effect depends on starting point Fitted by maximum likelihood Probit S curve from the normal curve Coefficient = change in a z-score Very close to logit in practice Fitted by maximum likelihood Linear probability Ordinary regression on 0/1 Slope = change in probability Can predict below 0 or above 1 Needs robust standard errors Logit S curve from the logistic function Coefficient = change in log odds Effect depends on starting point Fitted by maximum likelihood Probit S curve from the normal curve Coefficient = change in a z-score Very close to logit in practice Fitted by maximum likelihood

For most applied work the three tell the same story about direction and rough size.

Probabilities matter well beyond tutoring. A bank might model the chance a borrower defaults, using income and debt. A labor economist might model whether a person is in the workforce. The same machinery works, and you will see the abbreviations LPM, logit and probit at the bottom of many regression tables you meet in research papers.

Words to know

Binary outcome a variable with only two values, usually coded 1 for yes and 0 for no.

Linear probability model an ordinary regression where the outcome is a 0/1 variable and fitted values are read as probabilities.

Logit a model that passes a straight-line score through the logistic S curve so the predicted probability stays between 0 and 1.

Probit a model like logit that uses the cumulative normal curve for the S shape.

Odds the probability of yes divided by the probability of no.

Marginal effect the change in the predicted probability caused by a small change in an explanatory variable, at a stated starting point.

Maximum likelihood a method of choosing coefficients that make the observed data as probable as possible.

Check yourself

  1. In the LPM chance = −0.25 + 0.15 × hours, what is the predicted probability at 6 hours, and what does the slope mean?
  2. At what number of hours does that LPM predict a probability above 1?
  3. With the logit score z = −4 + 0.8 × hours, find z at 6 hours and say whether the chance of passing is above or below 50%.
  4. Use the marginal effect formula b × P × (1 − P) to find the effect of an extra hour when P = 0.832 (7 hours). Round to three places.
  5. Why is the logit coefficient 0.8 not equal to an 80-point rise in probability?
  6. Explain why an LPM should be reported with robust standard errors.
Show the answers
  1. At 6 hours, −0.25 + 0.15 × 6 = 0.65, a 65% chance; the slope says each extra hour adds 15 percentage points.
  2. Solve −0.25 + 0.15 × hours > 1, so hours > 1.25 ÷ 0.15 ≈ 8.33 hours.
  3. z = −4 + 0.8 × 6 = 0.8, which is above 0, so the chance is above 50% (about 0.69).
  4. 0.8 × 0.832 × 0.168 = 0.8 × 0.1398 ≈ 0.112, about 11 points per hour.
  5. The coefficient changes the score z, and the S curve then turns the score into a probability whose change depends on where you start, so the gain per hour is never a flat 80 points.
  6. The outcome is 0 or 1, so its variance is p(1 − p), which changes as x changes; the errors are unequal in spread, and robust standard errors correct for that.

A free self-study program written for 4Economics with AI writing tools and not reviewed line by line by a person. It is not an accredited degree and awards no credit. Check anything you rely on against a textbook or primary source. Report an error.

In this unit: When assumptions fail

  1. MulticollinearityFind out what happens when explanatory variables move together, why standard errors balloon, and what to do about it.10 min
  2. Heteroskedasticity and Robust Standard ErrorsLearn why uneven scatter around a regression line makes ordinary standard errors unreliable, and how robust errors fix them.11 min
  3. Autocorrelation in Time SeriesSee how errors that carry over from one period to the next make standard errors too small, and how to detect and fix it.10 min
  4. Measurement ErrorWhen the numbers in your data are blurry copies of what you care about, regression slopes shrink toward zero.12 min
  5. Simultaneity and Reverse CausationWhen x affects y and y also affects x, a plain regression mixes the two effects and can even get the sign wrong.11 min
  6. Outliers, Influence and Residual ChecksOne odd data point can swing a regression line; learn to spot it, measure its pull, and decide what to do.10 min
  7. Linear Probability, Logit and Probit ModelsWhen the outcome is yes or no, a straight line can predict impossible probabilities; logit and probit bend the line to fit.10 min
  8. Forecasting With RegressionA fitted line can predict the future, but an honest forecast comes with a range, and the range widens the further you stray.9 min
  9. Reading a Regression Table in a Research PaperLearn to read the grid of coefficients, standard errors and stars that sits at the heart of every empirical paper.10 min

In the news