Académique Documents
Professionnel Documents
Culture Documents
Experiment is a process that, when performed, results in one and only one of many observations which
are called outcomes of the experiment.
Sample space (denoted by S) is a collection of all outcomes for an experiment.
The elements of a sample space are called sample points.
Example:
Experiment
Toss a coin once
Roll a die once
Toss a coin twice
Take a test
Select a student
Outcomes
Head, Tail
1,2,3,4,5,6,
HH, HT, TH, TT
Pass, Fail
Male, Female
Sample Space
S = {Head, Tail}
S = {1,2,3,4,5,6}
S = {HH, HT, TH, TT}
S = {Pass, Fail}
S = {Male, Female}
A Venn diagram is a picture that depicts all the possible outcomes for an experiment.
A tree diagram is a picture that represents each outcome by a branch of the tree.
Example 2.1. Draw the Venn and tree diagrams for the experiment of tossing a coin twice.
Solution.
Event
An event is a collection of one or more of the outcomes of an experiment.
Simple event
An event that includes one and only one of the (final) outcomes for an experiment, It is usually denoted
by Ei .
Compound event
Compound event is a collection of more than one outcome for an experiment.
Example 2.2. In a group of people, some are in favor of genetic engineering and others are against it.
Two persons are selected at random from this group and asked whether they are in favor of or against
genetic engineering. How many distinct outcomes are possible? Draw a Venn diagram and a tree
diagram for this experiment. List all the outcomes included in each of the following events and mention
whether they are simple or compound events.
Chapter 2 - 1
(a)
(b)
(c)
Solution.
2.2
Example 2.4. How many lunches consisting of a soup, sandwich, dessert and a drink are possible if we
can select from 4 soups, 3 kinds of sandwiches, 5 desserts and 4 drinks?
Solution.
Chapter 2 - 2
2.2.2 Permutation
A permutation is an arrangement of all or part of a set of objects.
The number of permutations of n distinct objects is n ! .
Example 2.5. How many different arrangements are possible for arranging three letters a, b and c?
Solution.
n!
(n r )!
Example 2.6. Two lottery tickets are drawn from 20 for a first and a second prize. Find the number of
sample points in the space S.
Solution.
Circular permutations
The number of permutations of n distinct objects arranged in a circle is (n 1)! .
The number of distinct permutations of n things of which n1 are of one kind, n 2 of a second kind,, n k
of a kth kind is
n!
.
n1! n2 ! ... nk !
The number of ways of partitioning a set of n objects into r cells with n1 elements in the first cell, n2
elements in the second, and so forth, is
n
n!
=
n1 , n 2 , ..., n r
n1! n 2 ! ... n r !
where n1 + n2 + ... + nr = n .
Example 2.7. In how many ways can 7 scientists be assigned to one triple and two double hotel rooms?
Solution.
Chapter 2 - 3
2.2.3 Combination
A combination is actually a partition with two cells, the one cell containing the r objects selected and the
other cell containing the (n - r) objects that are left.
The number of combinations of n distinct objects taken r at a time is
n
n!
n
Cr =
=
r
r!(n r )!
Example 2.8. From 4 chemists and 3 biologists, find the number of committees that can be formed
consisting of 2 chemists and 1 biologist.
Solution.
2.3
Calculating Probability
Probability is a numerical measure of the likelihood that a specific event will occur (denoted by P)
P( Ei ) = probability that a simple event Ei will occur
P ( A) = probability that a compound event A will occur
P( E i ) = P( E1 ) + P( E 2 ) + ... = 1
Classical Probability
The classical probability rule is applied to compute the probabilities of events for an experiment
in which all outcomes are equally likely (ie. Each outcome in the sample space has the same
probability of occurrence)
If an experiment can result in any one of N different equally likely outcomes, and if exactly n of
these outcomes correspond to event A , then the probability of event A is
n
P ( A) =
N
Chapter 2 - 4
Example 2.9. Find the probability of obtaining an even number in one roll of a fair die.
Solution.
ii.
Example 2.10. Ten of the 500 randomly selected cars manufactured at a certain auto factory are found to
be red in colour. Assuming that the colour of the cars is selected randomly, what is the probability that
the next car manufactured at this auto factory is red?
Solution.
Let n denote the total number of cars in the sample and f the number of red cars in n .
iii.
Subjective Probability
Subjective probability is the probability assigned to an event based on subjective judgment,
experience, information and belief.
Examples
1.
The probability that Carol, who is taking statistics, will earn an A in this course.
The probability that the Dow Jones Industrial Average will be higher at the end of the next
2.
trading day.
3.
The probability that Joe will lose the lawsuit he has filed against his landlord.
2.4
Marginal probability is the probability of a single event without consideration of any other event. It is
also called simple probability.
Conditional probability is the probability that an event will occur given that another event has already
occurred. If A and B are two events, then the conditional probability of A given B is written as P ( A B )
It read as the probability of A given that B has already occurred.
Example 2.11. The following is a two way classification of the responses of 100 researchers whether
they are in favor of or against genetic engineering.
In Favor (F)
Against (A)
Total
Male (M)
15
45
60
Female (Fe)
4
36
40
Total
19
81
100
Suppose one researcher is selected at random, find the probability that the researcher selected is
i.
a male.
ii.
in favor of genetic engineering.
iii.
against to genetic engineering given that this researcher is a female.
iv.
a male given that this researcher is in favor of genetic engineering.
Solution.
Chapter 2 - 6
2.5
Events that cannot occur together are said to be mutually exclusive events.
Example 2.12. Consider the following events for one roll of a die:
A = an even number is observed;
B = an odd number is observed;
C = a number less than 5 is observed
Are events A and B mutually exclusive? Are events A and C mutually exclusive?
Solution.
2.6
Independent Events
Two events are said to be independent if the occurrence of one does not affect the probability of the
occurrence of the other. In other words, A and B are independent events if
or
P ( B A) = P( B)
either P ( A B ) = P( A)
If the occurrence of one event affects the probability of the occurrence of the other event, then the two
events are said to be dependent events.
The two events are dependent if either P ( A B ) P ( A) or P ( B A) P ( B) .
Example 2.13. A box contains a total of 100 CDs that were manufactured on two machines.
Machine I (A)
Machine II (B)
Total
Defective (D)
9
6
15
Good (G)
51
34
85
Solution.
Chapter 2 - 7
Total
60
40
100
2.7
Complimentary events
The complement of event A, denoted by A is the event that includes all the outcomes for an experiment
that are not in A. Therefore, P ( A) + P ( A) = 1 .
Example 2.14. Let A be the event that a person has normotensive diastolic blood-pressure ( DBP )
readings ( DBP < 90 ) and let B be the event that a person has borderline DBP readings ( 90 DBP < 95 ).
Suppose P ( A) = 0.7 , P ( B ) = 0.1 .
a)
Let C be the event that a person has DBP < 95 , find P (C ) .
b)
Let D be the event that a person has DBP 90 , find P (D ) .
Solution.
2.8
Joint Probability
The probability of the intersection of two events is called their joint probability and written as P ( A B ) .
Conditional Probability
If A and B are two events, then P( B | A) =
P ( A B)
P ( A B)
and P( A | B) =
given that P ( A) 0
P( A)
P( B)
and P ( B ) 0 .
Chapter 2 - 8
Example 2.15. A box contains 20 DVDs, 4 of which are defective. If 2 DVDs are selected at random
(without replacement) from this box, what is the probability that both are defective?
Solution.
Example 2.16. The probability that a patient is allergic to penicillin is 0.20. Suppose this drug is
administered to three patients.
a)
Find the probability that all three of them are allergic to it.
b)
Find the probability that at least one of them is not allergic to it.
Solution.
Chapter 2 - 9
2.9
Union of events
Let A and B be two events defined in a sample space. The union of events A and B is the collection of all
outcomes that belong either to A or to B or to both A and B and is denoted by A or B (or A B )
Addition rule
The probability of the union of two events A and B is P ( A B ) = P ( A) + P ( B ) P ( A B ) .
Example 2.18. For the following data, what is the probability that a randomly selected person with
multiple jobs is a male or single?
Single (A)
1562
1960
3522
Male (M)
Female (F)
Total
Married (B)
2675
1758
4433
Total
4237
3718
7955
Solution.
k
i =1
P( Bi A) =
k
i =1
P ( Bi ) P( A | Bi ).
Bayes Rule
If the events B1 , B2 , ..., Bk constitute a partition of the sample space S, where P ( Bi ) 0 for
i = 1, 2, ..., k , then for any event A in S such that P ( A) 0 ,
P( B r A)
P( B r ) P( A | B r )
for r = 1, 2, ..., k
P( B r | A) =
=
P( Bi A)
P ( Bi ) P( A | Bi )
Chapter 2 - 10
Example 2.19. In a certain assembly plant, three machines B1 , B2 , B3 make 30%, 45% and 25%
respectively, of the products. It is known from past experience that 2%, 3% and 2% of the products made
by each machine are defective, respectively. Now, suppose that a finished product is randomly selected.
(a)
What is the probability that it is defective?
(b)
If a product were chosen randomly and found to be defective, what is the probability that it was
made by machine B3 ?
Solution.
Chapter 2 - 11
Example 2.20. According to a report, 7.0% of the population has lung disease. Of those having lung
disease, 90.0% are smokers; of those not having lung disease, 25.3% are smokers. Determine the
probability that a randomly selected smoker has lung disease.
Solution.
Chapter 2 - 12