Multivariate Extreme Value models Michel Bierlaire Transport and - - PowerPoint PPT Presentation

multivariate extreme value models
SMART_READER_LITE
LIVE PREVIEW

Multivariate Extreme Value models Michel Bierlaire Transport and - - PowerPoint PPT Presentation

Multivariate Extreme Value models Michel Bierlaire Transport and Mobility Laboratory School of Architecture, Civil and Environmental Engineering Ecole Polytechnique F ed erale de Lausanne M. Bierlaire (TRANSP-OR ENAC EPFL) Multivariate


slide-1
SLIDE 1

Multivariate Extreme Value models

Michel Bierlaire

Transport and Mobility Laboratory School of Architecture, Civil and Environmental Engineering Ecole Polytechnique F´ ed´ erale de Lausanne

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 1 / 68

slide-2
SLIDE 2

Outline

Outline

1

Introduction

2

Multivariate Extreme Value distribution

3

MEV model

4

Examples of MEV models

5

Cross nested logit model

6

Network MEV model

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 2 / 68

slide-3
SLIDE 3

Introduction

Logit

Assumptions Random utility: Uin = Vin + εin εin is i.i.d. EV (Extreme Value) distributed εin is the maximum of many r.v. capturing unobservable attributes, measurement and specification errors. i.i.d. independent and identically distributed.

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 3 / 68

slide-4
SLIDE 4

Introduction

Relax the independence assumption

Multivariate distribution    U1n . . . UJn    =    V1n . . . VJn    +    ε1n . . . εJn    that is Un = Vn + εn and εn is a vector of random variables.

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 4 / 68

slide-5
SLIDE 5

Multivariate Extreme Value distribution

Outline

1

Introduction

2

Multivariate Extreme Value distribution

3

MEV model

4

Examples of MEV models

5

Cross nested logit model

6

Network MEV model

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 5 / 68

slide-6
SLIDE 6

Multivariate Extreme Value distribution

Multivariate Extreme Value distribution

Definition εn = (ε1n, . . . , εJn) follows a multivariate extreme value distribution if it has the CDF Fεn(ε1n, . . . , εJn) = e−G(e−ε1n,...,e−εJn), where G : RJn

+ → R+ is a positive function with positive arguments.

Valid CDF must verify three properties Fεn(ε1n, . . . , −∞, . . . , εJnn) = 0. Fεn(+∞, . . . , +∞) = 1. For any set of Jn ≤ Jn distinct indices i1, . . . , i

Jn,

JnFεn

∂εi1n · · · ∂εi

Jnn

(ε1n, . . . , εJnn) ≥ 0.

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 6 / 68

slide-7
SLIDE 7

Multivariate Extreme Value distribution

The limit property

Valid CDF Fεn(ε1n, . . . , −∞, . . . , εJnn) = 0. MEV Fεn(ε1n, . . . , εJnn) = e−G(e−ε1n,...,e−εJnn). Valid G function G(y1n, . . . , +∞, . . . , yJnn) = +∞.

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 7 / 68

slide-8
SLIDE 8

Multivariate Extreme Value distribution

The zero property

Valid CDF Fεn(+∞, . . . , +∞) = 1. MEV Fεn(ε1n, . . . , εJnn) = e−G(e−ε1n,...,e−εJnn). Valid G function G(0, . . . , 0) = 0.

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 8 / 68

slide-9
SLIDE 9

Multivariate Extreme Value distribution

The strong alternating sign property

Valid CDF ∂

JnFεn

∂εi1n · · · ∂εi

Jnn

(ε1n, . . . , εJnn) ≥ 0. MEV Fεn(ε1n, . . . , εJnn) = e−G(e−ε1n,...,e−εJnn). Valid G function (notation: Gi = ∂G/∂yi) The right-hand side changes sign each time it is differentiated. To obtain ≥ 0, G must also change sign each time it is differentiated. For any set of Jn distinct indices i1, . . . , i

Jn,

(−1)

  • Jn−1Gi1,...,i

Jn ≥ 0.

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 9 / 68

slide-10
SLIDE 10

Multivariate Extreme Value distribution

Homogeneity

