December 28, 2013
The Bus Stop Problems
Since we had so much fun with Bayes Theorem in a recent post, I can’t resist another.
Young Economics whippersnapper Evan Soltas posed two problems to do with Bayesian probability:
- You arrive at a bus stop in an unfamiliar part of town. Assume that buses arrive at the stop as a Poisson process, with an unknown (to you) rate, . You don’t know , but say you have a prior probability distribution for it, .
- What’s your expected wait time, , for the next bus to arrive?
- Say you’ve been waiting for a time . What’s your posterior probability distribution, , and what’s your new expected wait time?
- Let’s add some more information. Say that riders arrive at the bus stop via an independent Poisson process with an (unknown to you) rate, . Whenever a bus arrives, all those waiting at the stop get on it. Thus, the number of people waiting is the number who arrived since the last bus. Say you arrive at the stop to find people already waiting. You wait for a time, , at which point there are other people waiting at the stop (i.e., arrived while you were waiting).
- Given this data, what’s your posterior probability distribution, ?
- What’s your new expected wait time, ?
These questions illustrate one of my favourite points of view on Bayes Theorem, namely that it induces a flow on the (infinite-dimensional!) space of probability distributions. Understanding the nature of that flow is, I think, the key task of the subject.
Infinite dimensions are hard to get an intuition for, so one of the first tasks is to cut the problem down to a finite-dimensional one.