Section 6.3 Continuous Uniform Distribution
Modeling the idea of "equally-likely" in a continuous world requires a slightly different perspective since there are obviously infinitely many outcomes to consider. Instead, you should consider requiring that intervals in the domain which are of equal width should have the same probability regardless of where they are in that domain. This behaviour suggests
Proof.
From before, for X a continuous uniform variable, we get
which is true regardless of \Delta so long as you stay in the domain of interest. Letting gives
but since F is an antiderivative of the probability function,
for all u and v in R. This only happens if f is constant...say, f(x)=c. If the space of X is a single interval with then
which yields as desired.
Example 6.3.2. Basic Continuous Uniform.
On
Then, if you want to compute something like integrate
Checkpoint 6.3.3. WeBWorK - Continuous Uniform (NOT REFERENCING CORRECT EXERCISE).
A man and a woman agree to meet at a cafe about noon. If the man arrives at a time uniformly distributed between and and if the woman independently arrives at a time uniformly distributed between and what is the probability that the first to arrive waits no longer than minutes?
Example 6.3.4. Continuous Uniform over two disjoint intervals.
Suppose Then, as in the theorem proof
Thus, For computing probabilities, you will want to break up any resulting integrals in a similar manner.
Theorem 6.3.5. Properties of the Continuous Uniform Probability Function.
Proof.
We can verify most of these here but you can also determine these using Sage below.
For the mean 1,
For the variance 2,
For the skewness 3,
The kurtosis 4 is more algebra like above. We will just let Sage do that part for us below.
xxxxxxxxxx
# Continous uniform distribution statistics derivation
reset()
var('x,a,b')
f = 1/(b-a)
mu = integrate(x*f,x,a,b).factor()
pretty_print('Mean = ',mu)
v = integrate((x-mu)^2*f, x, a, b)
pretty_print('Variance = ',v.factor())
stand = sqrt(v)
sk = (integrate((x-mu)^3*f, x, a, b)/stand^3)
pretty_print('Skewness = ',sk)
kurt = (integrate((x-mu)^4*f, x, a, b)/stand^4)
pretty_print('Kurtosis = ',kurt)
pretty_print('Several Examples')
a1=0
for b1 in range(2,7):
pretty_print('Using [',a1,',',b1,']:')
pretty_print(' mean = ',mu(a=a1,b=b1))
pretty_print('variance = ',v(a=a1,b=b1))
pretty_print('skewness = ',sk(a=a1,b=b1))
pretty_print('kurtosis = ',kurt(a=a1,b=b1))
pretty_print("______________")
Example 6.3.6. Occurence of exactly one event randomly in a given interval.
Suppose you know that only one person showed up at the counter of a local business in a given 30 minute interval of time. Then, = [0,30] given
Further, the probability that the person arrived within the first 6 minutes would be