0% found this document useful (0 votes)
54 views

Chapter 5. Probability and Probability Distributions Part 2

This document discusses key concepts in probability and probability distributions from a college statistics and probability course. It covers basic concepts like sample spaces, events, mutually exclusive events, and counting techniques including the fundamental principle of counting, permutations, and combinations. It also distinguishes between classical, empirical, and subjective approaches to probability. Students are advised that the midterm exam will cover chapters 1 to 5 and the final exam will cover chapters 6 to the last topic.

Uploaded by

piedadqueenie7
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views

Chapter 5. Probability and Probability Distributions Part 2

This document discusses key concepts in probability and probability distributions from a college statistics and probability course. It covers basic concepts like sample spaces, events, mutually exclusive events, and counting techniques including the fundamental principle of counting, permutations, and combinations. It also distinguishes between classical, empirical, and subjective approaches to probability. Students are advised that the midterm exam will cover chapters 1 to 5 and the final exam will cover chapters 6 to the last topic.

Uploaded by

piedadqueenie7
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 82

MATH 110 College statistics and probability

Chapter 5. PROBABILITY AND


PROBABILITY DISTRIBUTIONS
Announcements

•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 1. In a toss of a coin there are two possible


outcomes, a head (H) or a tail (T).
𝑆 = {𝐻, 𝑇}
Example 2. Construct a sample space for the experiment of
tossing two coins.
𝑆 = { 𝐻𝐻, 𝐻𝑇, 𝑇𝐻, 𝑇𝑇}
Basic Concepts
Event – a subset of the sample space whose probability is
defined. We say that an event occurred if the outcome of
the experiment is one of the sample points belonging in the
event; otherwise, the event did not occur.
Impossible Event – the empty set
Sure Event – the sample space
Mutually Exclusive Events – Two events 𝐴 and 𝐵 are
mutually exclusive if they cannot occur simultaneously, that
is, 𝐴 ∩ 𝐵 = ∅.
Basic Concepts
Example 3. Consider an experiment of tossing a die.
a. Determine O, the event that the outcome is an odd number.
b. Determine E, the event that the outcome is an even number.
c. Are events O and E mutually exclusive?
Basic Concepts
Example 4. Consider the experiment of tossing 2 coins. Determine the following:
a. A, the event that at least one head will occur.
b. B, the event that at most 2 heads will occur.
c. Are events A and B mutually exclusive?
Counting Techniques
Counting Techniques: FPC
In many situations, we shall be able to solve probability problems by merely
counting the number of elements that is directly connected with the problem
under consideration, without actually listing each element.
This is done by applying the Fundamental Principle of Counting (FPC):
If an operation can be performed in 𝑛1 ways and if for each of these, a second
operation can be performed in 𝑛2 ways, then the two operations can be
performed together in
𝑛 = 𝑛1 × 𝑛2 ways.

This principle can be extended to three or more operations. To apply this


principle, it is necessary that the processes involved should be identified, as well
as the number of ways in which the processes can be done.
Counting Techniques: FPC
Example 5. Three items are selected at random from a manufacturing process. Each
item is inspected and classified as defective (D) or non-defective (N). Determine the
number of ways this selection can be done.
Counting Techniques: FPC
Example 6. A student has to enroll in Math 1, Physics 10, and Chemistry 1. If there
are 2 sections in Math 1, only 1 section in Physics 10, and 2 sections in Chemistry 1,
how many possible schedules can he make, assuming there is no conflict of
schedule?
Counting Techniques: FPC
Example 7. How many 3-digit numbers can be performed from the digits 3, 4, 8,
and 9 if
a. no digit is repeated?
b. repetition of digits is allowed?
c. repetition of digits is allowed and the number is even?
Counting Techniques: Permutation
A set of objects can be arranged in different ways depending on the number of
objects in the set and the number of objects in a particular arrangement. Each
ordered arrangement of all or part of a set of objects is called a permutation.
Property 1. The number of permutations of 𝑛 distinct objects is 𝑛!.
Example 8. In how many ways can Vic, Joey, Luz and Ann be seated in a row of 4
chairs?

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 13. In how many ways can 6 different varieties of gumamela


be planted in a circle?
Counting Techniques: Combination

In some cases, we are interested in the number of ways


of selecting 𝑟 objects from 𝑛 distinct objects without
regard to order. These selection is called combinations.

As for example, AB and BA are two permutations.


However, these two permutations, AB and BA, are
considered as only one combination.
Counting Techniques: Combination
Combination. For any positive integers 𝑛 and 𝑟 , the number of
combinations of 𝑛 distinct objects taken 𝑟 at a time is
𝑛!
𝑛𝐶𝑟 = .
𝑛−𝑟 !𝑟!

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 15. From 4 mathematicians and 3 statisticians find the number of


