ProSta Chap2 (2021.2)
ProSta Chap2 (2021.2)
RANDOM VARIABLES
AND PROBABILITY DISTRIBUTIONS
HANOI – 2022
(1)
Email: [email protected]
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 1/185 HANOI – 2022 1 / 185
CHAPTER OUTLINE
Chapter outline
1 CONCEPT OF A RANDOM VARIABLE
2 DISCRETE PROBABILITY DISTRIBUTIONS
3 CONTINUOUS PROBABILITY DISTRIBUTIONS
4 MEAN AND VARIANCE OF A RANDOM VARIABLE
5 SOME DISCRETE PROBABILITY DISTRIBUTIONS
6 SOME CONTINUOUS PROBABILITY DISTRIBUTIONS
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 2/185 HANOI – 2022 2 / 185
LEARNING OBJECTIVES
Learning Objectives
After careful study of this chapter you should be able to do the following:
(1) Discrete Random Variables and Probability Distributions
1 Determine probabilities from probability mass functions and the reverse
2 Determine probabilities from cumulative distribution functions and cumulative distribution
functions from probability mass functions, and the reverse
3 Calculate means and variances for discrete random variables
4 Understand the assumptions for some common discrete probability distributions
5 Select an appropriate discrete probability distribution to calculate probabilities in specific
applications
6 Calculate probabilities, determine means and variances for some common discrete probability
distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 3/185 HANOI – 2022 3 / 185
LEARNING OBJECTIVES
Learning Objectives
(2) Continuous Random Variables and Probability Distributions
1 Determine probabilities from probability density functions
2 Determine probabilities from cumulative distribution functions and cumulative distribution
functions from probability density functions, and the reverse
3 Calculate means and variances for continuous random variables
4 Understand the assumptions for some common continuous probability distributions
5 Select an appropriate continuous probability distribution to calculate probabilities in specific
applications
6 Calculate probabilities, determine means and variances for some common continuous
probability distributions
7 Standardize normal random variables
8 Use the table for the cumulative distribution function of a standard normal distribution to
calculate probabilities
9 Approximate probabilities for some binomial and Poisson distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 4/185 HANOI – 2022 4 / 185
2.1 CONCEPT OF A RANDOM VARIABLE
Content
1 2.1 CONCEPT OF A RANDOM VARIABLE
2.1.1 Random Variable
2.1.2 Discrete Random Variable
2.1.3 Continuous Random Variable
2.1.4 Functions of a Random Variable
2 2.2 DISCRETE PROBABILITY DISTRIBUTIONS
2.2.1 Probability Distributions and Probability Mass Functions
2.2.2 Cumulative Distribution Functions
3 CONTINUOUS PROBABILITY DISTRIBUTIONS
2.3.1. Cumulative Distribution Function
2.3.2 Probability Density Function
4 2.4 EXPECTED VALUE AND VARIANCE
2.4.1 Mode and Median
2.4.2 Expected Value
2.4.3 Variance and Standard Deviation
5 2.5 IMPORTANT PROBABILITY DISTRIBUTIONS
2.5.1 Some Discrete Probability Distributions
2.5.2 Some Continuous Probability Distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 5/185 HANOI – 2022 5 / 185
2.1 CONCEPT OF A RANDOM VARIABLE 2.1.1 Random Variable
Random Variable
A random variable is a function that assigns a real number to each outcome in the sample space of a
random experiment.
Notation
A random variable is denoted by an uppercase letter such as X.
After an experiment is conducted, the measured value of the random variable is denoted by a lowercase
letter such as x = 70 milliamperes.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 6/185 HANOI – 2022 6 / 185
2.1 CONCEPT OF A RANDOM VARIABLE 2.1.1 Random Variable
Random Variable
Example 1
Here are some random variables:
1 X, the number of students asleep in the next probability lecture.
2 Y , the number of phone calls you answer in the next hour.
3 Z, the number of minutes you wait until you next answer the phone.
Note
Random variables X and Y are discrete random variables. The possible values of these random variables
form a countable set. The underlying experiments have sample spaces that are discrete.
The random variable Z can be any nonnegative real number. It is a continuous random variable. Its
experiment has a continuous sample space.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 7/185 HANOI – 2022 7 / 185
2.1 CONCEPT OF A RANDOM VARIABLE 2.1.2 Discrete Random Variable
A discrete random variable is a random variable with a finite (or countably infinite) range.
Note
It follows from Definition 2 that
1 X is a finite random variable if the range is a finite set
SX = {x1 , x2 , . . . , xn }.
SX = {x1 , x2 , . . . }.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 8/185 HANOI – 2022 8 / 185
2.1 CONCEPT OF A RANDOM VARIABLE 2.1.2 Discrete Random Variable
Example 2
A voice communication system for a business contains 48 external lines. At a particular time, the system is
observed, and some of the lines are being used. Let the random variable X denote the number of lines in
use. Then, X can assume any of the integer values 0 through 48,
SX = {0, 1, . . . , 49}.
Example 3
In a semiconductor manufacturing process, two wafers from a lot are tested. Each wafer is classified as pass
or fail. Assume that the probability that a wafer passes the test is 0.8 and that wafers are independent.
The random variable X is defined to be equal to the number of wafers that pass.
SX = {0, 1, 2}.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 9/185 HANOI – 2022 9 / 185
2.1 CONCEPT OF A RANDOM VARIABLE 2.1.2 Discrete Random Variable
Example 4
Statisticians use sampling plans to either accept or reject batches or lots of material. Suppose one of these
sampling plans involves sampling independently 10 items from a lot of 100 items in which 12 are defective.
Let X be the random variable defined as the number of items found defective in the sample of 10. In this
case, the random variable takes on the values 0, 1, 2, . . . , 9, 10. X is a discrete random variable.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 10/185 HANOI – 2022 10 / 185
2.1 CONCEPT OF A RANDOM VARIABLE 2.1.3 Continuous Random Variable
Example 5
Let Y be the random variable defined by the waiting time, in hours, between successive speeders spotted
by a radar unit. The random variable Y takes on all values y for which y ≥ 0. Y is a continuous random
variable.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 11/185 HANOI – 2022 11 / 185
2.1 CONCEPT OF A RANDOM VARIABLE 2.1.4 Functions of a Random Variable
Each sample value y of a derived random variable Y is a mathematical function g(x) of a sample value x of
another random variable X. We adopt the notation Y = g(X) to describe the relationship of the two
random variables.
Example 6
SX 2 = {01 , 12 , 22 , . . . , 482 }.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 12/185 HANOI – 2022 12 / 185
2.1 CONCEPT OF A RANDOM VARIABLE 2.1.4 Functions of a Random Variable
Example 7
The random variable X is the number of pages in a facsimile transmission. Based on experience, you have
a probability model PX (x) for the number of pages in each fax you send. The phone company offers you a
new charging plan for faxes: $0.10 for the first page, $0.09 for the second page, etc., down to $0.06 for the
fifth page. For all faxes between 6 and 10 pages, the phone company will charge $0.50 per fax. (It will not
accept faxes longer than ten pages.) Find a function Y = g(X) for the charge in cents for sending one fax.
Solution
The following function corresponds to the new charging plan.
(
10.5X − 0.5X 2 , 1 ≤ X ≤ 5,
Y = g(X) =
50, 6 ≤ X ≤ 10.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 13/185 HANOI – 2022 13 / 185
2.2 DISCRETE PROBABILITY DISTRIBUTIONS
Content
1 2.1 CONCEPT OF A RANDOM VARIABLE
2.1.1 Random Variable
2.1.2 Discrete Random Variable
2.1.3 Continuous Random Variable
2.1.4 Functions of a Random Variable
2 2.2 DISCRETE PROBABILITY DISTRIBUTIONS
2.2.1 Probability Distributions and Probability Mass Functions
2.2.2 Cumulative Distribution Functions
3 CONTINUOUS PROBABILITY DISTRIBUTIONS
2.3.1. Cumulative Distribution Function
2.3.2 Probability Density Function
4 2.4 EXPECTED VALUE AND VARIANCE
2.4.1 Mode and Median
2.4.2 Expected Value
2.4.3 Variance and Standard Deviation
5 2.5 IMPORTANT PROBABILITY DISTRIBUTIONS
2.5.1 Some Discrete Probability Distributions
2.5.2 Some Continuous Probability Distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 14/185 HANOI – 2022 14 / 185
2.2 DISCRETE PROBABILITY DISTRIBUTIONS
Introduction
Introduction
Random variables are so important in random experiments that sometimes we essentially ignore the
original sample space of the experiment and focus on the probability distribution of the random variable.
For example, in Example 2, our analysis might focus exclusively on the integers {0, 1, . . . , 48} in the range
of X. In this manner, a random variable can simplify the description and analysis of a random experiment.
The probability distribution of a random variable X is a description of the probabilities associated with the
possible values of X.
For a discrete random variable, the distribution is often specified by just a list of the possible values along
with the probability of each. In some cases, it is convenient to express the probability in terms of a formula.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 15/185 HANOI – 2022 15 / 185
2.2 DISCRETE PROBABILITY DISTRIBUTIONS 2.2.1 Probability Distributions and Probability Mass Functions
Example 8
There is a chance that a bit transmitted through a digital transmission channel is received in error. The
chance that a bit transmitted through a digital transmission channel is received in error is 0.1. Also,
assume that the transmission trials are independent. Let X the number of bits in error in the next four
bits transmitted. The possible values for X are {0, 1, 2, 3, 4}. Based on Bernoulli trial formulate,
probabilities for these values will be determined.
P (X = 0) = (C40 )(0, 1)0 (0, 9)4 = 0, 6561; P (X = 1) = (C41 )(0, 1)1 (0, 9)3 = 0, 2916;
P (X = 2) = (C42 )(0, 1)2 (0, 9)2 = 0, 0486; P (X = 3) = (C43 )(0, 1)3 (0, 9)1 = 0, 0036;
P (X = 4) = (C44 )(0, 1)4 (0, 9)0 = 0, 0001.
The probability distribution of X is specified by the possible values along with the probability of each. A
graphical description of the probability distribution of X is shown in Fig. 1.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 16/185 HANOI – 2022 16 / 185
2.2 DISCRETE PROBABILITY DISTRIBUTIONS 2.2.1 Probability Distributions and Probability Mass Functions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 17/185 HANOI – 2022 17 / 185
2.2 DISCRETE PROBABILITY DISTRIBUTIONS 2.2.1 Probability Distributions and Probability Mass Functions
For a discrete random variable X with possible values x1 , x2 , . . . , xn , a probability mass function is a
function such that
1 PX (xi ) = P (X = xi ) for all i = 1, 2, . . . , n;
2 PX (xi ) ≥ 0 for all i = 1, 2, . . . , n;
Pn
i=1 PX (xi ) = 1.
3
Example 9
For the bits in error in Example 8, PX (0) = 0.6561, PX (1) = 0.2916, PX (2) = 0.0486, PX (3) = 0.0036,
PX (4) = 0.0001. Check that the probabilities sum to 1.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 18/185 HANOI – 2022 18 / 185
2.2 DISCRETE PROBABILITY DISTRIBUTIONS 2.2.1 Probability Distributions and Probability Mass Functions
Example 10
Suppose we observe three calls at a telephone switch where voice calls (V ) and data calls (D) are equally
likely. Let X denote the number of voice calls, Y the number of data calls, and let R = XY . The sample
space of the experiment and the corresponding values of the random variables X, Y , and R are
The probability distribution for a discrete random variable X is a formula, table, or graph that gives the
possible values of X, and the probability associated with each value of X.
X x1 x2 ... xn
(1)
P P (X = x1 ) P (X = x2 ) ... P (X = xn )
Note
Requirements for discrete probability distribution:
1 The probability of each value of the discrete random variable is between 0 and 1, inclusive
(0 ≤ P (X = xi ) ≤ 1, i = 1, 2, . . . , n).
The sum of all the probabilities is 1, that is n
P
i=1 P (X = xi ) = 1.
2
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 20/185 HANOI – 2022 20 / 185
2.2 DISCRETE PROBABILITY DISTRIBUTIONS 2.2.1 Probability Distributions and Probability Mass Functions
Example 11
In Example 2, X is the number of bits in error in the next four bits transmitted. The probability
distribution of X is
X 0 1 2 3 4
P (X = xi ) 0.6561 0.2916 0.0486 0.0036 0.0001
Example 12
In Example 7, suppose all your faxes contain 1, 2, 3, or 4 pages with equal probability. Find the PMF of Y ,
the charge for a fax.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 21/185 HANOI – 2022 21 / 185
2.2 DISCRETE PROBABILITY DISTRIBUTIONS 2.2.1 Probability Distributions and Probability Mass Functions
Solution
From the problem statement, the number of pages X has PMF
(
1/4, x = 1, 2, 3, 4,
PX (x) =
0, otherwise.
The charge for the fax, Y , has range SY = {10, 19, 27, 34} corresponding to SX = {1, 2, 3, 4}. Here each value
of Y results in a unique value of X. Hence,
(
1/4, x = 10, 19, 27, 34,
PY (y) =
0, otherwise.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 22/185 HANOI – 2022 22 / 185
2.2 DISCRETE PROBABILITY DISTRIBUTIONS 2.2.1 Probability Distributions and Probability Mass Functions
A shipment of 30 similar laptop computers to a retail outlet contains 5 that are defective. If a school makes
a random purchase of 3 of these computers, find the probability distribution for the number of defectives.
Solution
X 0 1 2 3
115 75 25 1
P (X) 203 203 406 406
Theorem 1
For a discrete random variable X with PMF PX (x) and range SX . If B ⊂ SX , the probability that X is in
the set B is
X
P (B) = PX (x) (2)
x∈B
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 23/185 HANOI – 2022 23 / 185
2.2 DISCRETE PROBABILITY DISTRIBUTIONS 2.2.1 Probability Distributions and Probability Mass Functions
The probability that a bit transmitted through a digital transmission channel is received in error is 0.1.
Assume the transmissions are independent events, and let the random variable X denote the number of
bits transmitted until the first error. Find the probability distribution for X.
Solution
The range of X is SX = {1, 2, 3, 4, . . . } and
X 1 2 3 4 ...
P (X) 0.001 0.999 × 0.001 (0.999)2 × 0.001 (0.999)3 × 0.001 ...
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 24/185 HANOI – 2022 24 / 185
2.2 DISCRETE PROBABILITY DISTRIBUTIONS 2.2.2 Cumulative Distribution Functions
Example 15
In Example 8, we might be interested in the probability of fewer than four bits being in error. This
question can be expressed as P (X < 4). The event that is the union of the events (X = 0), (X = 1),
(X = 2), and (X = 3). Clearly, these three events are mutually exclusive. Therefore,
P (X < 4) = P (X = 0) + P (X = 1) + P (X = 2) + P (X = 3) = 0.9999.
Note
Example 15 shows that it is sometimes useful to be able to provide cumulative probabilities such as and that
such probabilities can be used to find the probability mass function of a random variable. Therefore, using
cumulative probabilities is an alternate method of describing the probability distribution of a random variable.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 25/185 HANOI – 2022 25 / 185
2.2 DISCRETE PROBABILITY DISTRIBUTIONS 2.2.2 Cumulative Distribution Functions
The cumulative distribution function (CDF) FX (x) of a discrete random variable X with probability
distribution PX (x) is
discrete random variable with probability distribution is (1), then the CDF is
If X is a P
FX (x) = t<x PX (t), that is
0, x ≤ x1 ,
p , x1 < x ≤ x2 ,
1
FX (x) = p1 + p2 , x2 < x ≤ x3 , (4)
...
1, x > xn .
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 26/185 HANOI – 2022 26 / 185
2.2 DISCRETE PROBABILITY DISTRIBUTIONS 2.2.2 Cumulative Distribution Functions
p1 + p2
p1
x
x1 x2 x3 ... xn
O
Example 16
Example 17
Find the CDF of random variables in Examples 8, 11, and 13.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 28/185 HANOI – 2022 28 / 185
2.2 DISCRETE PROBABILITY DISTRIBUTIONS 2.2.2 Cumulative Distribution Functions
Solution
The CDF of random variable in Example 13
0, x ≤ 0,
0, x ≤ 0,
115 115
203 , 0 < x ≤ 1, 203 , 0 < x ≤ 1,
115 75 190
FX (x) = 203 + 203 , 1 < x ≤ 2, = 203
, 1 < x ≤ 2,
115 75 25
405
+ + 406 , 2 < x ≤ 3, , 2 < x ≤ 3,
203 203
406
115
75 25 1
+ + + , x > 3. 1, x > 3.
203 203 406 406
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 29/185 HANOI – 2022 29 / 185
2.2 DISCRETE PROBABILITY DISTRIBUTIONS 2.2.2 Cumulative Distribution Functions
Theorem 2
Theorem 3
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 30/185 HANOI – 2022 30 / 185
2.2 DISCRETE PROBABILITY DISTRIBUTIONS 2.2.2 Cumulative Distribution Functions
Example 18
If a car agency sells 50% of its inventory of a certain foreign car equipped with side airbags,
(a) find a formula for the probability distribution PX (x) of the number of cars with side airbags among
the next 4 cars sold by the agency, X.
(b) find the cumulative distribution function of the random variable X; using FX (x), verify that
PX (2) = 3/8.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 31/185 HANOI – 2022 31 / 185
2.2 DISCRETE PROBABILITY DISTRIBUTIONS 2.2.2 Cumulative Distribution Functions
Solution
(a) Since the probability of selling an automobile with side airbags is 0.5, the 24 = 16 points in the sample
space are equally likely to occur. Therefore, the denominator for all probabilities, and also for our function,
is 16. To obtain the number of ways of selling 3 cars with side airbags, we need to consider the number of
ways of partitioning 4 outcomes into two cells, with 3 cars with side airbags assigned to one cell and the
model without side airbags assigned to the other. This can be done in C43 = 4 ways. In general, the event
of selling x models with side airbags and 4 − x models without side airbags can occur in C4x ways, where x
can be 0, 1, 2, 3, or 4. Thus, the probability PX (x) is
1 C x , for x = 0, 1, 2, 3, 4,
4
PX (x) = 16
0, otherwise.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 32/185 HANOI – 2022 32 / 185
2.2 DISCRETE PROBABILITY DISTRIBUTIONS 2.2.2 Cumulative Distribution Functions
Solution (continuous)
(b) Direct calculations of the probability distribution PX (0) = 1/16. PX (1) = 1/4, PX (2) = 3/8,
PX (3) = 1/4, and PX (4) = 1/16. Therefore
0,
for x ≤ 0,
1
16
, for 0 < x ≤ 1,
5 , for 1 < x ≤ 2,
FX (x) = 16 11
16
, for 2 < x ≤ 3,
15
, for 3 < x ≤ 4,
16
for x > 4.
1,
Now
11 5 3
PX (2) = FX (3) − FX (2) = − = .
16 16 8
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 33/185 HANOI – 2022 33 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS
Content
1 2.1 CONCEPT OF A RANDOM VARIABLE
2.1.1 Random Variable
2.1.2 Discrete Random Variable
2.1.3 Continuous Random Variable
2.1.4 Functions of a Random Variable
2 2.2 DISCRETE PROBABILITY DISTRIBUTIONS
2.2.1 Probability Distributions and Probability Mass Functions
2.2.2 Cumulative Distribution Functions
3 CONTINUOUS PROBABILITY DISTRIBUTIONS
2.3.1. Cumulative Distribution Function
2.3.2 Probability Density Function
4 2.4 EXPECTED VALUE AND VARIANCE
2.4.1 Mode and Median
2.4.2 Expected Value
2.4.3 Variance and Standard Deviation
5 2.5 IMPORTANT PROBABILITY DISTRIBUTIONS
2.5.1 Some Discrete Probability Distributions
2.5.2 Some Continuous Probability Distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 34/185 HANOI – 2022 34 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.1. Cumulative Distribution Function
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 35/185 HANOI – 2022 35 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.1. Cumulative Distribution Function
Example 19 (CDF)
0,
x ≤ 0,
FX (x) = x2 , 0 < x ≤ 1,
1, x > 1.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 36/185 HANOI – 2022 36 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.1. Cumulative Distribution Function
Fig.
FX (x)
x2
x
O 1
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 37/185 HANOI – 2022 37 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.1. Cumulative Distribution Function
Example 20
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 38/185 HANOI – 2022 38 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.1. Cumulative Distribution Function
Therefore,
( (
A = 0, A = 0,
or
A + 3 − B = 1. B=2
and
0,
x ≤ 0,
FX (x) = 3x2 − 2x3 , 0 < x ≤ 1,
1, x > 1.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 39/185 HANOI – 2022 39 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.1. Cumulative Distribution Function
Solution (continuous)
(b) Now,
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 40/185 HANOI – 2022 40 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.2 Probability Density Function
dFX (x)
fX (x) = (7)
dx
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 41/185 HANOI – 2022 41 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.2 Probability Density Function
Zx
(c) FX (x) = fX (u)du.
−∞
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 42/185 HANOI – 2022 42 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.2 Probability Density Function
Proof
(a) FX (x) is a nondecreasing function of x.
(b) Follows from FX (−∞) = 0 and FX (+∞) = 1.
(c) Follows directly from the definition of fX (x) and the fact that FX (−∞) = 0.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 43/185 HANOI – 2022 43 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.2 Probability Density Function
Theorem 5
Zb
P (a ≤ X < b) = fX (x)dx (2.6)
a
Proof
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 44/185 HANOI – 2022 44 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.2 Probability Density Function
Figure ThịThe
Nguyễn4: probability
Thu Thủy distribution
(SAMI-HUST) f (x); P (a < X < b) is equal to the shaded
ProSta-CHAP2 45/185 areaHANOI
under the curve
– 2022 45 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.2 Probability Density Function
Remark 1
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 46/185 HANOI – 2022 46 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.2 Probability Density Function
Example 21
Let the continuous random variable X denote the current measured in a thin copper wire in milliamperes.
Assume that the range of X is [0, 20 mA], and assume that the probability density function of X is
(
0, x∈/ [0; 20],
fX (x) =
0.05, x ∈ [0; 20].
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 47/185 HANOI – 2022 47 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.2 Probability Density Function
Example 22
Let the continuous random variable X denote the diameter of a hole drilled in a sheet metal component.
The target diameter is 12.5 millimeters. Most random disturbances to the process result in larger
diameters. Historical data show that the distribution of X can be modeled by a probability density function
(
0, x ≤ 12.5,
fX (x) =
20e−20(x−12.5) , x > 12.5.
(a) If a part with a diameter larger than 12.60 millimeters is scrapped, what proportion of parts is
scrapped?
(b) What proportion of parts is between 12.5 and 12.6 millimeters?
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 49/185 HANOI – 2022 49 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.2 Probability Density Function
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 50/185 HANOI – 2022 50 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.2 Probability Density Function
Solution (continuous)
(b) Now
12.6
Z
12.6
P (12.5 < X < 12.6) = fX (x)dx = −e−20(x−12.5) 12.5
= 0.865.
12.5
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 51/185 HANOI – 2022 51 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.2 Probability Density Function
Example 23
For the drilling operation in Example 22, FX (x) consists of two expressions.
Therefore, (
0, x ≤ 12.5,
FX (x) =
1 − e−20(x−12.5) , x > 12.5.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 52/185 HANOI – 2022 52 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.2 Probability Density Function
Figure
Figure 7 displays a graph of FX (x).
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 53/185 HANOI – 2022 53 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.2 Probability Density Function
Example 24
The continuous random variable X has PDF fX (x) = ae−|x| , (−∞ < x < +∞). Define the random
variable Y by Y = X 2 .
(a) What is a?
(b) What is the CDF FX (x)?
(c) What is the CDF FY (x)?
(d) Find P (0 < X < ln 3)?
(e) Find the probability that out of 3 independent trials, there is only one time that X is between 0 and
ln 3.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 54/185 HANOI – 2022 54 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.2 Probability Density Function
Solution
Z +∞
(a) It follows from fX (x) ≥ 0, ∀x and fX (x)dx = 1 that
−∞
a ≥ 0 and
Z 0 Z +∞
1= aex dx + ae−x dx = 2a.
−∞ 0
1
Hence, a = .
2
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 55/185 HANOI – 2022 55 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.2 Probability Density Function
Solution (continuous)
(b) What is the CDF FX (x)?
Z x
1
Since FX (x) = fX (u)du, fX (u) = e−|u| , −∞ < u < +∞,
−∞ 2
Z x
1 u 1 x
- If x ≤ 0, FX (x) = e du = e .
−∞ 2 2
Z 0 Z x
1 u 1 −u 1 1 1 1
- If x > 0, FX (x) = e du + e du = − e−x + = 1 − e−x .
−∞ 2 0 2 2 2 2 2
Hence, 1
ex , if x ≤ 0,
FX (x) = 2 1
1 − e−x , if x > 0.
2
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 56/185 HANOI – 2022 56 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.2 Probability Density Function
Solution (continuous)
(c) What is the CDF FY (x)?
Since FY (x) = P (Y < x) = P (X 2 < x),
- If x ≤ 0, FY (x) = P (∅) = 0.
√ √
- If x > 0, FY (x) = P (− x < X < x).
Therefore, (
0, if x ≤ 0,
FY (x) = √ √
FX ( x) − FX (− x), if x > 0.
Using (b), (
0, if x ≤ 0,
FY (x) = √
1 − e− x , if x > 0.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 57/185 HANOI – 2022 57 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.2 Probability Density Function
Solution (continuous)
(d) Find P (0 < X < ln 3)?
P (0 < X < ln 3) = FX (ln 3) − FX (0) =?
Z ln 3 Z ln 3
1 −x
P (0 < X < ln 3) = fX (x)dx = e dx =??
0 0 2
(e) P3 (1) = C31 p1 (1 − p)2 , where p = P (0 < X < ln 3).
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 58/185 HANOI – 2022 58 / 185
CONTINUOUS PROBABILITY DISTRIBUTIONS 2.3.2 Probability Density Function
Practice Test
Practice Test 1
The cumulative distribution function of the continuous random variable X is F (x) = a + b arctan x,
(−∞ < x < +∞). (a) What are a and b? (b) What is P (−1 < X < 1)?
Practice Test 2
The cumulative distribution function of the continuous random variable X is F (x) = 1/2 + 1/π arctan x/2.
What is the value of x1 such that P (X > x1 ) = 1/4?
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 59/185 HANOI – 2022 59 / 185
2.4 EXPECTED VALUE AND VARIANCE
Content
1 2.1 CONCEPT OF A RANDOM VARIABLE
2.1.1 Random Variable
2.1.2 Discrete Random Variable
2.1.3 Continuous Random Variable
2.1.4 Functions of a Random Variable
2 2.2 DISCRETE PROBABILITY DISTRIBUTIONS
2.2.1 Probability Distributions and Probability Mass Functions
2.2.2 Cumulative Distribution Functions
3 CONTINUOUS PROBABILITY DISTRIBUTIONS
2.3.1. Cumulative Distribution Function
2.3.2 Probability Density Function
4 2.4 EXPECTED VALUE AND VARIANCE
2.4.1 Mode and Median
2.4.2 Expected Value
2.4.3 Variance and Standard Deviation
5 2.5 IMPORTANT PROBABILITY DISTRIBUTIONS
2.5.1 Some Discrete Probability Distributions
2.5.2 Some Continuous Probability Distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 60/185 HANOI – 2022 60 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.1 Mode and Median
Definition 13 (Mode)
or
Definition 14 (Median)
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 61/185 HANOI – 2022 61 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.1 Mode and Median
Solution
We have
0, x ≤ 0,
3
FX (x) = 3 x2 − x , 0 < x ≤ 2,
4
3
1, x > 2.
1
So xmed is a solution of the equation FX (x) = , or x3 − 3x2 + 2 = 0 with 0 < x ≤ 2. Hence xmed = 1.
2
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 62/185 HANOI – 2022 62 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.1 Mode and Median
Solution (continuous)
0, x ≤ 0,
3
0
Taking the derivative of the PDF fX (x), g(x) := fX (x) = (1 − x), 0 < x < 2,
2
0, otherwise.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 63/185 HANOI – 2022 63 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.2 Expected Value
Let X be a random variable with probability distribution PX (x) or fX (x). The mean value or expected
value of X, denoted as µ or E(X), is
X
µX = E(X) = xPX (x) if X is discrete (11)
x∈SX
and
+∞
Z
µX = E(X) = xfX (x)dx if X is continuous (12)
−∞
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 64/185 HANOI – 2022 64 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.2 Expected Value
(a) In Example 8, there is a chance that a bit transmitted through a digital transmission channel is
received in error. Let X equal the number of bits in error in the next four bits transmitted. Now
E(X) is
(c) For the copper current measurement in Example 21, the mean of X is
Z20 Z20
E(X) = xfX (x)dx = 0.05xdx = 10.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP20 0 65/185 HANOI – 2022 65 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.2 Expected Value
Example 27
Solution
+∞
Z Z1
E(X) = xfX (x)dx = xdx = 1/2
−∞ 0
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 66/185 HANOI – 2022 66 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.2 Expected Value
Theorem 6
Let X be a random variable with probability distribution PX (x) or fX (x). The expected value of the
random variable Y = g(X) is
X
µY = E[g(X)] = g(x)PX (x) if X is discrete (13)
x∈SX
and
+∞
Z
µY = E[g(X)] = g(x)fX (x)dx if X is continuous (14)
−∞
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 67/185 HANOI – 2022 67 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.2 Expected Value
Example 28
In Example 39, suppose all your faxes contain 1, 2, 3, or 4 pages with equal probability. Find the expected
value of Y , the charge for a fax.
Solution
1
The expected fax bill is E(Y ) = (10 + 19 + 27 + 34) = 22.5 cents.
4
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 68/185 HANOI – 2022 68 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.2 Expected Value
Example 29
In Example 28,
(
1/4, x = 1, 2, 3, 4,
PX (x) =
0, otherwise
and
(
10.5X − 0.5X 2 , 1 ≤ X ≤ 5,
Y = g(X) =
50, 6 ≤ X ≤ 10.
What is E(Y )?
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 69/185 HANOI – 2022 69 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.2 Expected Value
Solution
Applying Theorem 6 we have
4
X
E(Y ) = PX (x)g(x)
x=1
1 1
= [(10.5)(1) − (0.5)(1)2 ] + [(10.5)(2) − (0.5)(2)2 ]
4 4
1 1
+ [(10.5)(3) − (0.5)(3)2 ] + [(10.5)(4) − (0.5)(4)2 ]
4 4
1
= [10 + 19 + 27 + 34] = 22.5 cents.
4
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 70/185 HANOI – 2022 70 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.2 Expected Value
Theorem 7
Corollary 1
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 71/185 HANOI – 2022 71 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.2 Expected Value
Example 30
Solution
Using (11),
115 75 25 1
E(X) = 0 × +1× +2× +3× = 0, 5.
203 203 406 406
Using Theorem 7, E(6X + 2) = 6E(X) + 2 = 6 × 0, 5 + 2 = 5.
Or, applying Theorem 6 and Example 13,
115 75 25
E(6X + 2) = (6 × 0 + 2) × + (6 × 1 + 2) × + (6 × 2 + 2) ×
203 203 406
1 2030
+ (6 × 3 + 2) × = = 5.
406 406
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 72/185 HANOI – 2022 72 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.2 Expected Value
Example 31
(a) In Example 8, let X equal the number of bits in error in the next four bits transmitted. Using (13),
Practical Interpretation: The expected value of a function of a random variable is simply a weighted
average of the function evaluated at the values of the random variable.
(b) In Example 21, the continuous random variable X denote the current measured in a thin copper wire
in milliamperes. Using (14),
Z20 Z20
E(X 2 ) = x2 fX (x)dx = 0.05x2 dx = 133.3333.
0 0
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 73/185 HANOI – 2022 73 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.2 Expected Value
Example 32
Solution
Using (13) and Example 13,
115 75 25
E(6X + 2) = (6 × 0 + 2) × + (6 × 1 + 2) × + (6 × 2 + 2) ×
203 203 406
1 2030
+ (6 × 3 + 2) × = = 5.
406 406
(see Example 30).
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 74/185 HANOI – 2022 74 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.2 Expected Value
Theorem 8
The expected value of the sum or difference of two or more functions of a random variable X is the sum or
difference of the expected values of the functions. That is,
Example 33
Let X be a random variable with probability distribution as follows:
X 0 1 2 3
PX (x) 1/3 1/2 0 1/6
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 75/185 HANOI – 2022 75 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.2 Expected Value
Solution
Applying Theorem 8 to the function Y = (X − 1)2 , we can write
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 76/185 HANOI – 2022 76 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.2 Expected Value
Practice Test
Practice Test 3
The random variable X has the probability density function
(
k(30 − x), x ∈ (0, 30),
fX (x) =
0, x∈/ (0, 30).
Let Y := max{20, X}. Find the expected value of the random variable Y .
Practice Test 4
At a county fair, a ring toss game may be played for 25 cents. You are given three rings and then attempt
to toss them individually onto a peg. If you successfully get one ring on a peg, you win a prize worth 50
cents. If you get two on, you get a prize worth 100 cents and if you get all three on, you win a prize worth
500 cents. Assuming the probability that you ring the peg is 0.1 each try, what is your expected gain if you
play this game five times?
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 77/185 HANOI – 2022 77 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.3 Variance and Standard Deviation
Introduction
The mean, or expected value, of a random variable X is of special importance in statistics because it
describes where the probability distribution is centered. By itself, however, the mean does not give an
adequate description of the shape of the distribution. We also need to characterize the variability in the
distribution. In Figure 8, we have the histograms of two discrete probability distributions that have the
same mean, µ = 2, but differ considerably in variability, or the dispersion of their observations about the
mean.
The most important measure of variability of a random variable X is obtained by applying Theorem 6 with
g(X) = (X − µ)2 . The quantity is referred to as the variance of the random variable X or the variance of
2
the probability distribution of X and is denoted by V ar(X) or the symbol σX , or simply by σ 2 when it is
clear to which random variable we refer.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 78/185 HANOI – 2022 78 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.3 Variance and Standard Deviation
Introduction
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 79/185 HANOI – 2022 79 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.3 Variance and Standard Deviation
Definition 16 (Variance)
and
+∞
Z
σx2 = V ar(X) = E (X − µX )2 = (x − µ)2 fX (x)dx
if X is continuous. (17)
−∞
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 80/185 HANOI – 2022 80 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.3 Variance and Standard Deviation
The positive square root of the variance, σ, is called the standard deviation of X.
p
σX = V ar(X) (18)
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 81/185 HANOI – 2022 81 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.3 Variance and Standard Deviation
Example 34
Let the random variable X represent the number of automobiles that are used for official business purposes
on any given workday. The probability distribution for company A and that for company B (Figure 8) are
XA 1 2 3 XB 0 1 2 3 4
P (XA ) 0.3 0.4 0.3 P (XB ) 0.2 0.1 0.3 0.3 0.1
Show that the variance of the probability distribution for company B is greater than that for company A.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 82/185 HANOI – 2022 82 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.3 Variance and Standard Deviation
Solution
For company A and B, we find that
and then
Clearly, the variance of the number of automobiles that are used for official business purposes is greater for
company B than for company A.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 83/185 HANOI – 2022 83 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.3 Variance and Standard Deviation
Theorem 9
and
+∞
Z
2
E(X ) = x2 fX (x)dx if X is continuous (21)
−∞
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 84/185 HANOI – 2022 84 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.3 Variance and Standard Deviation
Definition 18 (Moment)
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 85/185 HANOI – 2022 85 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.3 Variance and Standard Deviation
(a) In Example 8, let X equal the number of bits in error in the next four bits transmitted. Using (16),
5
X
V (X) = (xi − 0.4)2 pi = 0.36.
i=1
(b) In Example 21, X is the current measured in milliamperes, using (17) and Example 26(b),
Z20 Z20
V (X) = (x − 10)2 fX (x)dx = 0.05(x − 10)2 dx = 33.3333.
0 0
If using (19) and Examples 26(b), 31(b), V (X) = E(X 2 ) − [E(X)]2 = 133.3333 − (10)2 = 33.3333.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 86/185 HANOI – 2022 86 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.3 Variance and Standard Deviation
Note
Note that (X − µX )2 ≥ 0. Therefore, its expected value is also nonnegative. That is, for any random variable X
V ar(X) ≥ 0 (22)
Theorem 10
V ar(aX + b) = a2 V ar(X).
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 87/185 HANOI – 2022 87 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.3 Variance and Standard Deviation
Theorem 11
Let X be a random variable with probability distribution PX (x) or fX (x). The variance of the random
variable Y = g(X) is
X
σY2 = E[g(X) − µg(X) ]2 = [g(x) − µg(X) ]2 PX (x) if X is discrete (23)
x∈SX
and
+∞
Z
σY2 = E[g(X) − µg(X) ]2 = [g(x) − µg(X) ]2 fX (x)dx if X is continuous (24)
−∞
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 88/185 HANOI – 2022 88 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.3 Variance and Standard Deviation
Example 36
Calculate the variance of g(X) = 2X + 3, where X is a random variable with probability distribution
X 0 1 2 3
PX (x) 1/4 1/8 1/2 1/8
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 89/185 HANOI – 2022 89 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.3 Variance and Standard Deviation
Solution
First, we find the mean of the random variable 2X + 3. According to Theorem 6,
3
X
µ2X+3 = E[2X + 3] = (2x + 3)PX (x) = 6.
x=0
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 90/185 HANOI – 2022 90 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.3 Variance and Standard Deviation
Example 37
Let X be a random variable with density function
2
x
, −1 < x < 2,
fX (x) = 3
0, otherwise.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 91/185 HANOI – 2022 91 / 185
2.4 EXPECTED VALUE AND VARIANCE 2.4.3 Variance and Standard Deviation
Solution
By Theorem 6 we have
Z2 Z2
(4x + 3)x2 1
E[4X + 3] = dx = (4x3 + 3x2 )dx = 8.
3 3
−1 −1
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 92/185 HANOI – 2022 92 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS
Content
1 2.1 CONCEPT OF A RANDOM VARIABLE
2.1.1 Random Variable
2.1.2 Discrete Random Variable
2.1.3 Continuous Random Variable
2.1.4 Functions of a Random Variable
2 2.2 DISCRETE PROBABILITY DISTRIBUTIONS
2.2.1 Probability Distributions and Probability Mass Functions
2.2.2 Cumulative Distribution Functions
3 CONTINUOUS PROBABILITY DISTRIBUTIONS
2.3.1. Cumulative Distribution Function
2.3.2 Probability Density Function
4 2.4 EXPECTED VALUE AND VARIANCE
2.4.1 Mode and Median
2.4.2 Expected Value
2.4.3 Variance and Standard Deviation
5 2.5 IMPORTANT PROBABILITY DISTRIBUTIONS
2.5.1 Some Discrete Probability Distributions
2.5.2 Some Continuous Probability Distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 93/185 HANOI – 2022 93 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 94/185 HANOI – 2022 94 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Note
The simplest discrete random variable is one that assumes only a finite number of possible values, each with
equal probability. A random variable X that assumes each of the values x1 , x2 , . . . , xn , with equal probability
1/n, is frequently of interest.
Definition 19
A random variable X has a discrete uniform distribution if each of the n values in its range, say
x1 , x2 , . . . , xn , has equal probability. Then,
1
PX (xi ) = for all i = 1, 2, . . . , n (25)
n
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 95/185 HANOI – 2022 95 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Example 38
The first digit of a part’s serial number is equally likely to be any one of the digits 0 through 9. If one part
is selected from a large batch and X is the first digit of the serial number, X has a discrete uniform
distribution with probability 0.1 for each value in R = {0, 1, 2, . . . , 9}. That is,
PX (x) = 0.1
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 96/185 HANOI – 2022 96 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 97/185 HANOI – 2022 97 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
a+b (b − a + 1)2 − 1
E(X) = , V (X) = (26)
2 12
Example 39
As in Example 2, let the random variable X denote the number of the 48 voice lines that are in use at a
particular time. Assume that X is a discrete uniform random variable with a range of 0 to 48. Then,
r
0 + 48 (48 − 0 + 1)2 − 1
E(X) = = 24, σ = = 14.14.
2 12
Practical Interpretation: The average number of lines in use is 24 but the dispersion (as measured by ) is
large. Therefore, at many times far more or fewer than 24 lines are in use.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 98/185 HANOI – 2022 98 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Theorem 13
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 99/185 HANOI – 2022 99 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Example 40
Suppose you test one circuit. With probability p, the circuit is rejected. Let X be the number of rejected
circuits in one test. What is PX (x)?
Solution
Because there are only two outcomes in the sample space, X = 1 with probability p and X = 0 with probability
1 − p.
1 − p,
x = 0,
PX (x) = p, x = 1,
0, otherwise.
Therefore, the number of circuits rejected in one test is a Bernoulli (p) random variable.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 100/185 HANOI – 2022 100 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Strictly speaking, the Bernoulli process must possess the following properties:
1 The trials are independent.
2 Each trial results in only two possible outcomes, labeled as “success” and “failure.”
3 The probability of a success in each trial, denoted as p, remains constant
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 101/185 HANOI – 2022 101 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
X 0 1 ... k ... n
(28)
P (X) Cn0 p0 q n Cn1 p1 q n−1 ... Cnk pk q n−k ... Cnn pn q 0
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 102/185 HANOI – 2022 102 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Example 41
The probability that a patient recovers from a rare blood disease is 0.4. If 15 people are known to have
contracted this disease, what is the probability that (a) at least 10 survive, (b) from 3 to 8 survive, and (c)
exactly 5 survive?
Solution
Px=15
(a) P [X ≥ 10] = x=10 PX (x) = 0.0338.
P [3 ≤ X ≤ 8] = x=8
P
(b) x=3 PX (x) = 0.8779.
(c) 5
P [X = 5] = C15 (0.4)5 (0.6)10 = 0.1859.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 103/185 HANOI – 2022 103 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
The probability distribution of this discrete random variable is called the binomial distribution, and is
denoted by B(n, p) (or X ∼ B(n, p)).
Theorem 14
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 104/185 HANOI – 2022 104 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 105/185 HANOI – 2022 105 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Theorem 15
Remark 3
Since Theorem 15,
(a) If (n + 1)p − 1 ∈ Z, then mod(X) = (n + 1)p − 1 and mod(X) = (n + 1)p.
(b) If (n + 1)p − 1 ∈
/ Z, then mod(X) = [(n + 1)p].
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 106/185 HANOI – 2022 106 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Example 42
For the number of transmitted bits received in error in Example 8, n = 4 and p = 0.1, so
and these results match those obtained from a direct calculation in Examples 26(a) and 35(a).
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 107/185 HANOI – 2022 107 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Consider the transmission of n bits over a digital communication channel. Let the random variable X
equal the number of bits in error. When the probability that a bit is in error is constant and the
transmissions are independent, X has a binomial distribution. Let p denote the probability that a bit is in
error. Let λ = np. Then, E(X) = np = λ and
λ x λ n−x
P (X = x) = Cnx px (1 − p)n−x = Cnx 1− .
n n
Now, suppose that the number of bits transmitted increases and the probability of an error decreases
exactly enough that pn remains equal to a constant. That is, n increases and p decreases accordingly, such
that E(X) = λ remains constant. Then, with some work, it can be shown that
1 x 1 λ −x λ n
Cnx → , 1− → 1, 1− → e−λ
n x! n n
so that
e−λ λx
lim P (X = x) = , x = 0, 1, 2, . . .
n→∞ x!
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 108/185 HANOI – 2022 108 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
λk −λ
where P (X = k) = e , λ > 0 is a constant.
k!
Probability distribution of Poisson random variable is called the Poisson distribution, and is denoted by
P(λ).
Theorem 16
Both the mean and the variance of the Poisson distribution P(λ) are λ.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 110/185 HANOI – 2022 110 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 111/185 HANOI – 2022 111 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Remark 4
Here are some examples of experiments for which the random variable X can be modeled by the Poisson
random variable:
1 The number of calls received by a switchboard during a given period of time.
2 The number of customer arrivals at a checkout counter during a given minute.
3 The number of machine breakdowns during a given day.
4 The number of traffic accidents at a given intersection during a given time period.
In each example, X represents the number of events that occur in a period of time or space during which
an average of λ such events can be expected to occur. The only assumptions needed when one uses the
Poisson distribution to model experiments such as these are that the counts or events occur randomly and
independently of one another.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 112/185 HANOI – 2022 112 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Example 44
The number of hits at a Web site in any time interval is a Poisson random variable. A particular site has
on average α = 2 hits per second.
(a) What is the probability that there are no hits in an interval of 0.25 seconds?
(b) What is the probability that there are no more than two hits in an interval of one second?
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 113/185 HANOI – 2022 113 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Solution
(a) In an interval of 0.25 seconds, the number of hits H is a Poisson random variable with
λ = αT = (2hits/s) × (0.25s) = 0.5 hits. The PMF of H is
(0.5)h × e−5
, h = 0, 1, 2, . . .
PH (h) = h!
0, otherwise.
(0.5)0 × e−0.5
P (H = 0) = PH (0) = = 0.607.
0!
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 114/185 HANOI – 2022 114 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Solution (continuous)
(b) In an interval of 1 second, λ = αT = (2hits/s) × (1s) = 2 hits. Letting J denote the number of hits in
one second, the PMF of J is
j −2
(2) × e , j = 0, 1, 2, . . .
PJ (j) = j!
0, otherwise.
P (J ≤ 2) = P (J = 0) + P (J = 1) + P (J = 2)
= PJ (0) + PJ (1) + PJ (2)
21 × e−2 22 × e−2
= e−2 + + = 0.677.
1! 2!
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 115/185 HANOI – 2022 115 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Theorem 17
Let X be a binomial random variable with probability distribution B(n, p). When n → ∞, p → 0, and
np → µ as n → ∞ remains constant,
Remark 2
The Poisson distribution provides a simple, easy-to-compute, and accurate approximation to binomial
probabilities when n is large and λ = np is small, preferably with np < 7.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 116/185 HANOI – 2022 116 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Example 45
Suppose a life insurance company insures the lives of 5000 men aged 42. If actuarial studies show the
probability that any 42-year-old man will die in a given year to be 0.001, find the exact probability that
the company will have to pay X = 4 claims during a given year.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 117/185 HANOI – 2022 117 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Solution
The exact probability is given by the binomial distribution as
5000!
P (X = 4) = (0.001)4 (0.999)4996
4!4996!
for which binomial tables are not available.
To compute P (X = 4) without the aid of a computer would be very time-consuming, but the Poisson
distribution can be used to provide a good approximation to P (X = 4). Computing
λ = np = (5000)(0.001) = 5 and substituting into the formula for the Poisson probability distribution, we
have
54 −5 (625)(0.006738)
P (X = 4) ' e = = 0.175.
4! 24
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 118/185 HANOI – 2022 118 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Example 46
In a certain industrial facility, accidents occur infrequently. It is known that the probability of an accident
on any given day is 0.005 and accidents are independent of each other.
(a) What is the probability that in any given period of 400 days there will be an accident on one day?
(b) What is the probability that there are at most three days with an accident?
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 119/185 HANOI – 2022 119 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.1 Some Discrete Probability Distributions
Solution
Let X be a binomial random variable with n = 400 and p = 0.005. Thus, np = 2. Using the Poisson
approximation,
(a) P (X = 1) = e−1 21 = 0.271 and
P3 e−2 2x
(b) P (X ≤ 3) = x=0 = 0.857.
x!
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 120/185 HANOI – 2022 120 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 121/185 HANOI – 2022 121 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
fX (x)
1
b−a
x
O a b
Figure 12: The density function for a random variable on the interval [a, b]
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 122/185 HANOI – 2022 122 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Example 47
Suppose that a large conference room at a certain company can be reserved for no more than 4 hours.
Both long and short conferences occur quite often. In fact, it can be assumed that the length X of a
conference has a uniform distribution on the interval [0, 4].
(a) What is the probability density function?
(b) What is the probability that any given conference lasts at least 3 hours?
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 123/185 HANOI – 2022 123 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Solution
(a) The appropriate density function for the uniformly distributed random variable X in this situation is
1 , 0 ≤ x ≤ 4,
f (x) = 4
0, otherwise.
Z 4
1 1
(b) P (X ≥ 3) = dx = .
3 4 4
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 124/185 HANOI – 2022 124 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Figure 13: The density function for a random variable on the interval [1, 3]
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 125/185 HANOI – 2022 125 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Theorem 18
a+b (b − a)2
E(X) = and V ar(X) = (36)
2 12
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 126/185 HANOI – 2022 126 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
FX (x)
1
b−a
x
O a b
Figure 14: The CDF for a random variable on the interval [a, b]
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 127/185 HANOI – 2022 127 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Example 48
The random variable X in Example 21 is a uniform U[0, 20] random variable. Then,
0 + 20 202
E(X) = = 10 mA and V (X) = = 33.3333 mA2
2 12
and these results match those obtained from a direct calculation in Examples 26(b) and 31(b).
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 128/185 HANOI – 2022 128 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Theorem 19
Let X be a uniform U[a, b] random variable, where a and b are both integers. Let K = [X]. Then K is a
discrete uniform [a + 1, b] random variable.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 129/185 HANOI – 2022 129 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Introduction
The discussion of the Poisson distribution defined a random variable to be the number of flaws along a
length of copper wire.
The distance between flaws is another random variable that is often of interest. Let the random variable X
denote the length from any starting point on the wire until a flaw is detected.
As you might expect, the distribution of X can be obtained from knowledge of the distribution of the
number of flaws.
The key to the relationship is the following concept. The distance to the first flaw exceeds 3 millimeters if
and only if there are no flaws within a length of 3 millimeters–simple, but sufficient for an analysis of the
distribution of X.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 130/185 HANOI – 2022 130 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Introduction
In general, let the random variable N denote the number of flaws in x millimeters of wire. If the mean
number of flaws is λ per millimeter, N has a Poisson distribution with mean λx.
We assume that the wire is longer than the value of x. Now
e−λx (λx)0
P (X > x) = P (N = 0) = = e−λx .
0!
Therefore,
FX (x) = P (X < x) = 1 − e−λx , x≥0
is the cumulative distribution function of X. By differentiating F( x), the probability density function of X
is calculated to be
fX (x) = e−λx , x ≥ 0.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 131/185 HANOI – 2022 131 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
The random variable X that equals the distance between successive events of a Poisson process with mean
number of events λ > 0 per unit interval is an exponential random variable with parameter λ. The
probability density function of X is
(
λe−λx , x ≥ 0,
fX (x) = (37)
0, otherwise.
Note
The exponential distribution obtains its name from the exponential function in the probability density function.
Plots of the exponential distribution for selected values of λ are shown in Fig. 15. For any value of λ, the
exponential distribution is quite skewed.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 132/185 HANOI – 2022 132 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Note
Figure 15: Probability density function of exponential random variables for selected values of λ
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 133/185 HANOI – 2022 133 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Example 49
The probability that a telephone call lasts no more than t minutes is often modeled as an exponential CDF.
(
1 − e−t/3 , t ≥ 0,
FT (t) =
0, otherwise.
(a) What is the PDF of the duration in minutes of a telephone conversation? (b) What is the probability
that a conversation will last between 2 and 4 minutes?
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 134/185 HANOI – 2022 134 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Solution
(a) We find the PDF of T by taking the derivative of the CDF:
1 e−t/3 , t ≥ 0,
dFT (t)
fT (t) = = 3
dt 0, otherwise.
Therefore, observing Definition 28, we recognize that T is an exponential (λ = 1/3) random variable.
(b) The probability that a call lasts between 2 and 4 minutes is
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 135/185 HANOI – 2022 135 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Example 50
In Example 49, what is E(T ), the expected duration of a telephone call? What are the variance and
standard deviation of T ? What is the probability that a call duration is within ±1 standard deviation of
the expected call duration?
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 136/185 HANOI – 2022 136 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 137/185 HANOI – 2022 137 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Z +∞
With the knowledge that E(T ) = 3, we observe that te−t/3 dt = 3E(T ) = 9. Thus
0
E(T 2 ) = 6E(T ) = 18 and
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 138/185 HANOI – 2022 138 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Theorem 20
Remark 5
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 139/185 HANOI – 2022 139 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Let X denote the time between detections of a particle with a Geiger counter and assume that X has
an exponential distribution with E(X) = 1.4 minutes. The probability that we detect a particle
within 30 seconds of starting the counter is
In this calculation, all units are converted to minutes. Now, suppose we turn on the Geiger counter
and wait 3 minutes without detecting a particle. What is the probability that a particle is detected in
the next 30 seconds?
Because we have already been waiting for 3 minutes, we feel that we are “due.” That is, the
probability of detection in the next 30 seconds should be greater than 0.3. However, for an
exponential distribution, this is not true. The requested probability can be expressed as the
conditional probability that P (X < 3.5|X > 3). From the definition of conditional probability,
Note
Practical Interpretation: After waiting for 3 minutes without a detection, the probability of a detection in
the next 30 seconds is the same as the probability of a detection in the 30 seconds immediately after
starting the counter. The fact that you have waited 3 minutes without a detection does not change the
probability of a detection in the next 30 seconds.
Example 51 illustrates the lack of memory property of an exponential random variable, and a general
statement of the property follows. In fact, the exponential distribution is the only continuous distribution
with this property.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 141/185 HANOI – 2022 141 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Remark 6
Note
Figure 16 graphically illustrates the lack of memory property. The area of region A divided by the total area
under the probability density function equals. The area of region C divided by the area equals The lack of
memory property implies that the proportion of the total area that is in A equals the proportion of the area in C
and D that is in C. The mathematical verification of the lack of memory property is left as a mind-expanding
exercise.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 142/185 HANOI – 2022 142 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Figure 16: Probability density function of exponential random variables for selected values of λ
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 143/185 HANOI – 2022 143 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Example 52
Phone company A charges $0.15 per minute for telephone calls. For any fraction of a minute at the end of
a call, they charge for a full minute. Phone company B also charges $0.15 per minute. However, Phone
company B calculates its charge based on the exact duration of a call. If T , the duration of a call in
minutes, is an exponential (λ = 1/3) random variable, what is the PDF of T ? What is the expected value
of T ? What are the expected revenues per call E[RA ] and E[RB ] for companies A and B?
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 144/185 HANOI – 2022 144 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Solution
Because T is an exponential (λ = 1/3) random variable,
1 e− 13 t , t ≥ 0,
fT (t) = 3
0, otherwise.
Therefore, for phone company B, which charges for the exact duration of a call,
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 145/185 HANOI – 2022 145 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Solution (continuous)
Company A, by contrast, collects $0.15[T ] for a call of duration T minutes (T = 1.2, [T ] = 2 . . . ).
Put K = [T ]. The expected revenue for company A is E(RA ) = 0.15 × E(K).
P (K = k) = P (k − 1 < X ≤ k) = FX (k) − FX (k − 1) = (e−λ )k−1 (1 − e−λ ).
∞ ∞ 1
k(1 − p)k−1 p = , where p = 1 − e−λ .
P P
E(K) = kP (K = k) =
k=1 k=1 p
Hence,
0.15 0.15
E(RA ) = = = (0.15) × (3.5285) = 0.5292 dolars per call.
p 0.2834
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 146/185 HANOI – 2022 146 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Introduction
The most important continuous probability distribution in the entire field of statistics is the normal
distribution. Its graph, called the normal curve, is the bell-shaped curve of Figure 17, which approximately
describes many phenomena that occur in nature, industry, and research.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 147/185 HANOI – 2022 147 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Introduction
The normal distribution is often referred to as the Gaussian distribution, in honor of Karl Friedrich Gauss
(1777–1855), who also derived its equation from a study of errors in repeated measurements of the same
quantity.
A continuous random variable X having the bell-shaped distribution of Figure 17 is called a normal
random variable. The mathematical equation for the probability distribution of the normal variable
depends on the two parameters µ and σ, its mean and standard deviation, respectively. Hence, we denote
the normal distribution by N (µ, σ 2 ).
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 148/185 HANOI – 2022 148 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Definition 29 (PDF)
The PDF of the normal random variable X, with mean µ and variance σ 2 , is
(x − µ)2
1 −
fX (x) = √ e 2σ 2 , −∞ < x < ∞, (38)
σ 2π
where π = 3.14159 . . . and e = 2.71828 . . . .
Note
Once µ and σ are specified, the normal curve is completely determined. For example, if µ = 50 and σ = 5, then
the ordinates N (50, 5) can be computed for various values of x and the curve drawn.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 149/185 HANOI – 2022 149 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 150/185 HANOI – 2022 150 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Figure 19
In Figure 19, we have sketched two normal curves with the same mean but different standard deviations.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 151/185 HANOI – 2022 151 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Figure 20
Figure 20 shows two normal curves having different means and different standard deviations.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 152/185 HANOI – 2022 152 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Note
Based on inspection of Figures 17 through 20 and examination of the first and second derivatives of N (µ, σ 2 ),
we list the following properties of the normal curve:
1 The mode, which is the point on the horizontal axis where the curve is a maximum, occurs at x = µ.
2 The curve is symmetric about a vertical axis through the mean µ.
3 The curve has its points of inflection at x = µ ± σ; it is concave downward if µ − σ < X < µ + σ and is
concave upward otherwise.
4 The normal curve approaches the horizontal axis asymptotically as we proceed in either direction away
from the mean.
5 The total area under the curve and above the horizontal axis is equal to 1.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 153/185 HANOI – 2022 153 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Theorem 21
The mean and variance of the normal random variable are µ and σ 2 , respectively. Hence, the standard
deviation is σ.
Theorem 22
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 154/185 HANOI – 2022 154 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
The distribution of a normal random variable with mean 0 and variance 1 is called a standard normal
distribution.
PDF
The PDF of the standard normal random variable Z is
1 z2
ϕZ (z) = √ e− 2 .
2π
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 155/185 HANOI – 2022 155 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 156/185 HANOI – 2022 156 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Theorem 23
Corollary 2
β − µ
(a) P (X < β) = Φ .
σ
α − µ
(b) P (X > α) = 1 − Φ .
σ
(c) P (|X − µ| < ε) = 2Φ σε − 1.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 158/185 HANOI – 2022 158 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Example 53
Suppose the current measurements in a strip of wire are assumed to follow a normal distribution with a
mean of 10 milliamperes and a variance of 4 (milliamperes)2. What is the probability that a measurement
will exceed 13 milliamperes?
Solution
Let X denote the current in milliamperes. The requested probability can be represented as P (X > 13). Using
Corollary 2 and Table 2.1,
13 − 10
P (X > 13) = 1 − Φ = 1 − Φ(1.5) = 1 − 0.93319 = 0.06681.
2
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 159/185 HANOI – 2022 159 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Note
The curve of any continuous probability distribution or probability density function is constructed so that the
area under the curve bounded by the two ordinates x = x1 and x = x2 equals the probability that the random
variable X assumes a value between x = x1 and x = x2 . Thus, for the normal curve in Figure 23,
Zx2 (x−µ)2
1 −
P (x1 < X < x2 ) = √ e 2σ 2 dx
σ 2π
x1
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 161/185 HANOI – 2022 161 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 162/185 HANOI – 2022 162 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Remark 3
In using Theorem 23, we transform values of a norm random variable, X, to equivalent values of the
standard normal random variable, Z. For a sample value x of the random variable X, the
corresponding sample value of Z is
x−µ
z= or equivalently, x = µ + zσ. (39)
σ
The original and transformed distributions are illustrated in Figure 24. Since all the values of X
falling between x1 and x2 have corresponding z values between z1 and z2 , the area under the X-curve
between the ordinates x = x1 and x = x2 in Figure 24 equals the area under the Z-curve between the
transformed ordinates z = z1 and z = z2 .
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 163/185 HANOI – 2022 163 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 164/185 HANOI – 2022 164 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Remark 4
The probability distribution for Z, shown in Figure 25, is called the standardized normal distribution
because its mean is 0 and its standard deviation is 1. Values of Z on the left side of the curve are
negative, while values on the right side are positive.
The area under the standard normal curve to the left of a specified value of Z say, z0 is the
probability P (Z ≤ z0 ). This cumulative area is recorded in Table 2.1 and is shown as the shaded area
in Figure 25.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 165/185 HANOI – 2022 165 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 166/185 HANOI – 2022 166 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Example 54
Suppose your score on a test is x = 46, a sample value of the Gaussian (61, 102 ) random variable. Express
your test score as a sample value of the standard normal random variable, Z.
Solution
Equation (39) indicates that z = (46 − 61)/10 = −1.5. Therefore your score is 1.5 standard deviations less than
the expected value.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 167/185 HANOI – 2022 167 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
To find probabilities of norm random variables, we use the values of (z) presented in Table 2.1. Note that
this table contains entries only for z ≥ 0. For negative values of z, we apply the following property of Φ(z).
Theorem 24
Φ(−z) = 1 − Φ(z).
Remark 8
Figure 26 displays the symmetry properties of Φ(z). Both graphs contain the standard normal PDF. In
Figure 26(a), the shaded area under the PDF is Φ(z). Since the area under the PDF equals 1, the
unshaded area the PDF is 1 − Φ(z). In Figure 26(b), the shaded area on the right is 1 − Φ(z) and the
shaded area on the left is Φ(−z). This graph demonstrates that Φ(−z) = 1 − Φ(z).
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 168/185 HANOI – 2022 168 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 169/185 HANOI – 2022 169 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Z x
−t2
Table 2.1: The values of Φ(x) = √1 e 2 dt
2π
−∞
x 0 1 2 3 4 5 6 7 8 9
0,0 0,50000 50399 50798 51197 51595 51994 52392 52790 53188 53586
0,1 53983 54380 54776 55172 55567 55962 56356 56749 57142 57535
0,2 57926 58317 58706 59095 59483 59871 60257 60642 61026 61409
0,3 61791 62172 62556 62930 63307 63683 64058 64431 64803 65173
0,4 65542 65910 66276 66640 67003 67364 67724 68082 68439 68739
0,5 69146 69447 69847 70194 70544 70884 71226 71566 71904 72240
0,6 72575 72907 73237 73565 73891 74215 74537 74857 75175 75490
0,7 75804 76115 76424 76730 77035 77337 77637 77935 78230 78524
0,8 78814 79103 79389 79673 79955 80234 80511 80785 81057 81327
0,9 81594 81859 82121 82381 82639 82894 83147 83398 83646 83891
1,0 84134 84375 84614 84850 85083 85314 85543 85769 85993 86214
1,1 86433 86650 86864 87076 87286 87493 87698 87900 88100 88298
1,2 88493 88686 88877 89065 89251 89435 89617 89796 89973 90147
1,3 90320 90490 90658 90824 90988 91149 91309 91466 91621 91774
1,4 91924 92073 92220 92364 92507 92647 92786 92922 93056 93189
1,5 93319 93448 93574 93699 93822 93943 94062 94179 94295 94408
1,6 94520 94630 94738 94845 94950 95053 95154 95254 95352 95449
1,7 95543 95637 95728 95818 95907 95994 96080 96164 96246 96327
1,8 96407 96485 96562 96638 96712 96784 96856 96926 96995 97062
1,9 97128 97193 97257 97320 97381 97441 97500 97558 97615 97670
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 170/185 HANOI – 2022 170 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Z x
−t2
Table 2.1: The values of Φ(x) = √1 e 2 dt
2π
−∞
x 0 1 2 3 4 5 6 7 8 9
2,0 97725 97778 97831 97882 97932 97982 98030 98077 98124 98169
2,1 98214 98257 98300 98341 98382 98422 99461 98500 98537 98574
2,2 98610 98645 98679 98713 98745 98778 98809 98840 98870 98899
2,3 98928 98956 98983 99010 99036 99061 99086 99111 99134 99158
2,4 99180 99202 99224 99245 99266 99285 99305 99324 99343 99361
2,5 99379 99396 99413 99430 99446 99261 99477 99492 99506 99520
2,6 99534 99547 99560 99573 99585 99598 99609 99621 99632 99643
2,7 99653 99664 99674 99683 99693 99702 99711 99720 99728 99763
2,8 99744 99752 99760 99767 99774 99781 99788 99795 99801 99807
2,9 99813 99819 99825 99831 99836 99841 99846 99851 99856 99861
3,0 0,99865 3,1 99903 3,2 99931 3,3 99952 3,4 99966
3,5 99977 3,6 99984 3,7 99989 3,8 99993 3,9 99995
4,0 999968
4,5 999997
5,0 99999997
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 171/185 HANOI – 2022 171 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Example 55
Solution
Applying Theorem 23 and the result of Example 54, we have
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 172/185 HANOI – 2022 172 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Example 56
If X is a Gaussian random variable with µ = 61 and σ = 10, what is P (51 < X ≤ 71)?
Solution
Applying Equation (39), we find that the event {51 < X ≤ 71} corresponds to {−1 < Z ≤ 1}. The probability
of this event is
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 173/185 HANOI – 2022 173 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Introduction
Probabilities associated with binomial experiments are readily obtainable from the formula B(n, p) of the
binomial distribution when n is small.
In the previous section, we illustrated how the Poisson distribution can be used to approximate binomial
probabilities when n is quite large and p is very close to 0 or 1. Both the binomial and the Poisson
distributions are discrete.
We now state a theorem that allows us to use areas under the normal curve to approximate binomial
properties when n is sufficiently large.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 174/185 HANOI – 2022 174 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Theorem 25
If X is a binomial random variable with mean µ = np and variance σ 2 = npq, then the limiting form of the
distribution of
X − np
Z= √ ,
npq
as n → ∞, is the standard normal distribution N (0, 1).
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 175/185 HANOI – 2022 175 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Note
It turns out that the normal distribution with µ = np and σ 2 = npq not only provides a very accurate
approximation to the binomial distribution when n is large and p is not extremely close to 0 or 1 but also
provides a fairly good approximation even when n is small and p is reasonably close to 1/2.
To illustrate the normal approximation to the binomial distribution, we first draw the histogram for
B(15, 0.4) and then superimpose the particular normal curve having the same mean and variance as the
binomial variable X. Hence, we draw a normal curve with µ = np = (15)(0.4) = 6 and
σ 2 = npq = (15)(0.4)(0.6) = 3.6. The histogram of B(15, 0.4) and the corresponding superimposed
normal curve, which is completely determined by its mean and variance, are illustrated in Figure 27.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 176/185 HANOI – 2022 176 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 177/185 HANOI – 2022 177 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Let X be a binomial random variable with n trials and probability p of success. The probability
distribution of X is approximated using a normal curve with
√
µ = np and σ = npq,
and
k + 0.5 − µ k − 0.5 − µ
P (X = k) ' Φ −Φ (40)
σ σ
and
k + 0, 5 − µ k − 0, 5 − µ
2 1
P (k1 ≤ X ≤ k2 ) ' Φ −Φ (41)
σ σ
and the approximation will be good if np and n(1 − p) are greater than or equal to 5.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 178/185 HANOI – 2022 178 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Remark 5
(a) Since the normal distribution is continuous, the area under the curve at any single point is equal to 0.
Keep in mind that this result applies only to continuous random variables. Because the binomial
random variable X is a discrete random variable, the probability that X takes some specific value
say, X = 11 will not necessarily equal 0.
(b) Figures 28 and 29 show the binomial probability histograms for n = 25 with p = 0.5 and p = 0.1,
respectively. The distribution in Figure 28 is exactly symmetric.
(c) If you superimpose a normal curve with the same mean, µ = np, and the same standard deviation,
√
σ = npq, over the top of the bars, it “fits” quite well; that is, the areas under the curve are almost
the same as the areas under the bars. However, when the probability of success, p, gets small and the
distribution is skewed, as in Figure 29, the symmetric normal curve no longer fits very well. If you try
to use the normal curve areas to approximate the area under the bars, your approximation will not
be very good.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 179/185 HANOI – 2022 179 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Figure 28: The binomial probability distribution for n = 25 and p = 0.5 and the approximating normal
distribution with µ = 12.5 and σ = 2.5
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 180/185 HANOI – 2022 180 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Figure 29: The binomial probability distribution and the approximating normal distribution for n = 25
and p = 0.1
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 181/185 HANOI – 2022 181 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Use the normal curve to approximate the probability that X = 8, 9, or 10 for a binomial random variable
with n = 25 and p = 0.5. Compare this approximation to the exact binomial probability.
Solution
You can find the exact binomial probability for this example because there are cumulative binomial tables
for n = 25,
8 9 10
P (X = 8) + P (X = 9) + P (X = 10) = C25 + C25 + C25 (0.5)25 ' 0.190535.
To use the normal approximation, first find the appropriate mean and standard deviation for the normal
√
curve: µ = np = 12.5, σ = npq = 2.5. It follows from (41) that
You can compare the approximation, 0.18911, to the actual probability, 0.190535. They are quite close!
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 182/185 HANOI – 2022 182 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Remark 9
The normal approximation to the binomial probabilities will be adequate if both np > 5 and n(1 − p) > 5.
Example 58
The reliability of an electrical fuse is the probability that a fuse, chosen at random from production, will
function under its designed conditions. A random sample of 1000 fuses was tested and X = 27 defectives
were observed. Calculate the approximate probability of observing 27 or more defectives, assuming that
the fuse reliability is 0.98.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 183/185 HANOI – 2022 183 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Solution
The probability of observing a defective when a single fuse is tested is p = 0.02, given that the fuse
√
reliability is 0.98. Then µ = np = 20, σ = npq = 4.43.
The probability of 27 or more defective fuses, given n = 1000, is
It is appropriate to use the normal approximation to the binomial probability because np = 20 and
nq = 980 are both greater than 5. So
1000 + 0.5 − 20 27 − 0.5 − 20
P (27 ≤ X ≤ 1000) = Φ −Φ
4.43 4.43
= 1 − Φ(1.47) = 1 − 0.92922 = 0.07078.
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 184/185 HANOI – 2022 184 / 185
2.5 IMPORTANT PROBABILITY DISTRIBUTIONS 2.5.2 Some Continuous Probability Distributions
Solution (continuous)
Nguyễn Thị Thu Thủy (SAMI-HUST) ProSta-CHAP2 185/185 HANOI – 2022 185 / 185