Discrete Random Variables
Discrete Random Variables
• Example:
– Using the probability distribution table of the
breakdown of the x-ray machine, find the mean
number of breakdowns per week.
x P(x) Xp(x)
0 0.15 0.00
1 0.20 0.20
2 0.35 0.70
3 0.30 0.60
∑xp(x) = 1.80
Mean of a discrete random variable cont--
• Solution:
• To find the mean number of breakdowns per
week for this machine, we multiply each value
of x by its probability and add these products.
This sum gives the mean of the probability
distribution of x. The products xP(x) are listed
in the third column of the table
• The sum of these products gives ∑xP(x), which
is the mean of x, and it is 1.80
Standard Deviation of a Discrete
Random Variable
• The standard deviation of a discrete random
variable x measures the spread of its
probability distribution and is computed as
∑x²p(x) - μ²
Standard Deviation of a Discrete
Random Variable cont--
• Example:
• Baier’s Electronics manufactures computer parts that
are supplied to many computer companies. Despite
the fact that two quality control inspectors at Baier’s
Electronics check every part for defects before it is
shipped to another company, a few defective parts
do pass through these inspections undetected.
• Let x denote the number of defective computer parts
in a shipment of 400. The following table gives the
probability distribution of x.
Standard Deviation of a Discrete
Random Variable cont--
• Compute the standard deviation of x
x 0 1 2 3 4 5
P(x) 0.02 0.2 0.3 0.3 0.1 0.08
• Solution:
– The following table shows all the calculations
required for the computation of standard
deviation:
Standard Deviation of a Discrete
Random Variable cont--
• Solution cont—
x P(x) Xp(x) x² X²p(x)
0 0.02 0.0 0 0.00
1 0.2 0.2 1 0.20
2 0.3 0.6 4 1.20
3 0.3 0.9 9 2.70
4 0.1 0.4 16 1.60
5 0.08 0.4 25 2.00
∑xp(x) = 2.50 ∑x²p(x) = 7.70
Standard Deviation of a Discrete
Random Variable cont--
• We perform the following steps to compute the
standard deviation of x.
– Step 1: Compute the mean of the discrete random variable.
• The sum of the products xP(x), recorded in the third column of
the table, gives the mean of x.
• μ = ∑xp(x) = 2.50 defective parts in 400
– Step 2: Compute the value of ∑x²P(x).
• First we square each value of x and record it in the fourth column
of the table, thenwe multiply these values of x² by the
corresponding values of P(x). The resulting values of x²P(x) are
recorded in the fifth column of the. The sum of this column is,
∑x²P(x) = 7.70
Standard Deviation of a Discrete
Random Variable cont--
• Solution cont—
– Step 3: Substitute the values of μ and x²P(x) in the formula
for the standard deviation of x and simplify.
• By performing this step, we obtain
Square root of 7.70 – (2.5)² = square root of 1.45 = 1.204
– Thus, a given shipment of 400 computer parts is expected
to contain an average of 2.50 defective parts with a
standard deviation of 1.204.
• Because the standard deviation of a discrete random
variable is obtained by taking the positive square root,
its value is never negative.