Mixed Logit (Random Parameters Logit)
Mixed logit is a discrete choice model in which attribute coefficients vary randomly across respondents, estimated by simulated maximum likelihood over Halton draws.
혼합 로짓은 속성 계수가 응답자마다 무작위로 다르다고 보고 Halton 추출을 이용한 모의 최대우도로 추정하는 이산선택 모형입니다.
In my choice experiment people seem to value attributes differently; how do I estimate the spread of preferences rather than one average?
선택 실험에서 사람마다 속성을 다르게 평가하는 것 같은데, 평균 하나가 아니라 선호의 퍼짐을 어떻게 추정하나요?
Mixed logit lets chosen attribute coefficients follow normal, lognormal or triangular distributions and integrates the logit choice probabilities over them with Halton draws, keeping one draw per respondent across all tasks. It reports the mean and spread of each random coefficient, compares the fit with conditional logit and, with a fixed price coefficient, gives willingness-to-pay values.
When to use Mixed Logit (Random Parameters Logit)
- Respondents answer several choice tasks and preference heterogeneity is expected.
- You need mean and standard deviation of attribute weights, or the share of respondents with a positive weight.
- You want to relax the independence of irrelevant alternatives implied by conditional logit.
When to use something else
- Preferences can be assumed homogeneous; use conditional logit (multinomial logit).
- You expect discrete preference segments; use a latent class choice model.
Assumptions and requirements
- Data are in long format with exactly one chosen alternative per choice task.
- The chosen mixing distributions describe preference heterogeneity.
- Enough draws for a stable simulated likelihood (rows × draws is capped at 1,000,000).
- Lognormal coefficients are positive, so negative attributes must be sign-reversed.
What the analysis reports
- Means and spreads of random coefficients with SEs
- Implied coefficient mean and SD for each distribution with delta-method SEs
- Log-likelihood, AIC and BIC (also for conditional logit)
- LR test against conditional logit
- Willingness to pay with delta-method SE and 95% CI when price is fixed
How to report it
A mixed logit model ([value] Halton draws, [value] respondents) fitted better than conditional logit, LR χ²([value]) = [value], p = [value]; the coefficient of [attribute] had mean [value] (SE = [value]) and SD [value] (SE = [value]).
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels.
독립 계산. statsmodels 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Mixed Logit (Random Parameters Logit) on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable, predictor (feature) columns, a unit (entity) ID and a grouping variable
- Price
- 900 credits for one analysis up to 10,000 rows (complexity level 5); larger or wider data costs more. Optional methodologist review: 3600 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.