Docsity

The Uniform Distribution - Lecture Notes | MATH 329, Study notes of Probability and Statistics

Toggle sidebar
bg1
Dr. Neal, WKU
MATH 329 The Uniform Distribution
Suppose a measurement
X
can be any real number between
a
and
b
with all intervals
of equal length being equally likely to occur. Then
X
is called uniformly distributed
over [a,b] and is denoted by X~U[a,b]. Then Range X =[a,b] and the probability
density function (pdf) of
X
is given by
fX(x)= 1
b−a if a≤x≤b
0 otherwise
ab
fX(x)=1
b−a
total area = 1
For [c,d]
⊆
[a,b], the probability that
X
is from
c
to
d
is given by the integral of
its pdf:
P(c≤X≤d)=fX(x)dx
c
d
∫
.
But for a uniform distribution, this probability is given by the ratio of lengths:
P(c≤X≤d)=fX(x)dx =
c
d
∫1
b−a
dx
c
d
∫=d−c
b−a
ab
cd
Note: As with any continuous distribution, the probability that
X
equals any specific
single point
c
is 0: P(X=c)=P(c≤X≤c)=fX(x)dx
c
.
The cumulative distribution function (cdf) of X~U[a,b] is given by
FX(x)=P(X≤x)=
0 if x≤a
x−a
b−a if a≤x≤b
1 if x≥b
ab
1
x
The expected value (or average value or mean) of
X
~ U[a,b] is simply the midpoint of
the interval [a,b] which is given by E[X]=a+b
2
:
E[X]=x fX(x)dx
RangeX
∫=x1
b−a
dx
a
b
∫=x2
2(b−a)a
b
=b2−a2
2(b−a)=a+b
2.
pf3
pf4

Partial preview of the text

Download The Uniform Distribution - Lecture Notes | MATH 329 and more Study notes Probability and Statistics in PDF only on Docsity!

MATH 329 The Uniform Distribution

Suppose a measurement X can be any real number between a and b with all intervals of equal length being equally likely to occur. Then X is called uniformly distributed over [ a , b ] and is denoted by X ~ U [ a , b ]. Then Range X = [ a , b ] and the probability density function (pdf) of X is given by

f (^) X ( x ) =

b − a

if a ≤ x ≤ b

0 otherwise

a (^) b

f (^) X ( x ) =

b − a

total area = 1

For [ c , d ] ⊆ [ a , b ], the probability that X is from c to d is given by the integral of its pdf:

P ( c ≤ X ≤ d ) = f (^) X ( x ) dx c

d

But for a uniform distribution, this probability is given by the ratio of lengths :

P ( c ≤ X ≤ d ) = f (^) X ( x ) dx = c

d

b − a

dx c

d

∫ =^

d − c b − a a^ c^ d b

Note : As with any continuous distribution, the probability that X equals any specific

single point c is 0: P ( X = c ) = P ( c ≤ X ≤ c ) = f (^) X ( x ) dx c

c

∫ =^0.

The cumulative distribution function (cdf) of X ~ U [ a , b ] is given by

FX ( x ) = P ( X ≤ x ) =

0 if x ≤ a x − a b − a

if a ≤ x ≤ b

1 if x ≥ b

a (^) b

x

The expected value (or average value or mean ) of X ~ U [ a , b ] is simply the midpoint of

the interval [ a , b ] which is given by E [ X ] =

a + b 2

E [ X ] = x f (^) X ( x ) dx RangeX

∫ =^ x^

b − a

 (^) dx a

b

∫ =^

x^2 2( b − a ) (^) a

b

b^2 − a^2 2( b − a )

a + b 2

In general, for a continuous function g we have E [ g ( X )] = g ( x ) f (^) X ( x ) dx RangeX

∫.^ In

particular, for X ~ U [ a , b ] and g ( x ) = x^2 we have

E [ X^2 ] = x^2 f (^) X ( x ) dx RangeX

∫ =^ x

b − a

 (^) dx a

b

x^3 3( b − a ) (^) a

b

b^3 − a^3 3( b − a )

a^2 + ab + b^2 3

Thus, the variance of X ~ U [ a , b ] is given by

Var ( X ) = E [ X^2 ] − ( E [ X ])^2 = a^2 + ab + b^2 3

a + b 2

2

a^2 + ab + b^2 3

a^2 + 2 ab + b^2 4

 = a

(^2) − 2 ab + b 2

12

( b − a )^2 12

and the standard deviation of X ~ U [ a , b ] is ( X ) = Var ( X ) =

b − a 12

Example 1. Look at a digital clock at a random time. Let X denote the amount of time in seconds until the minute changes.

(a) What is the distribution of X and what are its pdf and cdf?

(b) What is the probability that it takes at least 40 seconds for the minute to change?

(c) What are the average and standard deviation of the time it takes for the minute to change?

(d) Within what time does the minute change 75% of the time?

Solution. (a) Because you glance at an arbitrary time, theoretically it could take anywhere from 0 to 60 seconds for the minute to change, with no time interval being any more likely than another. So X ~ U [0, 60] seconds and its pdf and cdf are given by

f (^) X ( x ) =

if 0 ≤ x ≤ 60

0 otherwise

^

and FX ( x ) =

0 if x ≤ 0 x 60

if 0 ≤ x ≤ 60

1 if x ≥ 60

(b) The complement of the event X ≥ 40 is the event 0 ≤ X < 40. But P ( X = 40) = 0 ; thus, P ( X ≥ 40) = 1 – = 1 − P (0 ≤ X ≤ 40) = 1 – 40 / 60 = 20/60 = 1/3.

Exercises

  1. Let X ~ U [10, 20].

(a) What is the average value of X?

(b) What is the range of X^2? If X^2 were uniformly distributed over this range, then

what would its average value be? What is the actual average of X^2?

(c) If X^2 were uniformly distributed over its range, then what would be

P (100 ≤ X^2 ≤ 225)? Compute the actual value of P (100 ≤ X^2 ≤ 225) by writing and computing this value in terms of X.

(d) For X ~ U [10, 20] , is X^2 still uniformly distributed?

  1. From his own 20 yard line, a quarterback throws a football a random distance from 50 to 60 yards down field. Let D be the distance thrown and let G be the distance remaining to the goal line down field.

(a) What are the distributions of D and G? What are there pdf's?

(b) What is the probability that he throws the ball from 52 to 56 yards? Write in terms of both D and G.

(c) What are the average and standard deviation of the thrown distance? What are the average and standard deviation of the remaining distance to the down field goal line?

(d) At least how far is the ball thrown 90% of the time? At most how far away is the ball from the down field goal line 90% of the time?