Exercise 3.10 - Taxicab problem

Answers

Some similar entertaining problems are guessing the number of piano tuners from the average time for a tuner to arrive in one guest’s house, etc.

For question (a), we begin with hyperparameters K = 0 , b = 0 , which is improper since the Pareto distribution cannot normalize. With 𝒟 = { 100 } , we have the posterior distribution another Pareto distribution with K = 1 and b = 100 , i.e.,

p ( 𝜃 | 𝒟 ) = 100 𝜃 2 𝕀 [ 𝜃 100 ] .

For question (b), we firstly derive the distribution of the taxi index:

p ( x | 𝒟 , K , b ) = 0 p ( x , 𝜃 ) d 𝜃 = 0 p ( x | 𝜃 ) p ( 𝜃 | 𝒟 , K , b ) d 𝜃 = 100 𝕀 [ x 𝜃 ] 1 𝜃 100 𝜃 2 d 𝜃 = max ( x , 100 ) 100 𝜃 3 d 𝜃 = 50 max ( x , 100 ) 2 ,

whose plots look very much similar to that of electrical potential along an axis that penetrates the center of a conductor sphere with radius 100, through declines exponentially faster.

The posterior mode of x is any number in [ 0 , 100 ] .

The posterior mean of x is:

𝔼 ( x ) = x = 0 100 x 200 + x = 100 50 x ,

whose second term diverges, so the posterior mean does not exist.

The posterior median is 99.5, since:

x = 0 99 1 200 < 0.5 < x = 0 100 1 200 .

Question (c) is identical to (b), as we have adopted a Bayesian treatment for (b).

For question (d), we have:

p ( x = 100 | 𝒟 , K , b ) = 1 200 ,

p ( x = 50 | 𝒟 , K , b ) = 1 200 ,

p ( x = 150 | 𝒟 , K , b ) = 1 450 .

For question (e), we might adopt better K and b with expert knowledge and collect more samples.

User profile picture
2021-03-24 13:42
Comments