We need another property: homogeneity A function G is homogeneous of degree µ, or µ-homogeneous, if G(αy) = αµG(y), ∀α > 0 and y ∈ RJn

+ .

It will imply two results the marginals are univariate extreme value distributions, the choice model has a closed form.

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 10 / 68

slide-11
SLIDE 11

Multivariate Extreme Value distribution

Marginal distribution

ith marginal distribution Fεn(+∞, . . . , +∞, εin, +∞, . . . , +∞) = e−G(0,...,0,e−εin,0,...,0). If G is µ-homogeneous, we have G(0, . . . , 0, e−εin, 0, . . . , 0) = e−µεinG(0, . . . , 0, 1, 0, . . . , 0),

  • r equivalently,

G(0, . . . , 0, e−εin, 0, . . . , 0) = e−µεin+log G(0,...,0,1,0,...,0), Define log G(0, . . . , 0, 1, 0, . . . , 0) = µη, so that Fεn(+∞, . . . , +∞, εin, +∞, . . . , +∞) = exp

  • −e−µ(εin−η)

.

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 11 / 68

slide-12
SLIDE 12

Multivariate Extreme Value distribution

Multivariate Extreme Value distribution

CDF Fεn(ε1n, . . . , εJnn) = e−G(e−ε1n,...,e−εJnn), ith marginal: univariate extreme value distribution Fεn(+∞, . . . , +∞, εin, +∞, . . . , +∞) = exp

  • −e−µ(εin−η)

.

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 12 / 68

slide-13
SLIDE 13

Multivariate Extreme Value distribution

Multivariate Extreme Value distribution

Three conditions on G The limit property G(y1n, . . . , +∞, . . . , yJnn) = +∞. The strong alternating sign property (−1)

  • Jn−1Gi1,...,i

Jn ≥ 0.

Homogeneity (which implies the zero property) G(αy) = αµG(y), ∀α > 0 and y ∈ RJn

+ .

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 13 / 68

slide-14
SLIDE 14

MEV model

Outline

1

Introduction

2

Multivariate Extreme Value distribution

3

MEV model

4

Examples of MEV models

5

Cross nested logit model

6

Network MEV model

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 14 / 68

slide-15
SLIDE 15

MEV model

Derivation from first principles

Probability model P(i|Cn) = Pr(Uin ≥ Ujn, ∀j ∈ Cn), Random utility Uin = Vin + εin. Random utility model P(i|Cn) = Pr(Vin + εin ≥ Vjn + εjn, ∀j ∈ Cn),

  • r

P(i|Cn) = Pr(εjn − εin ≤ Vin − Vjn, ∀j ∈ Cn).

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 15 / 68

slide-16
SLIDE 16

MEV model

General derivation

Joint distributions of εn Assume that εn = (ε1n, . . . , εJnn) is a multivariate random variable with CDF Fεn(ε1, . . . , εJn) and pdf fεn(ε1, . . . , εJn) = ∂JnF ∂ε1 · · · ∂εJn (ε1, . . . , εJn). Derive the model for the first alternative (wlog) Pn(1|Cn) = Pr(V2n + ε2n ≤ V1n + ε1n, . . . , VJn + εJn ≤ V1n + ε1n), Pn(1|Cn) = Pr(ε2n − ε1n ≤ V1n − V2n, . . . , εJn − ε1n ≤ V1n − VJn).

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 16 / 68

slide-17
SLIDE 17

MEV model

Derivation

Model Pn(1|Cn) = Pr(ε2n − ε1n ≤ V1n − V2n, . . . , εJn − ε1n ≤ V1n − VJn). Change of variables ξ1n = ε1n, ξin = εin − ε1n, i = 2, . . . , Jn, that is        ξ1n ξ2n . . . ξ(Jn−1)n ξJnn        =        1 · · · −1 1 · · · . . . −1 · · · 1 −1 · · · 1               ε1n ε2n . . . ε(Jn−1)n εJnn        .

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 17 / 68

slide-18
SLIDE 18

MEV model

Derivation

