Serving the Quantitative Finance Community

 
User avatar
Vassili
Topic Author
Posts: 0
Joined: September 15th, 2006, 12:30 pm

Bus and taxis

April 11th, 2007, 8:38 pm

The arrival of buses at a given bus stop follows Poisson law with rate 2. The arrival of taxis at the same bus stop is also Poisson, with rate 3. What is the probability that next time I'll go to the bus stop I'll see two taxis arriving before a bus?
 
User avatar
QwertyYuiop
Posts: 0
Joined: October 10th, 2003, 7:39 pm

Bus and taxis

April 12th, 2007, 1:35 am

We'll assume buses and taxis arrive independently.With rate lambda=2, the probability of waiting until time t for the first arrival of a bus is .With rate lambda=3, the probability of seeing exactly two taxis in time t is So, we need to integrate P(exactly 2 taxis in time t) * P(first bus arrives at time t) over all values of t --> Define k=5u and substitute:Which is 9/125 = 0.072
 
User avatar
BlackSheep
Posts: 0
Joined: February 6th, 2007, 2:43 pm

Bus and taxis

April 12th, 2007, 6:43 am

The probability of observing a taxi before a bus is given by 3/(3+2)=3/5 since the waiting times are independent and exponentially distributed. By the memoryless property both processes then restart and hence the probability of observing (at least) two taxis before the first bus is (3/5)^2=9/25. The probability of observing exactly two taxis before the first bus is (3/5)^2*(2/5)=18/125.
 
User avatar
pk14
Posts: 0
Joined: February 15th, 2006, 12:43 am

Bus and taxis

April 13th, 2007, 2:45 am

I feel, if the probability that "the first one you see is a taxi" is p,then the probability you want is p*p*(1-p).
 
User avatar
BlackSheep
Posts: 0
Joined: February 6th, 2007, 2:43 pm

Bus and taxis

April 13th, 2007, 5:07 am

If you let X=# taxis before a bus, then X~Ge(1-p), that is P(X=k)=p^k*(1-p), where p=P(observing a taxi). In this case we have k=2 and p=3/5. Moreover, the same reasoning can be applied if we add more (independent ) arrival processes.