2023-11-27
Scenario: Events are equally likely to happen anywhere or anytime in an interval of values
Shorthand: \(X \sim \text{U}[a,b]\)
\[ f_X(x) = \dfrac{1}{b-a}, \text{ for }a \leq x \leq b \]
\[ F_X(x) = \left\{ \begin{array}{ll} 0 & \quad x<a \quad \\ \dfrac{x-a}{b-a} & \quad a \leq x \leq b\quad \\ 1 & \quad x>b \quad \end{array} \right. \]
\[\text{E}(X) = \dfrac{a+b}{2} \text{, } \text{ Var}(X) = \dfrac{(b-a)^2}{12}\]
Look for some indication that all events are equally likely
Look for an interval
Time example: Costumer in your store will approach the cash register in next 30 minutes. Approaching the register throughout the 30 minutes is equally likely.
Length example: You have a 12 inch string that you need to cut. You are equally likely to cut anywhere on the string.
Different than the discrete uniform
Discrete usually includes a countable number of events that are equally likely
Continuous is not countable
Let’s say we’re looking at equally likely arrival times between 10 am and 11 am.
If we want to know the probability that someone arrives at 10:30am or earlier:
If we want to know the time, say \(t\), where the probability of arriving at \(t\) or earlier is 0.35:
If we want to know the probability that someone arrives between 10:14 and 10:16 am:
If we want to sample 20 arrival times from the distribution:
Example 1
A bird lands at a location that is Uniformly distributed along an electrical wire of length 150 feet. The wire is stretched tightly between two poles. What is the probability that the bird is 20 feet or less from one or the other of the poles?
Chapter 31 Slides