Model in ε Pn(1|Cn) = Pr(ε2n − ε1n ≤ V1n − V2n, . . . , εJn − ε1n ≤ V1n − VJn). Change of variables ξ1n = ε1n, ξin = εin − ε1n, i = 2, . . . , Jn, Model in ξ Pn(1|Cn) = Pr(ξ2n ≤ V1n − V2n, . . . , ξJnn ≤ V1n − VJnn). Note The determinant of the change of variable matrix is 1, so that ε and ξ have the same pdf

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 18 / 68

slide-19
SLIDE 19

MEV model

Derivation

Pn(1|Cn) = Pr(ξ2n ≤ V1n − V2n, . . . , ξJnn ≤ V1n − VJnn) = Fξ1n,ξ2n,...,ξJn(+∞, V1n − V2n, . . . , V1n − VJnn) = +∞

ξ1=−∞

V1n−V2n

ξ2=−∞

· · · V1n−VJnn

ξJn=−∞

fξ1n,ξ2n,...,ξJn(ξ1, ξ2, . . . , ξJn)dξ, = +∞

ε1=−∞

V1n−V2n+ε1

ε2=−∞

· · · V1n−VJnn+ε1

εJn=−∞

fε1n,ε2n,...,εJn(ε1, ε2, . . . , εJn)dε,

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 19 / 68

slide-20
SLIDE 20

MEV model

Derivation

Pn(1|Cn) = +∞

ε1=−∞

V1n−V2n+ε1

ε2=−∞

· · · V1n−VJnn+ε1

εJn=−∞

fε1n,ε2n,...,εJn(ε1, ε2, . . . , εJn)d Pn(1|Cn) = +∞

ε1=−∞

∂Fε1n,ε2n,...,εJn ∂ε1 (ε1, V1n−V2n+ε1, . . . , V1n−VJnn+ε1)dε1. The random utility model: Pn(i|Cn) = +∞

ε=−∞

∂Fε1n,ε2n,...,εJn ∂εi (. . . , Vin − V(i−1)n + ε, ε, Vin − V(i+1)n + ε, . . .)dε

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 20 / 68

slide-21
SLIDE 21

MEV model

MEV: the choice model

CDF of the error terms Fεn(ε1n, . . . , εJnn) = e−G(e−ε1n,...,e−εJnn), Choice model: Pn(i) = +∞

ε=−∞

∂Fε1n,ε2n,...,εJnn ∂εi (. . . , Vin − V(i−1)n + ε, ε, Vin − V(i+1)n + ε, . . .)dε. ∂Fε1n,ε2n,...,εJnn ∂εi (. . . , Vin − V(i−1)n + ε, ε, Vin − V(i+1)n + ε, . . .) = e−εGi(. . . , e−Vin+V(i−1)n−ε, e−ε, e−Vin+V(i+1)n−ε, . . .) exp

  • −G(. . . , e−Vin+V(i−1)n−ε, e−ε, e−Vin+V(i+1)n−ε, . . .)
  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 21 / 68

slide-22
SLIDE 22

MEV model

MEV: the choice model

G is µ-homogeneous so that Gi = ∂G/∂yi is (µ − 1)-homogeneous. e−εGi(. . . , e−Vin+V(i−1)n−ε, e−ε, e−Vin+V(i+1)n−ε, . . .) exp

  • −G(. . . , e−Vin+V(i−1)n−ε, e−ε, e−Vin+V(i+1)n−ε, . . .)
  • = e−εe−(µ−1)εe−(µ−1)VinGi(. . . , eV(i−1)n, eVin, eV(i+1)n, . . .)

exp

  • −e−µεe−µVinG(. . . , eV(i−1)n, eVin, eV(i+1)n, . . .)
  • .
  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 22 / 68

slide-23
SLIDE 23

MEV model

MEV: choice model

We now denote eV =

  • . . . , eV(i−1)n, eVin, eV(i+1)n, . . .
  • ,

and simplify the terms to obtain ∂Fε1n,ε2n,...,εJnn ∂εi (. . . , Vin − V(i−1)n + ε, ε, Vin − V(i+1)n + ε, . . .) = e−µεe−µVineVinGi(eV ) exp

  • −e−µεe−µVinG(eV )
  • .

Therefore Pn(i) = e−µVineVinGi(eV ) +∞

ε=−∞

e−µε exp

  • −e−µεe−µVinG(eV )
  • dε.
  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 23 / 68

