



















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




















Chapter 5
Continuous Probability Distributions
5.1 Continuous Random Variables
and Their Probability Distributions
Definition 5.1 A random variable is said to be
continuous if there is a function f(x), called the
probability density function , such that,
1. f(x) ≥ 0 for all x,
f ( x )dx ,
3. P(a ≤ X ≤ b) =
b
a
f ( x )dx
Definition 5.2 The (cumulative) distribution function , df,
of a random variable X is defined as F(b) = P(X ≤ b).
If X is a continuous random variable, then,
b
F ( x ) f ( x )dx
Note the relation between df and pdf when X is
continuous:
5.2 Expected Values of Continuous Random Variables
Definition 5.3 The expected value of a continuous
random variable X that has pdf f(x) is
X
Theorem 5.1 If X is a continuous random variable with
pdf f(x), and g(x) is any real-valued function of X, then
E [ g( X )] g( x ). f ( x )dx
Corollary-1:
X X X
Var( X ) ( x ). f ( x )dx E( X )
2 2 2 2
Proof is easy, just let g(X) = E(X – μ))
2
for the definition of
variance and expand the square before integrating to
show the last equality.
Corollary-2: For any constants a and b,
E(aX + b) = aE(X) + b and
V(aX + b) = a
2
Var(X).
Proof is left as an exercise.
5.4 The Exponential Distribution
Definition: A random variable X is said to have the
x /
e for x
f ( x )
otherwise.
2
and
The distribution function of X is
x
x /
x
F ( x ) f ( t )dt
e x
HW: Show that the distribution function of X is as shown above.
Notes:
1. Relation between the Poisson distribution and the
exponential distribution: The Poisson distribution
counts the number of occurrences of an event in a
given time interval; the exponential distribution gives
the distribution of time between two consecutive
events.
2. If Y~ P (λ) and X ~ ) and X ~ E ( ) with = λ) and X ~ t, we have
P(X > t) = e
-λtλ) and X ~ t
= P(Y = 0 in the interval 0 to t).
3. Memoriless property of the exponential
distribution: If a random variable X has the
exponential distribution, then
P(X > a + b | X > a) = P(X > b).
The exponential distribution is the only continuous
distribution that has this property (just like the
geometric distribution which is the only discrete
distribution that has this property).
gamma distribution (explained next) with α = 1.
3. Using the above definition of Γ(α), one can easily
prove the following:
y /
i ) f ( y )dy y e dy
1
0 0
Y
y /
ii ) E(Y ) yf ( y )dy
y. y e dy
1
0
Y
2 2 2
2
4. Relation between the gamma distribution and the
exponential distribution: The exponential distribution
is a special case of the gamma distribution with α = 1
and = .
Example-1: Let f( y ) = c y e
when y ≥ 0
and f( y ) = 0 otherwise.
a) Find c so that f( y ) is the pdf of a random variable.
b) Give the mean and variance of Y.
c) Show that (i.e., derive the formula for) the mean of
the random variable Y is equal to one.
d) Find E(e
tY
) [for some t in the neighborhood of 0].
Solutions:
a) For any function, f(y) to be the probability density
function of a random variable Y, it must satisfy both of
the following conditions: i) f(y) ≥ 0 for all y and ii)
f ( y )dy
1. The fist condition is satisfied if c > 0. For
the second condition to be satisfied, we observe that
y
f ( y )dy cye dy
2
0
Note that the integrand is almost the pdf of a random
variable that has the gamma distribution with parameters
α = 2 and = ½, except a coefficient. Multiplying and
dividing the equation by the required coefficient yields (
1
y
y /( )
f ( y )dy cye dy
c ( )( ) y e dy
c ( )( ) ( ) (Why?)
c
2
0
1
2 2 1
2
0
2
2
Hence, c = 4 satisfies both conditions.
1
This is a very common trick to simplify the integration. You may also use a similar trick
when finding the mgf of a discrete random variable. The trick is simply to modify the
integrand or summand into a form that is recognized as the pdf or pmf of a
random variable. Learn to use this trick. It makes summation, integration (and hence
your life) a lot easier.
d) By definition of the expected value of functions of a
random variable, we have,
tY ty
ty y y( t )
y / ( t )
E( e ) e f ( y )dy
e ye dy ye dy
ye dy
1
2 2
0 0
2
0
However, observe that on the last line, the integrand is
almost the pdf of a random variable that has the gamma
distribution with α = 2 and = (2 – t)
thing is the constant and putting it back we get,
tY y / ( t )
y / ( t )
E( e ) ye dy
( ) t ye dy
( ) t
( )! t ( )
/ t t /
1
1
2
0
2
1
2
2
0 1
2
1
2 2
Note that E(e
tY
Y
(t) is called the moment generating
function of the random variable Y. Hence, you already
have found that
If Y ~ G(α = 2 and = ½) ) then, M
Y
(t) = (1 – t)
- α
We will see more about the moment generating functions
in section 4.10.
5.6 The Normal Distribution
This is one of the most frequently used distributions and
is covered even in elementary statistics courses, i.e., you
cannot say you know probability without an excellent
knowledge of this distribution.
Definition: A random variable X is said to have the
normal distribution with parameters μ) and σ and denoted
by X ~N(μ), σ), if its pdf is
X X
( x ) /( )
X
f ( x ) e , x
2 2
2
Then, Mean of X = E(X) = μ X
and Var(X) = σ
2
X
Special case: The Standard Normal Distribution:
Definition: If the pdf of a random variable Z is given by
z /
f ( z ) e z
2
2
then Z is said to have the standard normal distribution.
The mean of Z is zero and its variance is 1, so the
distribution of Z is denoted by Z ~ N(0,1). Read and
understand the proof on pages 251 -λt 253
Theorem: If X ~ N(μ),σ), then any linear function of X also
has a normal distribution.
Example–3: Suppose a random variable X has a normal
distribution with mean 100 and standard deviation 5, that
is, X ~ N(100, 5).
a) Find P(100 < X < 106.15)
b)Find P(X < 106.15)
c) Find P(X > 106.15)
d)Find P(X < 93.85)
e) Find P(93.85 < X < 106.15)
Solutions:
2
Warning:
In the next test, your sketches will be graded.
You’ll lose some points if you have the wrong sketch
and many points if you have no sketch.
1. What is the approximate answer? Is it between
zero and ½ or between ½ and 1?
2. Do we need to modify the problem ( to be able to
use Appendix Table 4)?
2
Unfortunately I cannot incorporate such sketches in my notes. They will be drawn on the board (ALWAYS).
a) Find P(100 < X < 106.15)
The first step in solving these problems is to standardize
every term in the inequality so that we may use the table
of the standard normal distribution as given in the table:
X
X
X.
P( X. ) P
P Z.
100 100 106 15 100
100 106 15
5 5
0 1 23
Observe that the area we are interested is the same as the
area given in Appendix Table 4. [Look at your sketch and
compare it with the shaded area on top of your table.] So
no modification is needed. We can use the table directly
and read the answer to the problem.
From Appendix Table 4, P(0 < Z < 1.23) = 0.3907.
Hence, P(100 < X < 106.15) = P(0 < Z < 1.23) = 0.
Is this answer consistent with what you expected by
looking at the sketch?
b) Find P(X < 106.15 ). You didn’t forget to sketch did
you? What does that sketch tell you?
From your sketch you should note that
P(100 < X < 106.15) + P(X > 106.15) = 0.5 (Why?).
Hence, P(X > 106.15) = 0.5 – P(100 < X < 106.15)
d) Find P(X < 93.85). Sketch? What does it tell you?
Now note that the shaded area in your sketch is very
different from the area on the table. This means we need
to modify the problem with extra care. From the sketch,
do you see that P(X < 93.85) = P(X > 106.15)? Why? But
you know how to find P(X > 106.15), don’t you?
So, P(X < 93.85) = P(X > 106.15) by symmetry of the
normal distribution and hence,
X
X
P( X. ) P( X. )
. P( X. )
X.
. P . P Z. ..
.
93 85 106 15
0 5 100 106 15
100 100 106 15 100
0 5
5 5
0 5 0 1 23
0 5 0 3907
0 1093
e) Find P(93.85 < X < 106.15).
Sketch? What does it tell you?
When you sketch the graph for this problem you should
observe that
So P(93.85 < X < 106.15) = 2 P(100 < X < 106.15)
Why is that true? When is it true? Can you write
a general statement for such cases?
Thus, we have
X
X
See how easy it is when you go step by step. That is what
you are expected to do in the homework and tests.
Example-4: Percentiles of the normal distribution
X
X
X X
X X
Hence, b = 81.4, so your grade is 81.4 or higher. If your
grade is exactly 81.4 then your percentile rank is 90. In
this case, 81.4 is called the 90
th
percentile of the
distribution of grades.
b) If we want to find an exact result, as above, we must
make some assumption about the distribution of the
random variable (grades). In order to solve this problem
we have assumed that the grades have a normal
distribution. This may or may not be true and our result is
true only if the assumption is true.
c) What if the assumption is not true? Well, we may get
an approximate result by using Tchebyshev’s inequality.
5.6.5 Quantile–Quantile (QQ) Plots
You’ll use this in other courses, so do read and understand it.
5.7 The Beta Distribution
Definition: A random variable X is said to have the beta
( )
x ( x ) x
f ( x ) ( ). ( )
otherwise
1 1
1 0 1
0
If X ~ B(α,),
Then E(X) = α/(α+) and Var(X) = α / [(α+)
2
(α++1)]
Notes:
the set of possible values of the random variable,
except X ~ U(0,1)
the beta distribution with α = 1 and = 1.
4.8 The Weibull Distribution: Read and Skip
4.9 Reliability: Read and Skip