- Introduced by
- Daniel McFadden & Kenneth Train
- Year
- 2000
- Type
- Random-parameters discrete choice model
- Family
- Discrete choice
What does it do?
The Mixed Logit model, set out in its general form by McFadden and Train (2000) and treated at length in Train (2009), is a discrete choice model in which preference coefficients vary randomly across decision-makers.
Its choice probabilities are logit probabilities averaged over a mixing distribution of coefficients, which relaxes the IIA restriction of standard logit and allows for unobserved taste heterogeneity and correlation across repeated choices. McFadden and Train show that, under mild regularity conditions, mixed logit can approximate the choice probabilities of any random utility model as closely as desired.
The intuition behind the method
Imagine a group of commuters choosing between bus, train, and car. Standard logit assumes everyone weighs travel time and cost identically — clearly unrealistic. Mixed logit instead treats each commuter's sensitivity to time and cost as drawn from a population distribution, like heights in a crowd. Some people are highly time-sensitive; others care mostly about cost. By averaging logit probabilities over these individual differences, the model captures the real diversity of preferences without observing each person's exact tastes.
History
McFadden and Train (2000) showed that mixed logit can approximate the choice probabilities of any random utility model as closely as desired under mild regularity conditions, and they set out maximum simulated likelihood and method of simulated moments as practical estimators. Their paper also applied the model to demand for alternative vehicles. Train (2009) provides a full treatment of the model and of the simulation methods used to estimate it.
When to use it
Use Mixed Logit when the outcome is a choice among discrete alternatives and you expect preferences to differ across individuals in ways that observed attributes do not explain. It suits stated-preference experiments, repeated choices by the same individuals (panel data), and settings where the IIA property of standard logit would give implausible substitution patterns, for example when two alternatives are close substitutes. Avoid it when preferences can reasonably be treated as homogeneous, since multinomial logit then answers the same question with far less computation. Key assumptions include additive random utility, a correctly specified mixing distribution, and enough simulation draws for reliable likelihood approximation; if the mixing distribution cannot be justified, the added complexity does not add credibility.
Limitations and considerations
- Simulated maximum likelihood requires evaluating the simulated probabilities for every observation at each trial parameter vector, so run time grows with the number of random parameters, the number of draws and the number of observations.
- Estimates depend on the assumed form of the mixing distribution; if it is misspecified, the estimated means and spreads of the random coefficients can be biased.
- Estimating the covariance structure of several random coefficients requires sufficient variation in the attributes; where variation is limited, the estimated spreads are unstable.
- Welfare measures such as willingness-to-pay, formed as a ratio of random coefficients, can have undefined moments when the denominator's distribution places mass near zero, as with a normal cost coefficient.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Allows coefficients to vary randomly across individuals, capturing unobserved preference heterogeneity that a fixed-coefficient logit cannot represent.
- Does not impose IIA, so cross-alternative substitution is not forced into the proportional pattern implied by standard logit.
- Handles repeated choices by the same decision-maker: one coefficient draw beta_n is shared across that person's choice occasions, which is how panel correlation enters the model.
- The mixing distribution can take parametric forms such as normal, log-normal or triangular, so the researcher can match the assumed sign and support of each coefficient.
Applications
- Transportation mode choice: estimating heterogeneous values of travel time across commuters in route and mode demand models.
- Environmental economics: valuing non-market goods such as water quality or biodiversity through stated-preference choice experiments.
- Health economics: modeling patient and physician choice of treatment plans, hospitals, or pharmaceutical products.
- Marketing: analyzing consumer brand choice and willingness-to-pay for product attributes in conjoint analysis studies.
- Energy policy: forecasting household adoption of electric vehicles or renewable energy contracts with heterogeneous preferences.
How it works
How it works
Each decision-maker n derives utility U_nit from alternative i through a linear combination of observed attributes x and an individual-specific coefficient vector beta_n drawn from a distribution f(beta|theta). The random beta_n captures unobserved heterogeneity in preferences across the population, while the error term epsilon_nit keeps the standard extreme-value distribution that makes the conditional logit tractable.
Formula
U_{nit} = \beta_n' x_{nit} + \varepsilon_{nit}, \quad \beta_n \sim f(\beta \mid \theta)Conditional on a particular value of beta_n, the probability that decision-maker n chooses alternative i follows the standard multinomial logit formula. This conditional probability L_ni(beta_n) is well-defined and computationally straightforward for any fixed beta_n, providing the building block that the subsequent integration step will average over the mixing distribution to yield the unconditional choice probability.
Formula
L_{ni}(\beta_n) = \frac{\exp(\beta_n' x_{ni})}{\sum_{j} \exp(\beta_n' x_{nj})}The unconditional choice probability P_ni is obtained by integrating the conditional logit probability L_ni(beta) against the mixing distribution f(beta|theta) over the entire parameter space. Because this integral has no closed-form solution for most distributional choices (e.g., normal, log-normal), simulation methods are required to approximate it numerically, which is the core computational challenge of the mixed logit model.
Formula
P_{ni} = \int L_{ni}(\beta) \, f(\beta \mid \theta) \, d\betaIn practice, the integral is approximated by averaging L_ni over R draws of beta from f(beta|theta), yielding the simulated probability P-tilde_ni. Model parameters theta (means and covariances of the mixing distribution) are then estimated by maximizing the simulated log-likelihood over all observations. Increasing R improves the approximation, and quasi-random Halton draws usually give a more accurate approximation than pseudo-random draws for the same R; the adequate number of draws is judged by checking whether the estimates remain stable.
Formula
\tilde{P}_{ni} = \frac{1}{R} \sum_{r=1}^{R} L_{ni}(\beta^r), \quad \hat{\theta} = \arg\max_{\theta} \sum_{n} \sum_{i} y_{ni} \ln \tilde{P}_{ni}Common pitfalls
- Too few simulation draws make the simulated probabilities noisy, which biases estimates and standard errors. Increase the number of draws, preferably with Halton or other quasi-random sequences, until parameter estimates and standard errors stop changing materially.
- A normal distribution for a cost coefficient places positive mass on positive values, which can produce implausible sign reversals in willingness-to-pay for cost-reducing attributes; a log-normal or constrained triangular form is often preferred for such coefficients.
- Scale heterogeneity can be mistaken for taste heterogeneity: if the error variance differs across individuals, the random coefficient spreads can absorb it, so the estimated dispersion may reflect scale rather than preferences.
- The estimated standard deviations of random coefficients describe the fitted mixing distribution, which can absorb omitted variables or other misspecification. They should not be read as the true spread of preferences without testing the specification, for example with the omitted-variable test that McFadden and Train (2000) describe.
Frequently asked questions
How does Mixed Logit differ from standard Multinomial Logit?
Standard multinomial logit assumes identical, fixed preference coefficients for all decision-makers and imposes IIA. Mixed logit relaxes both restrictions by allowing coefficients to be randomly distributed across individuals and by integrating over that distribution, producing flexible cross-alternative substitution patterns. The cost is computational: mixed logit requires simulation-based estimation rather than closed-form maximization.
Which mixing distribution should I choose for the random parameters?
The choice depends on the parameter's expected sign and behavior. Normal distributions are common for parameters that may be positive or negative. Log-normal is appropriate when the parameter must be strictly positive (e.g., a positive preference for a feature). Triangular or uniform distributions bound the support and can prevent extreme values. Goodness-of-fit tests and theoretical priors should guide the selection.
How many simulation draws are sufficient for reliable estimates?
No single number is sufficient for every application; the requirement depends on the number of random parameters, the sample size and the draw sequence. A practical check is to re-estimate with increasing numbers of draws and see whether parameter estimates and standard errors stabilize. Halton or other quasi-random sequences usually reach a given accuracy with fewer draws than pseudo-random draws.
Related methods
Sources
Train, K. E. (2009). Discrete Choice Methods with Simulation (2nd ed.). Cambridge University Press.
ISBN: 978-0-521-74738-7McFadden, D., & Train, K. (2000). Mixed MNL models for discrete response. Journal of Applied Econometrics, 15(5), 447–470.
Open DOI reference