slide-24
SLIDE 24

MEV model

MEV: choice model

Choice probability Pn(i) = e−µVineVinGi(eV ) +∞

ε=−∞

e−µε exp

  • −e−µεe−µVinG(eV )
  • dε.

Define t = − exp(−µε), so that dt = µ exp(−µε)dε: Pn(i) = e−µVineVinGi(eV ) 1 µ

t=−∞

exp

  • te−µVinG(eV )
  • dt,

which simplifies to Pn(i) = eVinGi(eV ) µG(eV ) .

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 24 / 68

slide-25
SLIDE 25

MEV model

MEV: choice model

Choice probability Pn(i) = eVinGi(eV ) µG(eV ) . From Euler’s theorem: Pn(i) = eVinGi

  • eV
  • j eVjnGj (eV ).

Logit-like form: Pn(i) = eVin+log Gi(eV)

  • j eVjn+log Gj(eV) .
  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 25 / 68

slide-26
SLIDE 26

MEV model

MEV: choice model

The multivariate extreme value model: Pn(i) = eVin+log Gi(eV)

  • j eVjn+log Gj(eV) .

where Gi = ∂G/∂yi, and G verifies (i) the limit property: G(y1n, . . . , +∞, . . . , yJnn) = +∞. (ii) the strong alternating sign property: for any set of Jn distinct indices i1, . . . , i

Jn,

(−1)

  • Jn−1Gi1,...,i

Jn ≥ 0.

(iii) the homogeneity property: G(αy) = αµG(y), ∀α > 0 and y ∈ RJn

+ .

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 26 / 68

slide-27
SLIDE 27

MEV model

MEV: choice model

Probability generating function A function G, which is µ homogeneous, that verifies the MEV properties is called a µ-MEV function. Expected maximum utility E[max

j∈Cn Ujn] = 1

µ(log G(eV1n, . . . , eVJnn) + γ), where γ is Euler’s constant Euler’s constant γ = − +∞ e−x ln x dx ≈ 0.5772.

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 27 / 68

slide-28
SLIDE 28

MEV model

MEV vs GEV

McFadden (1978) MEV is called “General Extreme Value model” (GEV) Jenkinson (1955) a Generalized Extreme Value distribution (Jenkinson, 1955) is a univariate distribution with CDF FX(x) =      e−(1+ξ((x−µ)/σ))−1/ξ) −∞ < x ≤ µ − σ/ξ for ξ < 0 µ − σ/ξ ≤ x < ∞ for ξ > 0 e−e−(x−µ)/σ −∞ < x < ∞ for ξ = 0 ξ = 0 Type 1 EV distribution ξ > 0 Type 2 EV distribution ξ < 0 Type 3 EV distribution

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 28 / 68

slide-29
SLIDE 29

MEV model

Distribution of the utility functions

Un = (U1n, . . . , UJnn) = (V1n + ε1n, . . . , VJn + εJn) CDF FUn(ξ1, . . . , ξJn) = Pr(Un ≤ ξn) = e−G(eV1n−ξ1,...,eVJnn−ξJn ). Marginal distributions: extreme value Mean: Vjn + log G(0,...,1,...,0)+γ

µ

Variance: π2/6µ2, for each j

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 29 / 68

slide-30
SLIDE 30

MEV model

Variance-covariance matrix

Cov(εin, εjn) = E[εinεjn] − E[εin] E[εjn] = +∞

−∞

+∞

−∞

ξiξj ∂2Fεn(ξi, ξj) ∂ξi∂ξj dξidξj − γ2, where E[εin] = γ, Fεn(ξi, ξj) = Fεn(. . . , +∞, ξi, +∞, . . . , +∞, ξj, +∞, . . .) is the bivariate marginal cumulative distribution, and ∂2Fεin,εjn(ξi, ξj) ∂ξi∂ξj = Fεin,εjn(ξi, ξj)e−ξie−ξj(G ij

i G ij j − G ij ij )

where G ij

i = ∂G(. . . , 0, e−ξi, 0, . . . , 0, e−ξj, 0, . . .)

∂yi and G ij

