Question about calculating at Uniform distribution

149 Views Asked by At

A train come to the station $X$ minuets after 9:00, $X\sim U(0,30)$.
The train stay at the station for 5 minutes and then leave.
A person reaches to the station at 9:20.
Addition:
There was no train when the person came to the station

What is the probability that he didn't miss the train?

Please help me to calculate it, and if you can, please explain me (if you understand) why the detail that that the train stay at the station is necessary?

It should be: $$P(X<15)\;?$$

Thank you!

enter image description here

3

There are 3 best solutions below

1
On BEST ANSWER

Please help me to calculate it, and if you can, please explain me (if you understand) why the detail that that the train stay at the station is necessary?

If the train is still in the station when you arrive you can board it, and if you arrive before it arrives you can wait for it.   However, you will miss a train if you arrive after it has left the station.

So, what is the latest time the train can arrive and stay for 5 minutes such that it leaves before 9:20?   Then given the uniform distribution of arrival times, what is the probability of not missing the train?

$$P(``\text{not missed}") = P(A\in[15..30])$$


Edit: If you add a condition that no train is at the station at 9:20 then you need to find the conditional probability. Obviously.

$$P(``\text{not missed}"\mid``\text{not there}") = P(A\in[15..30]\mid A\not\in[15..20]) \\ =\frac{P(A\in(20..30])}{P(A\in[0..15)\cup(20..30])}$$

0
On

Hint: figure out for which values of $X$ will the condition (not missing the train) work.

For example, if the train waits 30 minutes, then the probability (not missing) is 1.

If it's hard to think in continuous terms, imagine that the train comes at an integer time, $0 \le i \le 30$. What happens then?

13
On

Define the events A = the train was waiting in the station before the person came B= the train arived after the person

then $P(A) = Pr[15 \leq X \leq 20]$ and $P(B) = Pr[20 \leq X]$

And we get that the wanted probability is $P(A)+P(B)$ as a union of disjoint events