It is September again!

Over the summer I (Aleksejus) was contacted by some people from MathWorks who have seen my rant (post) about Matlab. I got kindly asked if I could provide a more detailed feedback. Sadly (or happily?) I have already forgot most of my experience with Matlab. There are lots of memes about Matlab online, so I guess I am not the only one with similar experience. To be fair, I think one of the issues is that a lot of Matlab handbooks are quite dated. Not in a sense that there are no new handbooks, but in a sense that the authors of many of even newer handbooks are not that well familiar with newest best practices in Matlab.

Also just few days ago we got "rug pulled" by our local network admins. Physics of Risk site went down due to local network configuration changes. When we noticed the issue, and inquired about it, we got a reply a long the lines of "Sorry. Made some changes. Yesterday." Now the changes are temporarily reversed, but... we have already relocated Physics of Risk to GitHub Pages. As we already store our source code on GitHub (see here), so why not?

Otherwise, the summer this year was not that eventful. So, Physics of Risk will be back with a new post on Tuesday! And afterwards we will continue talking about the point processes.

Waiting time paradox

Last time we have introduced a concept of waiting time. We have assumed that some time has passed since the last event and wanted to how long do we have to wait until another event. The time since the last event was a thing we knew. Now let us consider a slightly different case - what happens when we do not know when the last event happened, how long do we have to wait until the next event?

In other words, imagine you just have come to a bus stop. If you know that the average bus interarrival time is \( 15 \) minutes, then how long would you expect to have to wait? Straightforward answer seems to be \( 7.5 \) minutes, but is it a correct answer?

Waiting time distribution

Last time we have seen that interarrival (or, more generally, inter-event) times in the Poisson process follow exponential distribution. Inter-event times tell us how much time has passed since the last event, but we are often also interested in times till event given that \( T \) time has passed since previous event.

In the terms of the original problem we could ask the question: what is the expected time for the next student to come? Let us assume that \( 5 \) minutes has passed since the arrival of the last student. Let us recall that \( 4 \) students arrive per hour (meaning on average \( 15 \) minutes between them). Intuitive and wrong answer would be \( 10 \) minutes.

Poisson process: Interarrival times

Last time we have built a quick model for independent student arrival. We have assumed that there is some probability that a student will arrive during some short time interval. Then we have taken the continuum limit, and forgot the microscopic model. In this post let us take a look what was left behind the scenes in the last: interarrival time distribution.