37 - Ex 8C Discrete Random Variables
37 - Ex 8C Discrete Random Variables
Objective
Success
Criteria
At the end of the lesson sequence, I will be able to:
3.3.1 develop the concepts of a discrete random variable and its associated probability function, and
their use in modelling data
3.3.2 use relative frequencies obtained from data to obtain point estimates of probabilities associated
with a discrete random variable
3.3.3 identify uniform discrete random variables and use them to model random phenomena with
equally likely outcomes
3.3.4 examine simple examples of non-uniform discrete random variables
Vocabular
y Discrete Random Variable
- One that can only take countable number of values.
- discrete meaning that each value is separate and distinct
Example:
Given 3 balls are drawn from a jar containing 4 white and 6 black balls with replacement.
Let X be the number of white balls in the sample.
X can take on the values: 0, 1, 2, 3
X is considered a discrete RV
Continuous Random Variable
One that can take any value in an interval of a real number line (e.g. height, weight, time)
Guided
Practice
Suppose that a fair coin is flipped three times. If X is the discrete random variable “number of
heads obtained” complete the following table and hence determine:
a) P(X 1)
b) P(X 2)
X 0 1 2 3
P(X = x) 0.125 0.375 0.375 0.125
All outcomes (either heads or tails) are equally likely – so there is a half chance for each event.
(TTT – 0 heads, HHH – 3 heads)
The table above is called the probability distribution of the random variable X.
One of the key features of a PDF is that the sum of its probabilities must equal to 1.
The probability distribution table could be converted into a cumulative probability table. The
table below shows this, and is called the cumulative distribution of the random variable X.
Notice that we are summing the probabilities from the PDF as we progress through each
value in the CDF, such that the total sum at the end should be 1.
X 0 1 2 3
P(X ≤ x) 1
0.125 0.5 0.875
Guided
Practice
Consider the table shown below,
a) Does this meet the conditions to be a discrete probability distribution? Justify your answer.
b) Use the table to find
X 0 1 2 3
P(X = x) 0.2 0.3 0.1 0.4
a) Yes, each P(x) is between 0 and 1 and the sum of probabilities add up to 1
b)
Guided
Practice
The random variable X represents the number of chocolate chips in a certain brand of biscuits and is known to
have the following probability distribution.
Determine
X 2 3 4 5 6 7
P(X = x) 0.01 0.25 0.4 0.3 0.02 0.02
a)
¿ 0 .4 +0.3 +0.02+0.02=0.74
b)
0 .74 0.74 74
¿ = ¿
1− 𝑃 ( 𝑋 =2) 1− 0.01 99
c)
𝑃 ( 𝑋 =3 ) + 𝑃 ( 𝑋 =4 ) 0.25+ 0.4 65
¿ = ¿
1− 𝑃 ( 𝑋 =2) 1− 0.01 99
Guided
Practice
The probability function for a discrete random variable X is given by:
Complete the following probability distribution for X, giving the probabilities as numbers (i.e. k
should be
X
evaluated). 1 2 3 4 5
P(X = x)
Determine
a) P(X = even)
b) P(X > 3)
c) P(X = 4|X > 3)
Guided
Practice
The probability function for a discrete random variable X is given by:
Complete the following probability distribution for X, giving the probabilities as numbers (i.e. k
should be
X
evaluated). 1 2 3 4 5
P(X = x) 1/3 4/15 1/5 2/15 1/15
To complete the distribution, note that the sum of the probabilities must be 1
Guided
Practice
The probability function for a discrete random variable X is given by:
Complete the following probability distribution for X, giving the probabilities as numbers (i.e. k
should be
X
evaluated). 1 2 3 4 5
P(X = x) 1/3 4/15 1/5 2/15 1/15
Determine a)
a) P(X = Even) b)
b) P(X > 3)
c)
c) P(X = 4|X > 3)
Guided
Practice
A spinner shows the numbers 1, 2, 3
For each spin of this spinner, the probability associated with each outcome, 1, 2, or 3, is as
show in the table
X 1 2 3
P(X = x) 0.5 0.3 k
Determine
a) The value of k 0.5 +0.3+ 𝑘=1 ⇒𝑘=0.2
The Spinner is spun twice, Determine the probability of getting:
b) a 2 and then a 3
c) a 2 and a 3 in any order
d) The same number twice
e) A total of 3 when the 2 numbers obtained are added together
f) A 2 on the second spin given that the 2 spins give a total of 4
Guided
Practice
A spinner shows the numbers 1, 2, 3
For each spin of this spinner, the probability associated with each outcome, 1, 2, or 3, is as
show in the table
X 1 2 3
P(X = x) 0.5 0.3 0.2
If 4 components are randomly chosen, and X is the number of faulty components then if:
𝑛=21 2
𝑛 −1
𝑉𝑎𝑟 ( 𝑥 ) =
12
2
(21) −1 110
𝑉𝑎𝑟 ( 𝑥 )= =
12 3
Independent
Practice
Complete Cambridge Ex 8C