ij = ∂2G(. . . , 0, e−ξi, 0, . . . , 0, e−ξj, 0, . . .)

∂yi∂yj .

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 30 / 68

slide-31
SLIDE 31

Examples of MEV models

Outline

1

Introduction

2

Multivariate Extreme Value distribution

3

MEV model

4

Examples of MEV models

5

Cross nested logit model

6

Network MEV model

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 31 / 68

slide-32
SLIDE 32

Examples of MEV models

MEV models

Example: G(y) = J

i=1 yµ i , µ > 0

1 G(αy) =

J

  • i=1

(αyi)µ = αµ

J

  • i=1

i = αµG(y)

2

lim

yi→+∞ G(y) = +∞, i = 1, . . . , J

3

∂G ∂yi = µyµ−1

i

and ∂2G ∂yi∂yj = 0 G complies with the theory

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 32 / 68

slide-33
SLIDE 33

Examples of MEV models

MEV models

Example: G(y) = J

i=1 yµ i , µ > 0

F(ε1, . . . , εJ) = e−G(e−ε1,...,e−εJ ) = e− J

i=1 e−µεi

= J

i=1 e−e−µεi

Product of i.i.d EV Logit Model

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 33 / 68

slide-34
SLIDE 34

Examples of MEV models

MEV models

Example: G(eV1, . . . , eVJ) = J

i=1 eµVi, µ > 0

P(i) = eVi+ln Gi(eV1,...,eVJ )

  • j∈C eVj+ln Gj(eV1,...,eVJ ) with Gi(x) = µxµ−1

i

eVi+ln Gi(eV1,...,eVJ ) = eVi+ln µ+(µ−1) ln eVi = eln µ+µVi P(i) = eln µ+µVi

  • j∈C eln µ+µVj =

eµVi

  • j∈C eµVj
  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 34 / 68

slide-35
SLIDE 35

Examples of MEV models

MEV models

Example: G(eV1, . . . , eVJ) = J

i=1 eµVi, µ > 0

E[maxj∈Cn Ujn] =

1 µ

  • ln G(eV1, . . . , eVJ) + γ
  • =

1 µ ln J

  • i=1

eµVi + γ µ

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 35 / 68

slide-36
SLIDE 36

Examples of MEV models

MEV models

Example: Nested logit G(y) =

M

  • m=1

Jm

  • i=1

yµm

i

µ

µm

with µ > 0, µm > 0. Homogeneity G(αy) =

M

  • m=1

Jm

  • i=1

(αyi)µm µ

µm

= αµ

M

  • m=1

Jm

  • i=1

yµm

i

µ

µm

Limit property lim

yi→+∞ G(y) = +∞, i = 1, . . . , J

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 36 / 68

slide-37
SLIDE 37

Examples of MEV models

MEV models

Example: Nested logit G(y) =

M

  • m=1

Jm

  • i=1

yµm

i

µ

µm

with µ > 0, µm > 0. Strong alternating sign property ∂G ∂yi = µ µm µmyµm−1

i

Jm

  • i=1

yµm

i

µ

µm −1

≥ 0 If µ ≤ µm, then ∂2G ∂yiyj = µµmyµm−1

i

yµm−1

j

( µ µm − 1) Jm

  • i=1

yµm

i

µ

µm −2

≤ 0

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 37 / 68

slide-38
SLIDE 38

Examples of MEV models

MEV models

So far, we have seen that the logit model is a MEV model, the nested logit model is also a MEV model: G(y) =

M

  • m=1

Jm

  • i=1

yµm

i

µ

µm

If

µ µm ≤ 1, then G complies with the theory

Are there other such models?

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 38 / 68

slide-39
SLIDE 39

Cross nested logit model

Outline

1

Introduction

2

Multivariate Extreme Value distribution

3

MEV model

4

Examples of MEV models

5

Cross nested logit model

6

Network MEV model

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 39 / 68

slide-40
SLIDE 40

Cross nested logit model

Cross-Nested logit model

Probability generating function G(y1, . . . , yJ) =

M

  • m=1

 

j

(αjm1/µyj)µm  

µ µm

, with

µ µm ≤ 1, αjm ≥ 0, and ∀j, ∃m s.t. αjm > 0

