Introduction To Probability PPT 1 Final
Introduction To Probability PPT 1 Final
• Examples:
• The toss of coin. The outcomes of this experiment are: Head or Tail. Using set
notation: S = {H, T}.
• Rolling a fair die. There are six possible outcomes of this experiment. These
are: 1, 2, 3, 4, 5, 6. Using set notation: S = {1, 2, 3, 4, 5, 6}.
• Tossing two coins: The outcomes of this experiment are: HH, HT, TH, TT. Using
set notation: S = {HH, HT, TH, TT}
• In example 1 N(S) = 2
• In example 2 N(S) = 6
• In example 3 N(S) = 4
Sample spaces
• Sample spaces can also be represented by (1) Venn
diagrams, (2) two dimensional graphs and (3) Tree
diagrams.
• Venn diagrams
Sample spaces
• Two Dimensional Diagram
Sample space for the experiment of rolling two dice.
Sample spaces
• Tree Diagrams
• Example:
• Toss one die. S = {H, T}
•H
• T
Sample spaces
• Example
• Toss two coins. The tree diagram allows us to represent the
experiment as well as work out the sample space.
Tree Diagrams
A family has three children. Draw a tree diagram to show the possible
outcomes with respect to the number of boys or girls.
Sample spaces
• The above ways of representing a sample space are useful
when the sample space is relatively small. In situations where
the sample space is large other techniques are used to
determine the sample space for experiments. A study of
combinations and permutations may be useful here.
Events
• An event is defined as a subset of the sample space. In other
words an event is a collection of sample points.
• A word on notation
• Capital letters are used to refer to events.
• Example: Event A = {observing an odd number in one roll of
the die} = {1, 3, 5}
• n (A) = number of sample points in event A. In this case n (A) =
3
Events
• Complement of an event
• The complement of an event denoted as the event consists of
all the points in the sample space that are not in the event A.
The symbol is usually read aloud as A bar.
• Example: Experiment – A single roll of a fair die. Let the event
A = {observe an odd number}
• ∴ A = {1, 3,5} and = {2, 4, 6}
• We can put these ides in the Venn diagram which follows:
• A 1 3 2
• 5 4 6
•
S
Events
• Union of two events
• The union of two events A and B is the event that occurs if
either A or B or both occur on a single performance of the
experiment and is denoted as A ⋃ B.
• Note that A ⋃ B is an event which is derived from the two
events A and B. In other words the sample points that belong
to the event (A ⋃ B) are all the different sample points drawn
from the two events A and B. When we are considering the
union of two sets there are three possible ways in which the
events a and the event B are related, as shown below.
Events
• Scenario 1. Union when the two events (sets) are disjoint
sets or sets which have no intersection.
•
• The above diagram represents a die toss experiment. Let A =
{observing an even number} = {2, 4, 6} and B = {observing a
number less than or equal to 4} = {1, 2, 3, 4}
• A ⋂ B = {2,4}
Events
• Scenrio2: Where the intersection is equal to all the elements
of one set or event
• S ⋂ T = { } or empty set.
Three ways of finding the probability of an
event.
• 1. The Classical Approach to Probabilities
• The classical approach of probabilities is based on the
assumption that several outcomes are equally likely. It
depends on logical reasoning.
• Two experiments for which the outcomes are equally likely are:
(i) rolling a fair die and (ii) tossing a balanced coin.
• We ill see later that the probability of any outcome from any
one of these experiments is the same.
Three ways of finding the probability of an
event
• Computing Probabilities: Using this approach the
probability of an event is equal to the number of sample
points in the event, divided by the total number of sample
points in the sample space, S. Thus for an event E, the
probability of the event occurring is given by:
• P (E) =
• If we choose an household
what is the probability that it
will own three vehicles?
P(E) = =
= = 0.1
Three ways of finding the probability
of an event
• 3. The subjective approach to Probability.
• Some events cannot be analysed using the objective approaches
outlined above. The subjective theorist regards probability as a
measure of personal confidence in a particular proposition.
• 0 ≤ P (E) ≤ 1
• P(S) = 1
• P(A) = = 1
Propositions/Rules of Probability
• 3. Addition Rule
There are two versions of the addition rule one for two events that are
mutually exclusive and a general rule which may be used for events which
are mutually exclusive and for those that are not.
•
• 3.1. The Addition rule for Mutually Exclusive Events (Special Addition
Rule)
• Two events are mutually exclusive if they are disjoint, that is if they have no
common sample points. Given two mutually exclusive events, A and B the
probability that A or B will occur is given by P(A ⋃ B). To compute this
probability we use the addition rule.
• P (A B) = P (A) + P (B)
• This rule is also referred to as the special addition rule. Let us use an
example to examine how this rule may be derived.
Propositions/Rules of Probability
• Example 1: Experiment – Roll a fair die.
• S = {1, 2, 3, 4, 5, 6}
A = {observing a number greater than 2} = {3, 4, 5, 6}
B = {observing a number less than 2} = {1}. Find the probability that A or B occurs.
(A ⋃ B) = {1, 3, 4, 5, 6}
1 A 3 4
B AA
5
2
6 S
From the Events and the Venn diagram it is clear that the event (A ⋃ B) is made up of
all the sample points in both events. (A ⋃ B) = {1, 3, 4, 5, 6}.
Therefore we can use the classical approach to compute:
• P(A ⋃ B) = =
• This result may also be computed using the special addition rule:
• P(A ⋃ B) = P(A) + P(B) = 4/6 + 1/6 = 5/6
Propositions/Rules of Probability
• Example 2: Toss two coins. Let event A = {observe one
head} and B = {observe exactly two heads}. Find the
probability of observing at least one head by first counting
sample points and secondly by using the addition rule.
•
• S = {HH, HT, TH, TT} A = {HT, TH} B = {HH}
(A ⋃ B) = {HH, HT, TH}
• P {observing at least one head} = = .
• This approach employs the Classical approach of counting
sample points, since the outcomes of this experiment are
equally likely. We can use the addition rule to compute
the same probability.
Propositions/Rules of Probability
• The second approach uses the addition rule. Since both
events A and B contain sample points with at least one head
and the events are disjoint we can use the special
additional rule to compute the required probability.
• P (A ⋃ B) = P (A) + P(B)
• = + =
• The special addition rule only works when the events are
mutually exclusive. When the events are not mutually
exclusive we need to make an adjustment to cater for this.
Propositions/Rules of Probability
• 3.2. The General Addition Rule.
• This rule may be used for both mutually exclusive events as well as
those that are not mutually exclusive.
• In the case where two events are mutually exclusive if we use this
general addition rule then the last term P (A ⋂ B) i.e equals to zero.
Propositions/Rules of Probability
• The question is why we make this adjustment. Recall from above that
two events are mutually exclusive when there are no common sample
points in the two events, as shown in the diagram below. In this diagram
the events S and T have no common sample points.
• On the other hand two events are not mutually exclusive when there is
a common sample point/s in the two events as shown below.
Propositions/Rules of Probability
• Given B = {1, 2, 3, 4} and A = {2, 4, 6}
• (A ⋃ B) = {1, 2, 3, 4, 6} A ⋂ B = {2, 4}
• Example: Toss a coin and roll a die and combine the results. Let
the event A = {observing an outcome with a number less than or
equal to 3} and B = { observing an outcome with a number
greater than or equal to 3}. Find the probability of observing an
outcome with a number less than or equal to 3 or greater than or
equal to 3, i.e find P(A ⋃ B).
•
• Sample space from this experiment worked out using tree
diagram in the next slide.
Propositions/Rules of Probability
• S = {H1, H2, H3, H4, H5, H6, T1, T2, T3, T4, T5, T6}
• A = { H1, H2, H3, T1, T2, T3}
• B = { H3, H4, H5, H6, T3, T4, T5, T6}
• (A ⋃ B) = {H1, H2, H3, H4, H5, H6, T1, T2, T3, T4, T5, T6}
• (A ⋂ B) = {H3, T3}
• P (A) = = P (B) = =
• P(A ⋂ B) = =
•
• P(A ⋃ B) = = = 1
Propositions/Rules of Probability
• (A ⋃ B) = {H1, H2, H3, H4, H5, H6, T1, T2, T3, T4, T5, T6}
• (A ⋂ B) = {H3, T3}
• P (A) = = P (B) = = P(A ⋂ B) = =
• P(A) = 0
•
Propositions/Rules of Probability
• 5. Complementary Events and their probabilities.
• The complement of an event E is the set of outcomes in the sample space that are
not included in the outcomes of event E. The complement of E is denoted by (read “E
bar”) Bluman p218.
•
•
• Example: Tossing two balanced coins. S = {HH, HT, TH, TT}.
• Let A = {observing at least one head} = { HH, HT, TH} and = {TT}
•
• P{A} = = = 0.75 P( = 0.25
•
• ∴ P(A) = 1 – P( ) = 1 - =
•
• P( ) = 1 - P(A) = 1 - =
•
• P(A) + P( ) = + = 1
•
• We will see later that sometimes it may be easier to compute the probability of an
event if we know the probability of its complement.
Propositions/Rules of Probability
• 6. The Multiplication Rule.
•
• There are two versions of the multiplication rule depending on whether the
events are independent or dependent.
• = x =
Propositions/Rules of Probability
• We see that the probabilities for the different outcomes are computed by multiplying the
probabilities along the branches of the tree.
•
• These examples confirm the special multiplication rule for independent events, since
P(RB) = P(R) x P(B) = x =
EVENTS MUST BE INDEPENDENT
Propositions/Rules of Probability
• Dependent Events
• When the events are dependent we need to adjust the
multiplication formula to make allowance for this.
• The big question is when are events considered to be dependent?
Propositions/Rules of Probability
• Formula.
• Note that we have adjusted the second term on the right hand
side of the formula. That second term is referred to as the
conditional probability of the event B, since once the event A has
occurred, then the probability of the event B needs to be adjusted
given that the event A has occurred.
Propositions/Rules of Probability
• Example 1:, suppose a card is drawn from a deck and not replaced,
and then a second card is drawn. What is the probability of selecting
an ace on the first card and a king on the second card?
•
• Given that there are 52 cards in the pack an there are four aces and
four kings.
•
• P(Ace and King) = x = =
•
• P(A and K) = P(Ace) x P(King|Ace)
Probabilities
RR P(RR) =
RB P(RB) =
BR P(BR) =
BB P(BB) =
1
Propositions/Rules of Probability
Propositions/Rules of Probability
• Conditional Probability:
•
• We have seen above that the general multiplication rule employs the conditional
probability which adjusts the rule to deal with dependent events. The
conditional probability of an event which is represented as P(A|B), gives the
probability of the event given that another event which affects the second event
has already occurred.
•
• The main idea in computing the conditional probability of an event is based on
some additional information that might affect the likelihood of the outcome of
an experiment, so we need to alter the probability of an event of interest.
•
• A probability that reflects such additional knowledge is called the conditional
probability of the event.
•
• The event that occurs first or the additional knowledge reduces the sample space
to one of its subsets. The additional information therefore tells us that we are in
a portion of the sample space rather than being anywhere in the sample space.
Propositions/Rules of Probability
• Example: Roll a die. S = {1, 2, 3, 4, 5, 6}. Let event A = {observing an even number}
= {2, 4, 6} and event B = {observing a number less than or equal to 3} = {1, 2, 3}
•
• P(A) = P(B) =
•
• Note: the probability of A which is 3/6 or ½, is computed without any reference to
the event B.
•
• If we are now told that or given the additional information that the event B
occurred and we are now asked to compute the probability of the event A, then
the additional information that the event B has occurred must be taken into
account. In other words if we are told that the event B has occurred then we are
sure that the one numbers 1, 2 and 3 showed up.
•
• Question : With this additional information we ask the question: Would the
probability of observing an even number on that throw of the die still be equal to
? No. WHY?
Propositions/Rules of Probability
• Let’s look two Venn diagrams will shed light on these questions.
A 1 B
4
2 3
6
• In the first Venn Diagram we assume there is no additional information, so the probabilities are
calculated without such knowledge.
• Once the additional information is provided then it must be taken into consideration when
computing the probability of the event A. Since we are told that the event B occurred, then the
only number in the event A that is possible, given that an even number occurred is the number
2.
•
• Note that the original sample space which contained six sample points is reduced to a subset
containing three sample points as shown in the diagram on the right.
• ∴ P(A|B) =
Propositions/Rules of Probability
• Hence probabilities associated with events defined on the reduced sample space
are called conditional probabilities. We will derive a formula below for conditional
probabilities.
• Example 2: This is a more extended example which will review most of the topics
dealt with so far.
COLLEGE NON-COLLEGE
TOTAL
(C) ()
•
MANAGERIAL (M) 50 20 70
• In this example as shown in the table above, the employees of a firm are cross
classified as managerial or non-managerial personnel, and as college graduates or not.
•
• We will choose a worker at random and compute probabilities for different subsets of
the sample space.
Propositions/Rules of Probability
• Marginal Probabilities
•
• P(M) = = = 0.14
•
NON-
COLLEGE
• P() = = = 0.86 (C)
COLLEGE TOTAL
()
•
MANAGERIAL (M) 50 20 70
• P(C) = = = 0.40
NON-MANAGERIAL () 150 280 430
• TOTAL 200 300 500
• P() = = = 0.60
Propositions/Rules of Probability
• Cell Probabilities (Joint Probabilities)
• P(M ⋂ C) = = = 0.10
•
NON-
COLLEGE
• P(M ⋂ ) = = = 0.04 (C)
COLLEGE
()
TOTAL
•
MANAGERIAL (M) 50 20 70
• P( ⋂ C) = = = 0.30 NON-MANAGERIAL () 150 280 430
• TOTAL 200 300 500
• P( ⋂ ) = = = 0.56
• Notice that the way in which the data is presented makes it easy to get
the numbers to compute the desired probabilities. We can also use the
multiplication rule to compute the cell probabilities which we will do
when we develop our understanding of conditional probabilities
Propositions/Rules of Probability
• Conditional Probabilities
• We have seen in the example above that the conditional probability of an event takes into
consideration that another event occurred and the occurrence of that event has changed the
probability of the second event. We can use the table above to compute conditional
probabilities and below we will give a rule to compute the conditional probability of an event.
• P(M|C) = = 0.25 P(M|) = = 0.0667 COLLEGE
NON-
COLLEGE TOT
• (C)
()
• P(|C) = = 0.75 P(|) = = 0.933
• MANAGERIAL (M) 50 20 70
P(A|B) = = = x = = 0.33
•
P(M|C) = = = x = = 0.25
• On the other hand two events A and B are statistically dependent if:
• P(A) ≠ P(A|B) or P(B) ≠P(B|A) ----------- statistically dependent
END