meeghat habibian analysis of travel choice transportation demand analysis lecture note

59
Meeghat Habibian Analysis of Travel Choice T r a n s p o r t a t i o n D e m a n d A n a l y s i s L e c t u r e n o t e

Upload: rosanna-hodge

Post on 17-Jan-2016

214 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Meeghat Habibian

Analysis of Travel Choice

Tran

sp

orta

tion

Dem

an

d

An

aly

sis

Lectu

re n

ote

Page 2: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Choice context in transportation

Destination choice

Mode choice

Route choice

AlsoTravel start time choice

Freight transportation agent choice

2

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 3: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Measurement of ChoiceChoice can be reflected by:

Number of people

Proportion of populationTherefore, it can be:

3

Independent of the total number of population

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 4: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Choice Process

1. Deterministic

The Decision rule that is used by traveler is consistent and stable

4

The Choice made will be consistently the same

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 5: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Deterministic Choice (Individual Level)

V(i)=Ai*Xi

V(i): choice functionXi : a vector of demand and supply variables

Ai : a vector of parameters that represent the effect of each variable

5

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

The choice rule:

V(j)=max[V(i)]

Page 6: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Example

Route choiceThe choice function

V(i)=-0.2ti-1.0(ci/B)

ti: travel time (hours) of alternative i

ci: travel cost ($) of alternative i

B: annual income of individual (1000$)

6

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 7: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Example

Marginal rate of substitution between cost and time

As: Therefore:

7

Value of time per hour=20% of annual income/1000

The time value of a person with annual income of $20000 would be $4/h

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

𝑑𝑦𝑑𝑥

Page 8: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Choice Process

Due to:Behavior of choice makerAbsence of rational and consistent decision rule

8

Provide a far superior means for predicting travel behavior than Deterministic one

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

2. Stochastic

Page 9: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Stochastic Choice

A stochastic model is preferable because:

1. Idiosyncrasies of traveler behavior isn’t anticipated2. It is impossible to include all the variables in the

choice function3. Potential traveler don’t have full information about

system and alternatives

9

Choice function is considered as a random function

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 10: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Stochastic ChoiceRandom utility model:

U(i)=V(i)+e(i)U(i)=choice function for alternative i

V(i)=deterministic function for alternative i

e(i)=a stochastic component

10

Statistical assumptions are made regarding to the distributional nature of e(i)

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 11: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Stochastic Choice

11

The probability that the alternative i is chosen:

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 12: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Stochastic Choice

12

Therefore:

F: Joint distribution of the random componentfi(Φ): Density function of e(i)

Based on fi(Φ), different structures can be derived Due to lack of knowledge about the error term a number

of assumptions could be made (e.g., Normal distribution)

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 13: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Probit Model

Tran

sp

orta

tion

Dem

an

d

An

aly

sis

Lectu

re n

ote

Page 14: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Probit Model Random Utilities [U(i),U(j),…] have a multivariate normal

distribution (MVN)

14

n: Number of alternativesбij: Variance-covariance elements

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 15: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Probit Model

This is equal to:

15

ei follows: Multivariate normal distribution With zero mean A finite variance-covariance matrix

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 16: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Probit Model

The resulted model is extensive and expensive No closed form

An approximated closed form is suggested by Clark

16

Max [U(1),U(2),…,U(n)]~ N( Vmax, бmax2)

U(i) multivariate normal variableswith means V(i)and covariance elements бij

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 17: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Probit Model Defining for any two normally distributed variable U1, U2

17

ρ12: correlation coefficient

Φ: standard normal distributionØ: density function

Clark:

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

+

12

Page 18: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Probit Model

And correlation between U3 and max of U1, U2

18

Clark:

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 19: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Probit Model

19

And finally the choice probability is:

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 20: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Probit Model For two alternatives from (5-5)

20

For more than 3 alternatives:

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 21: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Example 1

V=[-12,-10,-15] (negative utilities such as cost or travel time)ρ12=0.5 (correlation of attribute 1,2)

б12=0.5*2*2=2

ρ23=0

21

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 22: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Example 1

22

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 23: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Example 1from equation (5-12):

23

In a similar manner:p(2)=0.81p(3)=0.05

p(1)+ p(2)+p(3)=0.15+0.81+0.05=1.01is sufficiently close to 1.0

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 24: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Binary Probit Model U(1),U(2) assumed independent and have normal distribution so:

24

from Eq.(5-12):

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 25: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Binary Probit Model

Even V(1)<V(2) there is a non zero probability of choosing alternative 1

The larger utility function for an alternative the larger probability of its choice

25

All or nothing vs. Probit:

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 26: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Logit Model

Tran

sp

orta

tion

Dem

an

d

An

aly

sis

Lectu

re n

ote

Page 27: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Logit Model

This model is obtained by assuming that the random component, e(i), of choice utilities are IID:

Independent Identically distributed through a Gumbel distribution:

27

ɵ= Scale parameter of Gumbel distribution

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 28: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Logit Model

By combining:

28

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

and

Page 29: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Logit Model Formulation

29

Multinomial Logit Model (MNL)

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 30: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Logit Model

Advantages: Easier (than the Probit) in terms of

Parameters estimation Application Interpretation

Disadvantage: Restricted to the situations where alternatives have independent choices

30

Route choice over a complex network

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 31: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Example

Choice vector: V=[-12,-10,-15]Direct application of Eq.(5-20):

31

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 32: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Comparison of Logit and

Probit Models

Tran

sp

orta

tion

Dem

an

d

An

aly

sis