Generalization of the nested-logit model

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 40 / 68

slide-41
SLIDE 41

Cross nested logit model

Nested Logit Model

Public Private Bus Train Car Ped. Bike

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 41 / 68

slide-42
SLIDE 42

Cross nested logit model

Nested Logit Model

Motorized Unmotorized Bus Train Car Ped. Bike

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 42 / 68

slide-43
SLIDE 43

Cross nested logit model

Cross Nested Logit Model

Motorized Private Bus Train Car Ped. Bike

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 43 / 68

slide-44
SLIDE 44

Cross nested logit model

Cross-Nested Logit Model

Choice model P(i|C) =

M

  • m=1
  • j∈C αµm/µ

jm

eµmVj µ

µm

M

n=1

  • j∈C αµn/µ

jn

eµnVj µ

µn

αµm/µ

im

eµmVi

  • j∈C αµm/µ

jm

eµmVj . which can nicely be interpreted as P(i|C) =

  • m

P(m|C)P(i|m).

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 44 / 68

slide-45
SLIDE 45

Cross nested logit model

Airline itinerary choice example

Cross-nested logit One airline One stop NS SAME MULT 1 0.5 0.5 1

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 45 / 68

slide-46
SLIDE 46

Cross nested logit model

Airline itinerary choice example

Parameter Coeff. Asympt. number Description estimate

  • std. error

t-stat p-value 1 One stop–same airline dummy

  • 0.674

0.185

  • 3.64

0.00 2 One stop–multiple airlines

  • 1.10

0.175

  • 6.29

0.00 3 Round trip fare ($100)

  • 1.55

0.170

  • 9.10

0.00 4 Elapsed time (0–2 hours)

  • 0.783

0.210

  • 3.72

0.00 5 Elapsed time (2–8 hours)

  • 0.177

0.0627

  • 2.82

0.00 6 Elapsed time (> 8 hours)

  • 0.832

0.274

  • 3.03

0.00 7 Leg room (inches), if male (non stop) 0.0904 0.0305 2.97 0.00 8 Leg room (inches), if female (non stop) 0.174 0.0302 5.77 0.00 9 Leg room (inches), if male (one stop) 0.0998 0.0227 4.40 0.00 10 Leg room (inches), if female (one stop) 0.0640 0.0200 3.20 0.00 11 Being early (hours)

  • 0.128

0.0175

  • 7.30

0.00 12 Being late (hours)

  • 0.0747

0.0154

  • 4.86

0.00 13 More than two air trips per year (one stop–same airline)

  • 0.241

0.120

  • 2.01

0.04 14 More than two air trips per year (one stop–multiple airlines)

  • 0.0964

0.132

  • 0.73

0.47 15 Round trip fare / income ($100/$1000)

  • 17.9

7.68

  • 2.34

0.02 16 µOne airline 1.11 0.122 0.861 0.39 17 µOne stop 2.38 0.392 3.511 0.00

1t-test against 1

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 46 / 68

slide-47
SLIDE 47

Cross nested logit model

Airline itinerary choice example

Cross-nested logit: estimate α One airline One stop NS SAME MULT 1 1 − α α 1

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 47 / 68

slide-48
SLIDE 48

Cross nested logit model

Airline itinerary choice example

Invalid estimation results µ parameter for “One airline” = 0.785. Should be greater or equal to 1.0. We reject the model. We constrain the µ parameter to 1.0.

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 48 / 68

slide-49
SLIDE 49

Cross nested logit model

Airline itinerary choice example

Parameter Coeff. Asympt. number Description estimate

  • std. error

t-stat p-value 1 One stop, same airline dummy

  • 0.703

0.165

  • 4.27

0.00 2 One stop, multiple airlines

  • 0.975

0.172

  • 5.67

0.00 3 Travel time (hours) (0–2 hours)

  • 0.806

0.214

  • 3.76

0.00 4 Travel time (hours) (2–8 hours)

  • 0.182

0.0593

  • 3.07

0.00 5 Travel time (hours) (≥ 8 hours)

  • 0.866

0.271

  • 3.20

0.00 6 Round trip fare ($100) / Income ($1000)

  • 18.8

7.53

  • 2.50

