- Introduced by
- Daniel McFadden
- Year
- 1974
- Type
- Discrete choice model for alternative-specific covariates
- Family
- Limited dependent variable
What does it do?
The conditional logit model, introduced by Daniel McFadden in 1974, is a discrete-choice model of an individual's selection among a finite set of mutually exclusive alternatives.
Its covariates vary across alternatives, such as price, travel time or product attributes, and one coefficient vector applies to all alternatives. It is widely used in transportation, marketing and labour economics to analyse choice data.
The intuition behind the method
Imagine a commuter choosing between driving, taking the bus or cycling. Each option has its own characteristics, such as cost, travel time and comfort, and these differ across alternatives. The conditional logit model treats each person's choice as the option with the highest latent utility, where utility is a linear function of those alternative-specific attributes. Random shocks are assumed to follow an extreme-value (Gumbel) distribution, which yields a closed-form choice probability: the softmax (logistic) function.
History
McFadden introduced the conditional logit model in his 1974 chapter in Zarembka's Frontiers in Econometrics, presenting it as a formal econometric framework for Luce's (1959) axiom of choice and applying it to travel choice behaviour. Later extensions named in this entry include the nested logit (McFadden, 1978) and the mixed logit (McFadden and Train, 2000). McFadden received the Nobel Memorial Prize in Economic Sciences in 2000, partly for this body of work.
When to use it
Use the conditional logit model when the outcome is a choice among mutually exclusive alternatives and the key predictors describe the alternatives themselves, such as price or travel time, rather than the decision-maker. The model assumes the Independence of Irrelevant Alternatives (IIA) property: the relative odds of choosing between two alternatives do not change with the presence or attributes of other alternatives. IIA can be examined with the Hausman–McFadden test. Do not use the model when close substitutes are expected to violate IIA; nested logit or mixed logit are the alternatives discussed in this entry. Individual-specific covariates, such as income or age, do not enter the model alone and must be interacted with alternative-specific terms, or the model should be replaced with one that accommodates them directly.
Limitations and considerations
- The IIA assumption is often implausible when alternatives are close substitutes, for example two bus lines compared with driving
- Coefficients on alternative-specific variables are constrained to be identical across alternatives, which may be restrictive
- Individual-specific variables that do not differ across alternatives cancel out of the choice probabilities, so their effects cannot be estimated without interacting them with alternative-specific terms and fixing a reference alternative
- Does not accommodate random taste variation across individuals; mixed logit is needed for that
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Closed-form choice probabilities that are computationally tractable for large choice sets
- Grounded in random utility theory, providing a structural economic interpretation of coefficients
- Handles alternative-specific regressors naturally, unlike standard multinomial logit
- Log-likelihood is globally concave, ensuring reliable maximum-likelihood estimation
Applications
- Transportation mode choice (car, bus, rail, bicycle) using travel time and cost attributes
- Consumer product selection modeled with price, quality ratings, and shelf placement
- Labor market job choice studies incorporating wage offers and commute distances
- Location choice models for firm headquarters or household residential decisions
- Health plan selection by employees given premium, deductible, and network characteristics
How it works
How it works
For each individual i and each alternative j, a deterministic utility index V_ij is formed as the inner product of the alternative-specific attribute vector x_ij and a common coefficient vector β. Every alternative shares the same β, so an attribute such as cost or time is assumed to affect utility in the same way across the choice set.
Formula
V_{ij} = \mathbf{x}_{ij}^{\top} \boldsymbol{\beta}, \quad i = 1,\dots,N,\; j = 1,\dots,JIf the idiosyncratic utility shocks are independent and identically Gumbel-distributed, the probability that individual i selects alternative j takes the multinomial logistic (softmax) form: exp(V_ij) divided by the sum of exp(V_ik) over all alternatives k. This closed form is what makes the model tractable in McFadden's random utility framework.
Formula
P(y_i = j \mid \mathbf{X}_i) = \frac{\exp(V_{ij})}{\sum_{k=1}^{J} \exp(V_{ik})}Parameters are estimated by maximising the log-likelihood, which sums the log-probabilities of the observed choices across individuals. The indicator d_ij equals one when alternative j is the option chosen by individual i. The log-likelihood is globally concave in β, which guarantees a unique maximum under standard regularity conditions.
Formula
\ell(\boldsymbol{\beta}) = \sum_{i=1}^{N} \sum_{j=1}^{J} d_{ij} \ln P(y_i = j \mid \mathbf{X}_i), \quad d_{ij} = \mathbf{1}[y_i = j]Because the choice probability is a nonlinear function of V_ij, the effect of an attribute on a choice probability depends on the probabilities themselves. The own-alternative effect is ∂P_ij/∂x_ijr = β_r P_ij (1 − P_ij), which is largest when the probability is intermediate and shrinks as the probability approaches zero or one. The cross-alternative effect, for k ≠ j, is ∂P_ij/∂x_ikr = −β_r P_ij P_ik. It has the opposite sign to the own effect and is proportional to the product of the two probabilities, which reflects substitution among options. Average marginal effects across the sample are usually reported alongside, or instead of, the raw coefficients.
Formula
\frac{\partial P(y_i = j)}{\partial x_{ijr}} = \beta_r\, P(y_i = j)\bigl(1 - P(y_i = j)\bigr), \qquad \frac{\partial P(y_i = j)}{\partial x_{ikr}} = -\beta_r\, P(y_i = j)\, P(y_i = k),\; k \neq jCommon pitfalls
- If IIA is violated, the model can give misleading substitution patterns and predicted choice shares, so the assumption should be examined before the results are reported
- Confusing conditional logit with multinomial logit: the former uses alternative-varying regressors with a single β, while the latter uses individual-varying regressors with alternative-specific coefficients
- Reporting raw coefficients without computing marginal effects or willingness-to-pay measures, which are usually the economically interpretable quantities
- Ignoring the role of the choice set definition; including dominated or unavailable alternatives distorts estimates
Frequently asked questions
What is the difference between conditional logit and multinomial logit?
Conditional logit uses regressors that vary across alternatives (e.g., the price of each option) with a single coefficient vector shared across alternatives. Multinomial logit uses regressors that vary across individuals (e.g., income) with alternative-specific coefficients. Many applied models include both types. Software packages such as Stata's clogit and R's mlogit are commonly used for these models, but the specifications each one supports should be checked in its documentation.
How do I test the IIA assumption in conditional logit?
The standard test is the Hausman–McFadden (1984) specification test. It compares the estimates from the full model with those from a restricted model that drops one alternative from the choice set; a significant chi-squared statistic suggests IIA failure. Other tests exist, such as the Small–Hsiao approach, and their availability depends on the software used.
Can I include both individual-specific and alternative-specific variables?
Yes. Individual-specific variables (e.g., age, income) must be interacted with alternative dummies to become alternative-varying regressors, and one alternative must serve as the reference category, with its interaction coefficients constrained to zero for identification. This extended specification differs from the random-parameters mixed logit, which instead allows coefficients to vary randomly across individuals.
Related methods
Sources
McFadden, D. (1974). Conditional logit analysis of qualitative choice behavior. In P. Zarembka (Ed.), Frontiers in Econometrics (pp. 105–142). Academic Press.
ISBN: 978-0-12-776150-3