Nested Logit Model
The nested logit model is a generalised extreme value choice model that groups similar alternatives into nests, allowing correlated unobserved utility within each nest through a dissimilarity parameter.
내포 로짓은 비슷한 대안을 내포로 묶고 비유사성 모수로 내포 안 비관측 효용의 상관을 허용하는 일반화 극단값(GEV) 선택 모형입니다.
Some alternatives in my choice data are close substitutes; how do I model that instead of assuming independence of irrelevant alternatives?
선택 자료에서 어떤 대안끼리 서로 가까운 대체재인데, 무관한 대안의 독립성(IIA)을 가정하지 않고 어떻게 모형화하나요?
Nested logit estimates utility coefficients together with one dissimilarity parameter λ per nest by maximum likelihood, where λ = 1 for every nest reduces to multinomial logit. A likelihood-ratio test against multinomial logit tests independence of irrelevant alternatives across nests, and direct elasticities show how substitution differs within and across nests.
When to use Nested Logit Model
- Alternatives fall into groups of close substitutes, such as public and private transport modes.
- You need substitution patterns that are stronger within a group than across groups.
- You want a likelihood-ratio test of the IIA assumption of multinomial logit.
When to use something else
- Alternatives are not naturally grouped; use multinomial logit.
- Preference heterogeneity across respondents is the main concern; use mixed logit.
Assumptions and requirements
- Data are in long format with an alternative identifier and one chosen alternative per task.
- The nest structure is specified in advance and each alternative belongs to one nest.
- Nest parameters between 0 and 1 for consistency with random utility maximisation.
- Attribute coefficients are generic across alternatives (alternative constants optional).
What the analysis reports
- Utility coefficients and alternative constants with SEs
- Nest dissimilarity parameters with tests of λ = 1
- Log-likelihood and AIC for nested and multinomial logit
- LR test against multinomial logit
- Average direct elasticities per alternative
How to report it
A nested logit model of [value] choice sets in [value] nests gave λ([nest]) = [value] (SE = [value]); it fitted better than multinomial logit, LR χ²([value]) = [value], p = [value].
Common variants
자주 쓰는 설정
The same analysis with settings already chosen. Each runs Nested Logit Model itself, at the same price.
- Bayesian nested logit — bayes set to “on”
Related methods
- Mixed Logit (Random Parameters Logit)
- Discrete Choice Experiment (DCE)
- Multinomial Logistic Regression
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 Nested Logit Model 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.