0.00 7 Round trip fare ($100)

  • 1.54

0.150

  • 10.26

0.00 8 More than two air trips per year (one stop, same airline)

  • 0.244

0.123

  • 1.99

0.05 9 More than two air trips per year (one stop, multiple airlines)

  • 0.109

0.131

  • 0.83

0.41 10 Leg room (inches), if female (non-stop) 0.179 0.0296 6.06 0.00 11 Leg room (inches), if male (non-stop) 0.0918 0.0309 2.97 0.00 12 Leg room (inches), if female (one-stop) 0.0607 0.0187 3.24 0.00 13 Leg room (inches), if male (one-stop) 0.0952 0.0211 4.52 0.00 14 Being early (hours)

  • 0.127

0.0157

  • 8.10

0.00 15 Being late (hours)

  • 0.0711

0.0141

  • 5.03

0.00 16 µ One stop 2.19 0.320 3.721 0.00 17 α One stop / One stop, same airline 0.798 0.0889 8.98 0.00

1t-test against 1

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 49 / 68

slide-50
SLIDE 50

Cross nested logit model

Airline itinerary choice example

Cross Nested logit Number of parameters: 17 Final log likelihood:

  • 1611.670

Nested logit Number of parameters: 16 Final log likelihood:

  • 1613.858

Special case of the cross nested: α = 1 Testing t-test: α = 1 is rejected (test=2.27). Likelihood ratio: −2(−1613.858 − (−1611.670)) = 4.32 Nested is rejected: χ2

1,0.05 = 3.84.

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 50 / 68

slide-51
SLIDE 51

Cross nested logit model

Correlation matrix of the cross nested logit model

Bivariate marginal cumulative distribution Fεi,εj(ξi, ξj) = exp

M

  • m=1

1 µ

ime−ξi) µm

+ (α

1 µ

jme−ξj) µm 1

µm

  • .

Correlation matrix ΣCNL =   1 1 0.695 0.695 1   Notes In this case, block diagonal structure, as the nested logit model. But it does not mean it is a nested logit model. Contrarily to probit models, MEV models are not characterized by the structure of their correlation matrix.

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 51 / 68

slide-52
SLIDE 52

Network MEV model

Outline

1

Introduction

2

Multivariate Extreme Value distribution

3

MEV model

4

Examples of MEV models

5

Cross nested logit model

6

Network MEV model

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 52 / 68

slide-53
SLIDE 53

Network MEV model

Inheritance theorem

Context Choice set C with J alternatives. M subsets of alternatives Cm, m = 1, . . . , M. Jm is the number of alternatives in subset m. Let G m : RJm

+ −

→ R, m = 1, . . . , M be a µm-MEV function on Cm, for each m. Theorem G : RJ

+ −

→ R : y G(y) =

M

  • m=1

(αmG m([y]m))

µ µm

is a µ-MEV function if αm > 0, µ > 0 and µm ≥ µ, m = 1, . . . , m, where [y]m denotes a vector of dimension Jm with entries yi, where the indices i correspond to the elements in Cm.

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 53 / 68

slide-54
SLIDE 54

Network MEV model

MEV models

Features Provide a great deal of flexibility Require significant imagination Require heavy proofs

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 54 / 68

slide-55
SLIDE 55

Network MEV model

Network MEV

Daly & Bierlaire (2006) Extension of the tree representation for nested logit Investigate new MEV models Provide the proof once for all

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 55 / 68

slide-56
SLIDE 56

Network MEV model

Network MEV

Network Consider a network with nodes i, j, k, . . ., and links connecting nodes. No circuit. One node without predecessor: root. J nodes without successor: alternatives. All other nodes are called: nests. Each nest m is associated with a nest parameter µm. The parameter associated with the root is µ. It cannot be identified and is normalized to 1. Each arc linking node m to node p is associated with a parameter αmp, which captures the level of membership, in a similar way as the α parameters of the cross nested logit model. Assumptions

1 For each node vi, there exists at least one path from the root to vi

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 56 / 68

slide-57
SLIDE 57

Network MEV model

Network MEV

Root 8 9 10 5 6 7 1 2 3 4 α8r α9r α10,r α58 α68 α59 α79 α7,10 α15 α25 α26 α36 α37 α47

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 57 / 68

