Figure 7.2 exhibits the solution of the train example with its mean and standard deviation.
7.2.2Calculation of Probabilities in Uniform Probability Distribution
We have already discussed that the area under the curve, that is, area between a and b is equal to 1.
The probability of x£a and x b is zero because there is no area below a and beyond b. In a uniform
distribution, probabilities can be calculated as below:
21
()
xx
Px
ba
−
=
−
where
12
axxb≤≤≤
.
For the train arrival time example, we can calculate the probability of ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.