Chapter 3. Continuous Random Variables
Chapter 3. Continuous Random Variables
Remark
Remark
Let X be a continuous random variable. Then
X can take any value in an interval ⇒ infinite possible values.
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Property
The cumulative distribution function, F(x), for a continuous random
variable X expresses the probability that X does not exceed the value
of x, as a function of x:
F(x) = P(X ≤ x)
Then
P(a < X < b) = F(b) − F(a)
F(−∞) = 0
F(+∞) = 1
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Example
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
f(x) = F ′ (x)
Property
Let f(x) be the probability density function of a continuous random
variable. Then
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Example
f(x) = 0.5
Find the probability that any given fracture occurs between 0.5 mile
and 1.5 miles along this stretch of pipeline.
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Exercise
Definition
The continuous random variable X is said to follow the Uniform
distribution if the probability density function is as follows
1
; a≤x≤b
f(x) = b−a
0; x∈/ [a, b]
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Formula
Let X be a continuous random variable and f(x) its probability density
function. Then ∫ +∞
µX = E(X) = xf(x)dx
−∞
and ∫ +∞
σX2 = Var(X) = (x − µ)2 f(x)dx
−∞
The standard deviation of X, σX , is the square root of the variance.
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Example
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Property
Let X be a continuous random variable with mean µX and variance σX2
and let a and b be any constant fixed numbers. Define the random
variable W as follows:
W = a + bX
Then
µW = E(a + bX) = a + bµX
and
2
σW = Var(a + bX) = b2 σX2
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Normal Distribution
There is a wide range of continuous random variables which follow
the normal distribution such as the weight of food packages, total
sales or production, stock prices, …Their probability density
functions have the same pattern as follows
Normal Distribution
Definition
A continuous random variable X is said to follow the normal
distribution if its probability density function is
(x − µ)2
1 −
f(x) = √ e 2σ 2 , −∞ < x < +∞
2πσ 2
A normal distribution only depends on two parameters
µ = E(X): The mean or the expected value;
σ 2 = Var(X): The variance.
We denote
X ∼ N(µ, σ 2 )
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Definition
A random variable Z is said to follow the standard normal distribution
if it follows the normal distribution with the mean 0 and variance 1.
That is,
Z ∼ N(0, 1)
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Cumulative Distribution
Let Z ∼ N(0, 1). Then its density function is
x2
1 −
f(x) = √ e 2 .
2π
∫x
Since f(x) = F ′ (x), we have F(x) = −∞ f(x)dx.
Definition
The cumulative distribution function of a random variable, which
follows the standard normal distribution, is
∫ x
x2
1 −
F(x) = √ e 2 dx
−∞ 2π
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
∫ x
x2
1 −
F(x) = √ e 2 dx
−∞ 2π
can be calculated by computer or found in Appendix Table 1.
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Example
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Formula
Let X ∼ N(µ, σ 2 ). We have
( )
a−µ X−µ b−µ
P(a < X < b) = P < <
(σ σ σ)
a−µ b−µ
= P <Z<
( σ ) ( σ )
b−µ a−µ
= F −F
σ σ
Formula
Let X follow the normal distribution with the mean µ and variance σ 2 .
Then ( ) ( )
b−µ a−µ
P(a < X < b) = F −F
σ σ
and the value of F(x) can be found in Appendix Table 1. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Example
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Example
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Exercise
Exercise
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Theorem
Let X ∼ N(µX , σX2 ) and Y ∼ N(µY , σY2 ). Suppose that X, Y are
independent and
W = aX + bY.
Then W also follows the normal distribution. In particular,
( )
W ∼ N aµX + bµY , a2 σX2 + b2 σY2 .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
SELFSTUDY
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .