08 Nested 19 PDF
08 Nested 19 PDF
Michel Bierlaire
[email protected]
Model 1
Ucar = βT + εcar
Ubus = βT + εbus
Therefore,
eβT 1
P (car|{car, bus}) = P (bus|{car, bus}) = βT =
e + eβT 2
Model 2
Ucar = βT + εcar
Ublue bus = βT + εblue bus
Ured bus = βT + εred bus
eβT 1
P (car|{car, blue bus, red bus}) = βT =
e + eβT + eβT 3
P (car|{car, blue bus, red bus})
1
P (blue bus|{car, blue bus, red bus}) = .
3
P (red bus|{car, blue bus, red bus})
~
A
A
A
A
A
A
A
~ A~
A Bus Car
A
A
A
A
A
A
~ A~
Blue Red
eβT 1
P (blue bus|{blue bus, red bus}) = βT =
e + eβT 2
~
A
A
A
A
A
A
A
~ A~
A Bus Car
A
A
A
A
A
A
~ A~
Blue Red
Ucar = βT + εcar
Ubus = Vbus + εbus
with
Vbus = Vbus (Vblue bus , Vred bus )
εbus = ?
Define Vbus as the expected maximum utility of red bus and blue bus
UC = max Ui = max(Vi + εi )
i∈C i∈C
and
VC = E[UC ]
For MNL
1 X µVi γ
E[max Ui ] = ln e +
i∈C µ µ
i∈C
where µb is the scale parameter for the MNL associated with the
choice between red bus and blue bus
Probability model:
eµVcar eµβT 1
P (car) = µVcar = µβT + µµ
= µ
e + eµVbus eµβT +e b
ln 2
1+2 µb
Probability model:
µVbus µβT + µµ ln 2
e e b 1
P (bus) = = µβT + µµ ln 2
= − µµ
eµVcar + eµVbus eµβT +e b 1+2 b
1
P(car)
P(bus)
0.8
0.6
0.4
0.2
0
0 0.2 0.4 0.6 0.8 1
mu/mu_b
µ
µb
µ
If µb → 0, we have
P (car) = 1/2
P (bus) = 1/2
P (red bus|bus) = 1/2
P (blue bus|bus) = 1/2
P (red bus) = P (red bus|bus)P (bus) = 1/4
P (blue bus) = P (blue bus|bus)P (bus) = 1/4
Adjacent to Other
Metro metro non-metro
area area areas
Budget Measured yes yes yes
Standard Measured yes yes yes
Local Flat yes yes yes
Extended Area Flat no yes no
Metro Area Flat yes yes no
eVi
P (i|C) = P Vj
j∈C e
Parameter MNL
Value (t-stat)
βBM -2.46 (-7.84)
βSM -1.74 (-6.28)
βLF -0.54 (-2.57)
βEF -0.74 (-1.02)
βc -2.03 (-9.47)
L0 -560.25
L -477.56
# Obs 434
~
@
@
@
@
@
@
@
~Measured @~Flat
@ @
@ @
@ @
~ @~ ~ ~ @~
BM SM LF EF MF
eVi
P (i|M ) = V i = BM, SM
e BM + eVSM
We estimate the model with the 196 observations choosing either
BM or SM, and calculate the inclusive value
IM = ln(eVBM + eVSM )
eVi
P (i|M ) = i = LF, EF, MF
eVLF + eVEF + eVMF
We estimate the model with the 238 observations choosing LF, EF
or MF and calculate the inclusive value
eµIF eµIF
P (F ) = = βM +µIM
eµ(β̃M +IM ) + eµIF e + eµIF
• IM and IF are attributes of measured and flat, resp.
• βM = µβ̃M and µ are unknown parameters, to be estimated.
• 0<µ≤1
L = LM + LF + LNL
Multinomial Logit:
eVBM
P (BM) = P V
e
j∈C j
Nested Logit:
P (BM) = P (BM|M )P (M )
eVBM eβM +µIM
=
eVBM + eVSM eβM +µIM + eµIF V V
eVBM eβM +µ ln(e BM +e SM )
=
eVBM + eVSM eβM +µ ln(eVBM +eVSM ) + eµ ln(eVLF +eVEF +eVMF )
Let µ = 1
P (BM)
V V
eVBM eβM +ln(e BM +e SM )
=
eVBM + eVSM eβM +ln(eVBM +eVSM ) + eln(eVLF +eVEF +eVMF )
eVBM
= eVBM +eVSM +eVLF −βM +eVEF −βM +eVMF −βM
S
In general, if C = m=1,...M Cm ,
′
µm Vi µVm
e e
P (i|Cm ) = P µm Vi
and P (Cm |C) = P ′
µVk
j∈Cm e k=1,...,m e
where
1 X
Vm′ = ln (eµm Vi )
µm
i∈Cm
µ
When µm = 1, for all m, NL becomes MNL
Sequential estimation:
• Estimation of NL decomposed into two estimations of MNL
• Estimator is consistent but not efficient
Simultaneous estimation:
• Log-likelihood function is generally non concave
• No guarantee of global maximum
• Estimator asymptotically efficient