Professional Documents
Culture Documents
Discrete Choice Models 2
Discrete Choice Models 2
Four elements:
Ø Decision maker
Ø Alternatives
universal choice set, feasible choice set, consideration choice set
Ø Attributes of alternatives
generic or alternative-specific
Ø Decision rule
utility maximization; random choice; variety seeking; etc.
2
Utility-Based Choice Theory
Utility: An indicator of value to a decision maker
U : utility function
i, j : alternative
C : choice set
3
Deterministic Choice Concepts
Deterministic choice concepts imply no uncertainty in decision
process; that is, a decision maker is certain to choose the
alternative with highest utility.
4
Probabilistic Choice Theory
The utility function is decomposed into two components:
U in = Vin + e in
Where
U in : the utility of the alternative i to the decision maker n
Vin : the deterministic term of the utility
e in : the error term unknown to the analyst
5
Multinomial Logit (MNL) model
Mode choice
U car = Vcar + e car (1) are Gumbel distributed
exp(Vcar )
Pr(car ) =
exp(Vcar ) + exp(Vbus ) + exp(Vrail )
exp(Vbus )
Pr(bus ) =
exp(Vcar ) + exp(Vbus ) + exp(Vrail )
exp(Vrail )
Pr(rail ) =
exp(Vcar ) + exp(Vbus ) + exp(Vrail ) 6
Maximum Likelihood Estimation
Two steps:
1) Developing a joint probability density function of the observed
sample, called the likelihood function;
Likelihood function:
d jn
L = Õ Õ ( Pjn )
nÎ N jÎJ
Pr (car) exp(Vcar )
= = exp(Vcar - Vrail )
Pr(rail ) exp(Vrail )
Pr (bus) exp(Vbus )
= = exp(Vbus - Vrail )
Pr(rail ) exp(Vrail )
8
Limitation
Example:
10
Formulation of Nested Logit Model
The total error for each alternative is assumed to be distributed
Gumbel with scale parameter equal to one. The variance of
these distributions is:
p2
Var (e car ) = Var (e PT + e bus ) = Var (e PT + e rail ) =
6
The distinct error components, εbus and εrail , also are assumed to
be distributed Gumbel, but with scale parameter μpt. In practice
we estimate the inverse of the scale parameter θpt=1/ μpt.
p2 p 2θ PT 2
Var (e bus ) = Var (e rail ) = 2
=
6 μ PT 6
11
Formulation of Nested Logit Model
The choice probabilities for the lower
level nested alternatives (bus or rail),
conditional on choice of public
transportation mode are given by:
Car PT exp(Vbus /θ PT )
Pr(bus / PT ) =
exp(Vbus /θ PT ) + exp(Vrail /θ PT )
exp(Vrail /θ PT )
Pr(rail / PT ) =
Bus Rail exp(Vbus /θ PT ) + exp(Vrail /θ PT )
12
Formulation of Nested Logit Model
The marginal choice probabilities for the car and public
transportation alternatives are:
exp(Vcar )
Pr(car ) =
exp(Vcar ) + exp(VPT + θ PT Γ PT )
exp(VPT + θ PT Γ PT )
Pr( PT ) =
exp(Vcar ) + exp(VPT + θ PT Γ PT )
where,
Γ PT = log(exp(Vbus /θ PT ) + exp(Vrail /θ PT ))
13
Formulation of Nested Logit Model
The log-likelihood function is:
LogL = ån ln(Pr(car )d car ´ Pr( PT )d PT ´ Pr(bus / PT )d bus ´ Pr(rail / PT )d rail )
14
Logsum Parameter
0< θ < 1 Implies non-zero correlation among pairs of alternatives in the nest
15
Nesting Structure
Example: 4 alternatives
16
Statistical Testing of Nesting Structure
NL vs. MNL
We can reject the null hypothesis that the MNL model is the correct model if
the calculated value is greater than the critical value for the distribution as:
- 2 ´ [! MNL - ! NL ] ³ c n2
where n is the number of restrictions (nests) between the MNL and NL models.
17
A Example of NL model
Example: mode choice
VPT= constant
18
Explanatory variable MNL NL
Parameter t-value Parameter t-value
Constant -5.39 -3.22** -4.62 -3.23**
Age_C -0.14 -2.95** -0.14 -3.18**
Age_B -0.02 -0.29 -0.03 -0.57
Gender_C 0.65 1.01 0.74 1.17
Gender_B -0.86 -1.41 -0.53 -1.36
Time -0.12 -3.33** -0.08 -2.42*
Fare -0.01 -4.77** -0.01 -3.47**
Logsum 0.54 2.71**
(2.30 *)
Sample size 100
Initial log-likelihood -109.86
Converged log-likelihood -64.68 -63.20
McFadden's Rho-squared 0.41 0.42
Adjusted McFadden's Rho-squared 0.34 0.35
χ2 statistic to test whether NL outperforms MNL or not 2.96 > 2.71 (critical value: df=1, 90% level)
* significant at the 95% level, ** significant at the 99% level
19