committees of size 3 that can be formed with 2 mathematicians and 1 statistician.
Counting Techniques: Combination

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

Classical probability uses sample spaces to determine the numerical


probability that an event will happen.

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

The difference between classical and empirical probability is that classical


probability assumes that certain outcomes are equally likely (such as the outcomes
when a die is rolled), while empirical probability relies on actual experience to
determine the likelihood of outcomes.

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.

It is also known as Relative Frequency Probability


Probability: Empirical
Probability: Empirical

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

Subjective probability uses a probability value based on an educated guess or


estimate, employing opinions and inexact information. This guess is based on the
person’s experience and evaluation of a solution.

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

Chapter 5. PROBABILITY AND


PROBABILITY DISTRIBUTIONS
(Continuation...)
Counting Techniques: Combination

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.

𝑃 𝐴∪𝐵

Are A & B mutually NO


Empirical 𝑃 𝐴 ∪ 𝐵 = 𝑃 𝐴 + 𝑃 𝐵 − 𝑃(𝐴 ∩ 𝐵)
exclusive?
YES

𝑃 𝐴∪𝐵 =𝑃 𝐴 +𝑃 𝐵
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

❑ A random variable is a variable whose values occur by chance.


❑ It is a function whose value is a real number determined by each
element in the sample space.
❑ Capital letters like X, Y, or Z are used to denote a random
variables.
❑ At time, elements of a sample space are not expressed as
numbers.
❑ The use of random variables provides a convenient way of
expressing elements of a sample space as numbers.
Random Variables
Example 30. A coin is tossed 3 times. Let X be the random variable
denoting the number of heads.

Outcomes HHH HHT HTH THH TTH THT HTT TTT

X = no. of heads 3 2 2 2 1 1 1 0

The random variable of interest, X, is used to represent the number of


heads that come up in three tosses of a coin.
The outcome HHH can be numerically expressed as X= 3.
Random Variables
Example 31. A pair of dice is rolled. Let Y be the random variable
denoting the absolute difference of the points on the upturned faces
of the dice.
Y=|Y1-Y2| 0 1 2 3 4 5

(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

❑ Random variables are generally classified


according to the value that they assume.
❑ If a random variable takes only finite number of
values, then it is called a discrete random
variable.
❑ When a variable can take on any value on a
continuous scale, then it is called a continuous
random variable.
Random Variables: Discrete
Examples:
❑ Number of hearts drawn from a deck of cards
❑ Number of heads in 3 tosses of a fair coin
❑ Number of persons in a city in favor of the new
ordinance
❑ Number of barangays who voted for the opposition
candidates
❑ Number of females in a Statistics class
❑ Number of persons whose favorite color is blue
Random Variables: Continuous

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

When a random variable is discrete, its


corresponding probability distribution is called a
discrete probability distribution.

A discrete probability distribution could be an


equation, or a table that lists all the possible values
that a discrete random variable can take on together
with the associated probabilities.
Discrete Probability Distribution
Y=|Y1-Y2| 0 1 2 3 4 5
(1,1)
(2,2) (1,2), (2,1) (1,3), (3,1) (1,4), (4,1) (1,5), (5,1) (1,6)
(3,3) (2,3), (3,2) (2,4), (4,2) (2,5), (5,2) (2,6), (6,2) (6,1)
Corresponding Outcomes
(4,4) (3,4), (4,3) (3,5), (5,3) (3,6), (6,3)
(5,5) (4,5), (5,4) (4,6), (6,4)
(6,6) (5,6), (6,5)

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

Notice that if we sum the probabilities above, the total is equal to 1.


This is one of the important properties of a probability distribution.
Discrete Probability Distribution
Outcomes HHH HHT HTH THH TTH THT HTT TTT

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

❑ To find the probability that a random variable X is contained in the


interval [a,b], we determine the area of the shaded portion below
the curve, above the x-axis and between the lines erected at a and
b.
❑ The total area of the curve is 1.
Probability Distribution: Properties

❑The values (range) of the function are non-


negative.
❑For discrete probability distribution, the sum of the
values of 𝑓(𝑥) is equal to 1.
❑For continuous probability distribution, the total
area of the curve is equal to 1.
Binomial Distribution
Binomial Distribution
❑ The binomial distribution is an example of discrete probability
distribution.
❑ It involves repeated trials where an experimenter is interested
whether a particular trial resulted in an outcome that he/she
desired.
❑ This outcome of interest is mostly referred as the “success”
outcome, otherwise it is called the “failure” outcome.
Example:
➢ Toss of a coin
➢ Vote of a citizen in an election
➢ Student’s answer to a multiple choice item
Binomial 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

= 4 0.2 3 0.8 1 + 1 0.2 4 0.8 0

= 𝟎. 𝟎𝟐𝟕𝟐
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

You might also like