Random Variables
Random Variables
A, 2, 3, 4, 5, 6, 7, 8, 9,
10, J, Q, K
Getting a defective item when two
items are randomly selected from a
box of two defective and three non-
defective items
DD, DN,
ND, NN
Drawing a card greater than 7 from a
deck of cards
VARIABLE
Characteristic or attribute
that can assume different
values.
RANDOM VARIABLES
Suppose three cellphones are
tested at random. We want to find
out the number of defective
cellphones that occur.
Let D represent the defective
cellphone and N represent the non-
defective cellphone. Let X be the
random variable representing the
number of defective cellphones.
STEPS
1.Determine the sample
space.
2. Count the number of
defective cellphones in each
outcome in the sample space
and assign this number to this
outcome.
Value of the Random Variable X
Possible Outcomes
(number of defective cellphones)
NNN 0
NND 1
NDN 1
DNN 1
NDD 2
DND 2
DDN 2
DDD 3
Therefore, the possible values of the
random variables X are 0, 1, 2, and 3.
RANDOM
VARIABLE
STEPS
1. Determine the sample space.
STEPS
1. Determine the sample space.
2. Count the number of blue balls in each
outcome in the sample space and assign this
number to this outcome.
TWO TYPES OF RANDOM VARIABLES
Random Variables
µ = ∑[X • P(X)]
Con’t
STEPS
4. Subtract the mean from each value of the
random variable X.
5. Square the results obtained in Step 4.
6. Multiply the results obtained in Step 5 by
the corresponding probability.
7. Get the sum of the results obtained in Step
6.
The
8. Get theresult is the
square value
root of the
of the variance.
variance to get
the standard deviation.
FORMULA
To get the variance,
𝜎 𝟐 = Σ[(𝑋 − 𝜇)2 • 𝑃 𝑋 ]
𝜎= Σ[(𝑋 − 𝜇)2 • 𝑃 𝑋 ]
Example 1
SURGERY PATIENTS
The probabilities that a surgeon
operates on 3, 4, 5, 6 or 7 patients in a
day are 0.15, 0.10, 0.20, 0.25, and 0.30,
respectively.
a. Find the average number of patients
that a surgeon operates on a day.
b. Compute the variance and standard
deviation of the probability distribution.