slide-58
SLIDE 58

Network MEV model

Network MEV model

Choice model Recursively defined. Associate with each node a subset Cm and a µm-MEV function G m. Alternative i Subset: Ci = {i}. Normalize µi = 1. 1-MEV function: G i : R → R : G(y) = y

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 58 / 68

slide-59
SLIDE 59

Network MEV model

Network MEV model

Nest m: list of successors Im Subset: Cm =

p∈Im Cp.

µm-MEV function: G m : R|Cm| → R : G m(y) =

  • p∈Im

(αpmG p(y))

µm µp .

Validity: inheritance theorem.

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 59 / 68

slide-60
SLIDE 60

Network MEV model

Illustrative example

Root 8 9 10 5 6 7 1 2 3 4 α15 α25

G 5(y1, y2) = (α15y1)µ5 + (α25y2)µ5.

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 60 / 68

slide-61
SLIDE 61

Network MEV model

Illustrative example

Root 8 9 10 5 6 7 1 2 3 4 α26 α36

G 6(y2, y3) = (α26y2)µ6 + (α36y3)µ6,

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 61 / 68

slide-62
SLIDE 62

Network MEV model

Illustrative example

Root 8 9 10 5 6 7 1 2 3 4 α37 α47

G 7(y3, y4) = (α37y3)µ7 + (α47y4)µ7.

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 62 / 68

slide-63
SLIDE 63

Network MEV model

Illustrative example

Root 8 9 10 5 6 7 1 2 3 4 α58 α68

G 8(y1, y2, y3) = (α58G 5(y1, y2))

µ8 µ5 + (α68G 6(y2, y3)) µ8 µ6

= (α58((α15y1)µ5 + (α25y2)µ5))

µ8 µ5

+ (α68((α26y2)µ6 + (α36y3)µ6))

µ8 µ6 .

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 63 / 68

slide-64
SLIDE 64

Network MEV model

Illustrative example

Root 8 9 10 5 6 7 1 2 3 4 α69 α79

G 9(y2, y3, y4) = (α69G 6(y2, y3))

µ9 µ6 + (α79G 7(y3, y4)) µ9 µ7

= (α69((α26y2)µ6 + (α36y3)µ6))

µ9 µ6

+(α79((α37y3)µ7 + (α47y4)µ7))

µ9 µ7 .

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 64 / 68

slide-65
SLIDE 65

Network MEV model

Illustrative example

Root 8 9 10 5 6 7 1 2 3 4 α7,10

G 10(y3, y4) = (α7,10G 7(y3, y4))

µ10 µ7

= (α7,10((α37y3)µ7 + (α47y4)µ7))

µ10 µ7 .

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 65 / 68

slide-66
SLIDE 66

Network MEV model

Illustrative example

Root 8 9 10 5 6 7 1 2 3 4 α8r α9r α10,r

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 66 / 68

slide-67
SLIDE 67

Network MEV model

Illustrative example

Complete model G(y1, y2, y3, y4) = (α8rG 8(y1, y2, y3))

µ µ8 + (α9rG 9(y2, y3, y4)) µ µ9 +

(α10rG 10(y3, y4))

µ µ10 ,

that is G(y1, y2, y3, y4) = (α8r((α58((α15y1)µ5 + (α25y2)µ5))

µ8 µ5 +(α68((α26y2)µ6 + (α36y3)µ6)) µ8 µ6 )) µ µ8

+(α9r((α69((α26y2)µ6+(α36y3)µ6))

µ9 µ6 +(α79((α37y3)µ7+(α47y4)µ7)) µ9 µ7 )) µ µ9

+ (α10r((α7,10((α37y3)µ7 + (α47y4)µ7))

µ10 µ7 )) µ µ10 .

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 67 / 68

slide-68
SLIDE 68

Network MEV model

Network MEV model

Comments Normalization of the parameters can be complicated depending on the network topology. In practice, tree structures should be kept simple. Typical applications: multiple level nested logit or cross-nested logit.

  • M. Bierlaire (TRANSP-OR ENAC EPFL)

Multivariate Extreme Value models 68 / 68