Lectu

re n

ote

Page 33: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Comparison of Logit and Probit Models

33

Logit model

P(1)=0.12P(2)=0.875P(3)=0.005

Probit model

P(1)=0.15P(2)=0.81P(3)=0.05

The resulting logit model has the tendency to reduce the choice for low V as P(3) and increase it with high V as P(2)

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 34: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Comparison of Logit and Probit Models Assuming independence of the utilities

There is not much difference between the results

34

Binary logit and probit models of

mode choice

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 35: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Comparison of Logit and Probit Models

Alternatives with similar attributes, or with overlapping components that independence can’t be assumed, Probit might be a better model

Alternatives that can be mutually exclusive, a Logit model would be appropriate

35

Alternative routes overlap on a link

Intercity travel mode choiceDestination choice

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 36: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Example

I: can represent a highway modeII: a bus mode with walking accessIII: a bus mode with walking access

36

Three different routes between points A and B:

The overlap part: The alternatives ІІ and ІІІ are not independent

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 37: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Extent of Error from Independence Assumption

x: measures the length of AC in comparison to AB

37

X=0 total overlap between ІІ and ІІІX=1 independent alternatives

Assuming identical utility function V:

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 38: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Extent of Error from Independence Assumption

A choice model without dependence between e(ІІ), e(ІІІ) will always predict p(ІІІ)=0.33

A model with dependence term shows a more realistic result

38

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Covariance of alternatives II and III is a function of x

Page 39: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Independence of Irrelevant Alternatives (IIA)

Relative odds of choosing one alternative over another

39

Relative odds between any two alternatives are independent of any other alternatives

Strength or weakness of model that have this property such as Logit

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 40: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Independence of Irrelevant Alternatives (IIA)

For example in urban mode choice:

Relative odds of taking automobile over taking a bus is independent of there is a train or not.

But presence of a train as a third alternative affects probability of choosing the bus more

40

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 41: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Independence of Irrelevant Alternatives (IIA)

The binary logit model: Can be derived as a deterministic choice model This property leads to make logit model as intrinsically linear:

41

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 42: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Nested Logit Model

Tran

sp

orta

tion

Dem

an

d

An

aly

sis

Lectu

re n

ote

Page 43: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Nested Logit Model

Remember the problem: Logit model:

– Private car (0.33)– Red bus (0.33)– Blue bus (0.33)

Expectation:– Private car (0.50)– Red bus (0.25)– Blue bus (0.25)

43

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 44: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Nested Logit ModelDue to: Application of dependent alternatives Difficulty of Probit model

The Nested Logit structure is developed:

44

NL

Bus

Blue Red

Car

MNL

Blue Bus Red Bus Car

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 45: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Nested Logit Model

45

k

m

Varm ≤ Vark μk ≤ μm ɵk=μk /μm ≤1

μ=Scale parameter of Gumbel distribution

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

NL

Bus

Blue Red

Car

Page 46: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Calibration of Choice Models

Tran

sp

orta

tion

Dem

an

d

An

aly

sis

Lectu

re n

ote

Page 47: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Calibration of Choice Models

Estimate the parameters’ values

Performing the statistical test

Validating the model by comparing with observed

data

47

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 48: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Multinomial Disaggregate Models

V(n,m): choice function constructed for each individual n and

alternative m

xinm: ith variable for alternative m as measured for individual n

48

Assume:

The choice model:

V(n,m)=∑i βimXinm

Pn (m)= f [V(n,m)]= g [∑i βimXinm]

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 49: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Multinomial Disaggregate Models

To estimate the model parameters βim, we define:

1 if individual n chooses alternative m 0 Otherwise

Nm=ΣnYnm

49

Nm: number of individuals who choose alternative m in the sample

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Ynm=

Page 50: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Likelihood Function

The likelihood of the observed sample is given by:

50

To facilitate the procedure:

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 51: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

The Likelihood Function

51

i: originj: destination

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 52: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Multinomial Disaggregate Models

The maximum of LL can be obtained by:

52

The confidence intervals for βim^ are asymptotically efficient.

ƏLL/Əβim=0

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 53: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Goodness of Fit

Tran

sp

orta

tion

Dem

an

d

An

aly

sis

Lectu

re n

ote

Page 54: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Definitions

Logarithm of likelihood function is also presented as L(β)

Assuming no variable in model (all β=0) L(0)

Assuming market share (only constants in utility functions) L(c)

Note: L(0)<L(c)<L(β)<0

54

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 55: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Relations

L(0)=Σn Ln (Cn)– Cn : Number of choices for individual (market) n

L(c)=Σm Nm*Ln (Nm/N)– Nm: Number of individuals adopt alternative m– N: Sampled population

55

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 56: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Goodness of Fit measures

Market share goodness of fit:

Goodness of fit:

Goodness of fit regarding to market share (Also known as Mc Fadden Goodness of fit):

Adjusted goodness of fit:

Adjusted goodness of fit regarding to market share:

56

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 57: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Ratio of Likelihood Test

The Chi-square table is adopted:

-2[L(C)-L(β )]~χ²k

Generally:

-2[L(βr)-L(βu)]~χ²ku-kr

57

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 58: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Calibration Software Program

• NLOGIT 5.0

• BIOGEME

• LIMDEP

• GAUSS 1.49

58

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

-

Tit

le

Page 59: Meeghat Habibian Analysis of Travel Choice Transportation Demand Analysis Lecture note

Tran

sp

ort

ati

on

Dem

an

d A

naly

sis

- Lectu

re n

ote

Finish59