Chapter 5. Probability and Probability Distributions Part 2
Chapter 5. Probability and Probability Distributions Part 2
•Midterm Exam
• Schedule: April 7, 2022
• Coverage: Chapters 1 to 5
• Mode: Online through Masao LMS
•Final Exam
• June 9-15, 2022
• Coverage: Chapter 6 to last topic
• Mode: Face-to-Face
Basic Concepts
Basic Concepts
Random Experiment – a process that can be repeated
under similar conditions but whose outcome cannot be
predicted with certainty beforehand
Examples:
➢ Tossing a pair of dice
➢ Tossing a fair coin
➢ Selecting 5 cards from a well-shuffled deck of cards
Basic Concepts
Sample Space (S) – collection of all possible outcomes of a
random experiment
Sample Point – an element of the sample space
Example 9. a) How many distinct permutations can be made from the letters of
the word “FRIEND”?
b) How many of these permutations start with the letter F?
Counting Techniques: Permutation
Property 2. The number of permutations of 𝑛 distinct objects taken 𝑟
at a time is
𝑛!
𝑛𝑃𝑟 = .
𝑛−𝑟 !
Example 10. If three prizes (1st, 2nd, 3rd) will be awarded from among
10 equally-qualified students, in how many ways can this be done if
only one set of prizes will be won?
Counting Techniques: Permutation
Property 2. The number of permutations of 𝑛 distinct objects taken 𝑟
at a time is
𝑛!
𝑛𝑃𝑟 = .
𝑛−𝑟 !
Example 11. In how many ways can 2 vacant positions for President
and Vice-President be filled among 6 equally-qualified company
officials?
Counting Techniques: Permutation
Property 3. The number of ways of grouping 𝑛 objects into 𝑘 groups
such that 𝑛1 objects belong to the first group, 𝑛2 objects belong to
the second group, …, 𝑛𝑘 objects belong to the 𝑘 𝑡ℎ group is
𝑛!
𝑛𝑃𝑛1 ,𝑛2 ,…,𝑛𝑘 = .
𝑛1 ! × 𝑛2 ! × ⋯ × 𝑛𝑘 !
Example 12. In how many different ways can 3 red, 4 yellow, and 2
blue bulbs be arranged in a string of Christmas tree lights with 9
sockets.
Counting Techniques: Permutation
Property 4. The number of permutations of 𝑛 distinct objects
arranged in a circle is
(𝑛 − 1)!.
Example 14. How many different combinations can be formed from the letters a, b,
and c if 2 letters are taken at a time?
Example 16. From 5 CMNS, 4 CEd, and 3 CEIT students, a committee consisting of 3
CMNS, 2 CEd, and 1 CAA student is to be formed. In how many ways can this be done
if:
a. any student from these colleges can be included?
b. one particular CEd student must be in the committee?
c. 2 particular CMNS students cannot be in the committee?
Probability
Probability
Measurement of chances.
Probability values can either be in
fractions or in decimals from 0 to 1
or in percentages from 0% to
100%. PROBABILITY
Classical Subjective
Empirical
Probability: Classical
It assumes that all outcomes in the sample space are equally likely
to occur.
Probability: Classical
Probability: Classical
Example 17
Your Turn!
Probability: Classical
Probability: Classical
Example 18
Probability: Classical
Probability: Classical
Probability: Empirical
In empirical probability, one might actually roll a given die 6000 times,
observe the various frequencies, and use these frequencies to determine the
probability of an outcome.
Empirical
Probability: Empirical
Example 19
Empirical
Probability: Empirical
Example 20
Empirical
Probability: Empirical
Example 20
Empirical
Probability: Empirical
Example 21
Empirical
Probability: Empirical
Example 21
Empirical
Probability: Subjective
Example: Empirical
➢ A physician might say that, on the basis of her diagnosis, there is a 30% chance
the patient will need an operation.
➢ A seismologist might say there is an 80% probability that an earthquake will
occur in a certain area.
Probability
Example 22 (Exercise)
Empirical
Probability
Example 23 (Exercise)
Empirical
MATH 110 College statistics and probability
Example 16. From 5 CMNS, 4 CEd, and 3 CEIT students, a committee consisting of 3
CMNS, 2 CEd, and 1 CAA student is to be formed. In how many ways can this be done
if:
a. any student from these colleges can be included?
b. one particular CEd student must be in the committee?
c. 2 particular CMNS students cannot be in the committee?
Some Probability Laws
Some Probability Laws: General Addition Rule
This pertains to the probability of union of events.
𝑃 𝐴∪𝐵
𝑃 𝐴∪𝐵 =𝑃 𝐴 +𝑃 𝐵
Some Probability Laws: General Addition Rule
Example 24. Find the probability of drawing either an ace or a king
in a single draw.
Some Probability Laws: General Addition Rule
Example 25. If we draw one card from a deck of 52 cards, what is the
probability that it will be a club or a face card?
Some Probability Laws: Multiplication Rule
This pertains to the probability of intersection of events.
𝑃(𝐴 ∩ 𝐵)
Are A & B NO
𝑃 𝐴𝐵 = 𝑃 𝐴 ∗ 𝑃 𝐵/𝐴
Independent?
YES Remark: A and B are independent if either
𝑃 𝐵/𝐴 = 𝑃(𝐵) or 𝑃 𝐴/𝐵 = 𝑃 𝐴 .
𝑃 𝐴𝐵 = 𝑃 𝐴 ∗ 𝑃 𝐵 Otherwise, A and B are dependent.
Some Probability Laws: Multiplication Rule
Example 26. A box contains 5 balls wherein 3 are white and 2 are blacks. Now, 2
balls are drawn from a box successively, what is the probability that both balls
drawn are black?
a. consider with replacement (events are independent)
b. consider without replacement (events are dependent)
Some Probability Laws: Multiplication Rule
Example 27. Exposure of a certain fruit fly population to an insecticide has produced 2 kinds
of mutation. 20% have wing mutation, 15% have an eye mutation and 5% have both. A fly is
selected at random.
a. If it has wing mutation, what is the probability that it also has eye mutation?
b. If it has eye mutation, what is the probability that it also has wing mutation?
c. What is the probability that it has at least one mutation?
Some Probability Laws: Multiplication Rule
Example 28. The distribution of Favor and Not Favor responses of CSU students
concerning the compulsory uniform is given in the table below.
Sex favor Not favor
Male 140 460
Female 40 260
If a student is selected at random, what is the probability that a student is:
a. a female?
b. a male or not favor?
c. a male who is in favor?
Some Probability Laws: Multiplication Rule
Example 29.
(Exercise)
Random Variables
Random Variables
X = no. of heads 3 2 2 2 1 1 1 0
(1,1) (1,2), (2,1) (1,3), (3,1) (1,4), (4,1) (1,5), (5,1) (1,6)
(2,2) (2,3), (3,2) (2,4), (4,2) (2,5), (5,2) (2,6), (6,2) (6,1)
Corresponding
(3,3) (3,4), (4,3) (3,5), (5,3) (3,6), (6,3)
Outcomes
(4,4) (4,5), (5,4) (4,6), (6,4)
(5,5) (5,6), (6,5)
(6,6)
Random Variables
Examples:
❑ Weight of a person
❑ Height of a person
❑ Weekly expenses of an average Filipino family
❑ Monthly income of a public school teacher
❑ Estimated monthly saving of a college student
❑ GPA of the students last semester
Discrete Probability Distribution
Example 32. From example 31, where the random variable Y is the
absolute difference of the upturned faces of the two dice, a value of
Y=4 corresponds to four sample points, namely (1,5), (5,1), (2,6) and
(6,2). Since there are 36 sample points, a value of Y=4 is assigned a
probability 4/36.
Y 0 1 2 3 4 5
P(Y=y) 6/36 10/36 8/36 6/36 4/36 2/36
X = no. of heads 3 2 2 2 1 1 1 0
Example 33. From example 30, the random variable of interest X is the
number of heads when a coin is tossed thrice. The possible values of X are 0,
1, 2, 3. The probability distribution of X can be written in tabular form as:
X 0 1 2 3
P(X=x) 1/8 3/8 3/8 1/8
It can also be written in equation as:
1
, 𝑖𝑓 𝑥 =0
8
3
, 𝑖𝑓 𝑥 =1
𝑃 𝑋=𝑥 = 8
3
8 , 𝑖𝑓 𝑥 =2
1
, 𝑖𝑓 𝑥 =3
8
Discrete Probability Distribution
The graph of a discrete probability distribution can be presented using
a histogram.
To draw the histogram, the values of the random variables are used as
the midpoints, and are plotted in the horizontal scale. The height of
the rectangle is the corresponding probability and is drawn in the
vertical scale.
Continuous Probability Distribution
❑ When a random variable is continuous, it takes any of the
infinite number of values in an interval. Thus there is no
meaningful interpretation for assigning a positive
probability for a specific value.
❑ For example, if the random variable of interest X, is the
height of 2nd year college students in CSU, then X can
possibly take on values on the interval 55 to 75 inches.
❑ Unlike the discrete case, the graph of a continuous
probability distribution is not represented by a
histogram.
❑ The graph of a continuous probability distribution is a
bell shape smooth curve as shown in the next slide.
Continuous Probability Distribution
❑ The example trials in the previous slides are called binomial trials
and the whole process is called binomial experiment.
❑ A binomial experiment possesses the following characteristics:
➢ The experiment consists 𝑛 repeated trials.
➢ Each trial results in one of two mutually exclusive outcomes that may be
classified as either a “success” or a “failure”.
➢ The probability of a success remains constant from trial to trial.
➢ The repeated trials are independent.
❑ Out of n trials, an experimenter is usually interested in the number
of trials that resulted in a success.
Binomial Distribution
Definition. The random variable 𝑋 is a binomial random variable if its
mass function is given by
𝑥 𝑛−𝑥
𝑛! 𝑥 𝑞 𝑛−𝑥 𝑓𝑜𝑟 𝑥 = 0,1, … , 𝑛
𝐶 𝑝 𝑞 = 𝑝
𝑃 𝑋=𝑥 =ቐ𝑛 𝑥 𝑥! 𝑛 − 𝑥 !
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
where 𝑛 is the number of trials;
𝑝 is the probability of success;
𝑞 = 1 − 𝑝 is the probability of failure; and
𝑥 is the number of successes
Binomial Distribution
Example 34. Find the probability of obtaining exactly three 2’s if an
ordinary die is tossed 5 times.
1 5
Given: 𝑛 = 5; 𝑝 = ; 𝑞= ; 𝑥=3
6 6
Solution:
3 2 3 2
𝑥 𝑛−𝑥
1 5 1 5
𝑛𝐶𝑥 𝑝 𝑞 = 5𝐶3 = 10 = 0.0322
6 6 6 6
Binomial Distribution
Example 35. Find the probability of getting at least 4 heads in 6 tosses
of a fair coin.
1 1
Given: 𝑛 = 6; 𝑝 = 2; 𝑞 = 2; 𝑥 = 4,5,6
Solution:
4 2 5 1 6 0
1 1 1 1 1 1
6𝐶4 + 6𝐶5 + 6𝐶6
2 2 2 2 2 2
1 4 1 2 1 5 1 1 1 6 1 0
=15 +6 +1
2 2 2 2 2 2
= 𝟎. 𝟑𝟒𝟑𝟖
Binomial Distribution
Example 36. If 20% of the bolts produced by a machine are defective,
determine the probability that out of 4 bolts chosen at random,
a. exactly 3 are defective
b. at least 3 are defective
c. 2 bolts are non-defective
d. at most 1 is non-defective
Binomial Distribution
Example 36. If 20% of the bolts produced by a machine are defective,
determine the probability that out of 4 bolts chosen at random,
a. exactly 3 are defective
Given: 𝑛 = 4 𝑝 = 0.2; 𝑞 = 0.8; 𝑥 = 3
Solution:
𝐶 0.2 3 0.8 1 = 4 0.2 3 0.8 1 = 𝟎. 𝟎𝟐𝟓𝟔
4 3
Binomial Distribution
Example 36. If 20% of the bolts produced by a machine are defective,
determine the probability that out of 4 bolts chosen at random,
b. at least 3 are defective
Given: 𝑛 = 4 𝑝 = 0.2; 𝑞 = 0.8; 𝑥 = 3,4
Solution:
𝐶 0.2 3 0.8 1 + 𝐶 0.2 4 0.8 0
4 3 4 4
= 𝟎. 𝟎𝟐𝟕𝟐
Binomial Distribution
Example 36. If 20% of the bolts produced by a machine are defective,
determine the probability that out of 4 bolts chosen at random,
c. 2 bolts are non-defective
Given: 𝑛 = 4 𝑝 = 0.8; 𝑞 = 0.2; 𝑥 = 2
Solution:
𝐶 0.8 2 0.2 2 = 6 0.8 2 0.2 2 = 𝟎. 𝟏𝟓𝟑𝟔
4 2
Binomial Distribution
Example 36. If 20% of the bolts produced by a machine are defective,
determine the probability that out of 4 bolts chosen at random,
d. at most 1 is non-defective
Given: 𝑛 = 4 𝑝 = 0.8; 𝑞 = 0.2; 𝑥 = 0,1
Solution:
𝐶 0.8 0 0.2 4 + 𝐶 0.8 1 0.2 3
4 0 4 1
0 4 1 3
= 1 0.8 0.2 + 4 0.8 0.2
= 𝟎. 𝟎𝟐𝟕𝟐
Binomial Distribution
Remark: The mean, variance, and standard deviation of a binomially
distributed random variable are respectively given by
𝝁 = 𝒏𝒑; 𝝈𝟐 = 𝒏𝒑𝒒; and 𝝈 = 𝒏𝒑𝒒.
Example 37. The probability that a patient recovers from a rare bloods
disease is 0.40. If 15 people are known to have contracted this
diseases, find the mean and standard deviation of the number of
recoveries among 15 patients.
Solution: 𝜇 = 𝑛𝑝 = 15 0.40 = 𝟔
𝜎 = 𝑛𝑝𝑞 = 15 0.40 0.60 = 1.8974