2 Basic Probability
2 Basic Probability
8.1 INTRODUCTION
Life is full of uncertainties. ‘Probably’, ‘likely’, ‘possibly’, ‘chance’ etc. is some of the most
commonly used terms in our day-to-day conversation. All these terms more or less convey
the same sense - “the situation under consideration is uncertain and commenting on the
256
future with certainty is impossible”. Decision-making in such areas is facilitated through
formal and precise expressions for the uncertainties involved. For example, product demand
is uncertain but study of demand spelled out in a form amenable for analysis may go a long to
help analyze, and facilitate decisions on sales planning and inventory management.
Intuitively, we see that if there is a high chance of a high demand in the coming year, we may
decide to stock more. We may also take some decisions regarding the price increase, reducing
sales expenses etc. to manage the demand. However, in order to make such decisions, we
need to quantify the chances of different quantities of demand in the coming year. Probability
theory provides us with the ways and means to quantify the uncertainties involved in such
situations.
Since uncertainty is an integral part of human life, people have always been interested -
Having its origin associated with gamblers, the theory of probability today is an indispensable
tool in the analysis of situations involving uncertainty. It forms the basis for inferential
statistics as well as for other fields that require quantitative assessments of chance
occurrences, such as quality control, management decision analysis, and almost all areas in
In order that we are able to compute it, a proper understanding of certain basic concepts in
probability theory is required. These concepts are an experiment, a sample space, and an
event.
257
8.2.1 EXPERIMENT
An experiment is a process that leads to one of several possible outcomes. An
The term experiment is used in probability theory in a much broader sense than in physics or
chemistry. Any action, whether it is the drawing a card out of a deck of 52 cards, or reading
launching of a new product in the market, constitute an experiment in the probability theory
terminology.
For example, the product we are measuring may turn out to be undersize or right size or
oversize, and we are not certain which way it will be when we measure it. Similarly,
launching a new product involves uncertain outcome of meeting with a success or failure in
the market.
So each outcome is visualized as a sample point in the sample space. The sample spaces for
258
Launching of a New Product {success, failure}
8.2.3 EVENT
An event, in probability theory, constitutes one or more possible outcomes of an experiment.
that the event occurs if the experiment gives rise to a basic outcome belonging
to the event.
For the experiment of drawing a card, we may obtain different events A, B, and C like:
In the first case, out of the 52 sample points that constitute the sample space, only one sample
point or outcome defines the event, whereas the number of outcomes used in the second and
mainly to cater to the three different types of situations under which probability measures are
normally required. We will study these approaches with the help of examples of distinct types
of experiments.
Consider the following situations marked by three distinct types of experiments. The events
that we are interested in, within these experiments, are also given.
Situation I
Experiment : Drawing a Card Out of a Deck of 52 Cards
Event A : On any draw, a king is there
Situation II
Experiment : Administering a Taste Test for a New Soup
Event B : A consumer likes the taste
Situation III
259
Experiment : Commissioning a Solar Power Plant
Event C : The plant turns out to be a successful venture
The first situation is characterized by the fact that for a given experiment we have a sample
space with equally likely basic outcomes. When a card is drawn out of a well-shuffled deck,
every one of the cards (the basic outcomes) is as likely to occur as any other. This type of
situations, marked by the presence of "equally likely" outcomes, gave rise to the Classical
defined as the relative size of the event with respect to the size of the sample space. Since
there are 4 kings and there are 52 cards, the size of A is 4 and the size of the sample space is
The rule we use in computing probabilities, assuming equal likelihood of all basic outcomes,
is as follows:
n( A)
P(A) = …………(8-1)
N (S )
If we try to apply the classical definition of probability in the second experiment, we find that
we cannot say that consumers will equally like the taste of the soup. Moreover, we do not
know as to how many persons have been tested. This implies that we should have the past
data on people who were administered the soup and the number that liked the taste. In the
absence of past data, we have to undertake an experiment, where we administer the taste test
260
The Relative Frequency Approach is used to compute probability in such cases. As per this
frequency of an event in a very large number of trials. In other words, the probability of
occurrence of an event is the ratio of the number of times the event occurs to the total number
n
P(B) = …………(8-2)
N
It is appreciated in this approach that, in order to take such a measure, we should have the
soup tested for a large number of people. In other words, the total number of trials in the
The third situation seems apparently similar to the second one. We may be tempted here to
apply the Relative Frequency Approach. We may calculate the probability of the event that
the venture is a success as the ratio of number of successful ventures to the total number of
such ventures undertaken i.e. the relative frequency of successes will be a measure of the
probability.
In practice, a solar power plant being a relatively new development involving the latest
technology, past experiences are not available. Experimentation is also ruled out because of
high cost and time involved, unlike the taste testing situation. In such cases, the only way out
is the Subjective Approach to probability. In this approach, we try to assess the probability
from our own experiences. We may bring in any information to assess this. In the situation
261
cited, we may, perhaps, look into the performance of the commissioning authority in other
Therefore the Subjective Approach involves personal judgment, information, intuition, and
recovery and an expert assessing the probability of success of a merger offer are both making
a personal judgment based upon what they know and feel about the situation. The area of
subjective probability - which is relatively new, having been first developed in the 1930s - is
somewhat controversial. One person's subjective probability may very well be different from
another person's subjective probability of the same event. We may note here that since the
assessment is a purely subjective one, it will vary from person to person and, therefore,
situations. So these approaches are not contradictory to one another. In fact, these
complement each other in the sense that where one fails, the other becomes applicable. These
occurrence of an event. However, in contrast to the Subjective measure of the third approach,
the first two approaches - Classical and Relative Frequency - provide an objective measure
We can bring out the commonality between the Classical Approach and the Relative
Frequency Approach with the help of an example. Let us assume that we are interested in
finding out the chances of getting a head in the toss of a coin. By now, you would have come
up with the answer by the Classical Approach, using the argument, that there are two
outcomes, heads and tails, which are equally likely. Hence, given that a head can occur only
once, the probability is ½ : Consider the following alternative line of argument, where the
262
probability can be estimated using the Relative Frequency Approach. If we toss the coin for a
sufficiently large number of times and note down the number of times the head occurs, the
proportion of times that a head occurs will give us the required probability.
Thus, given our definition of the approaches, we find both the arguments to be valid. This
brings out, in a way, the commonality between the Relative Frequency and the Classical
Approach. The difference, however, is that the probability computed by using the Relative
apriori that the chances are ½ , based on our assumption of "equally likely" outcomes.
Example 8-1
A fair coin is tossed twice. Find the probabilities of the following events:
Solution: Being a Two-Trial Coin Tossing Experiment, it gives rise to the following On = 2n
HH HT TH TT
263
Thus, for the sample space N(S) = 4
We can use the Classical Approach to find out the required probabilities.
n(A) = 1 { HH }
n( A)
P(A) =
N (S )
1
=
4
n(B) = 2 { HT, TH }
n(B )
P(B) =
N (S )
2
=
4
1
=
2
n( A)
P(C) =
N (S )
4
=
4
=1
n(D) = 0
264
So the required probability
n(D )
P(D) =
N (S )
0
=
4
=0
Example 8-2
A newspaper boy wants to find out the chances that on any day he will be able to sell more
than 90 copies of The Times of India. From his dairy where he recorded the daily sales of the
last year, he finds out that out of 365 days, on 75 days he had sold 80 copies, on 144 days he
had sold 85 copies, on 62 days he had sold 95 copies and on 84 days he had sold 100 copies
of The Times of India. Find out the required probability for the newspaper boy.
Thus, the number of days when his sales were more than 90 = (62 + 84) days = 146 days
n
P(Sales > 90) =
N
146
=
365
= 0.4
265
8.3.2 Probability Axioms
All the three approaches to probability theory share the same basic axioms. These axioms are
(a) The probability of an event A, written as P(A), must be a number between zero
and one, both values inclusive. Thus
0 ≤ P(A) ≤ 1 …………(8-3)
(b) The probability of occurrence of one or the other of all possible events is equal
to one. As S denotes the sample space or the set of all possible events, we
write
P(S) = 1. …………(8-4)
If two or more events together define the total sample space, the events are said to be
collectively exhaustive.
Given the above axioms, we may now define probability as a function, which assigns
probability value P to each sample point of an experiment abiding by the above axioms.
266
8.3.3 Interpretation of a Probability
From our discussion so far, we can give a general definition of probability:
We have also seen that 0 and 1, both values inclusive, sets the range of values that the proba-
When an event cannot occur (impossible event), its probability is zero. The probability of the
empty set is zero: P(Φ) = 0. In a deck where half the cards are red and half are black, the
probability of drawing a green card is zero because the set corresponding to that event is the
Events that are certain to occur have probability 1.00. The probability of the entire sample
space S is equal to 1.00: P(S) = 1.00. If we draw a card out of a deck, 1 of the 52 cards in the
deck will certainly be drawn, and so the probability of the sample space, the set of all 52
Within the range of values 0 to 1, the greater the probability, the more confidence we have in
the occurrence of the event in question. A probability of 0.95 implies a very high confidence
in the occurrence of the event. A probability of 0.80 implies a high confidence. When the
probability is 0.5, the event is as likely to occur as it is not to occur. When the probability is
0.2, the event is not very likely to occur. When we assign a probability of 0.05, we believe
the event is unlikely to occur, and so on. Figure 8-2 is an informal aid in interpreting
probability.
267
Figure 8-2 Interpretation of a Probability
Note that probability is a measure that goes from 0 to 1. In everyday conversation we often
describe probability in less formal terms. For example, people sometimes talk about odds. If
the odds are 1 to 1, the probability is 1 1 ; if the odds are 1 to 2, the probability is
i .e .
1 + 1 2
were relatively simple, so that direct application of the definition of probability could be used
for computation. Quite often, we are interested in the probability of occurrence of more
complex events. Consider for example, that you want to find the probability that a king or a
club will occur in a draw from a deck of 52 cards. Similarly, on examining couples with two
children, if one child is known as a boy, you may be interested in the probability of the event
of both the children being boys. These two situations, we find, are not as simple as those
discussed in the earlier section. As a sequel to the theoretical development in the field of
probability, certain results are available which help us in computing probabilities in such
Theorem) allows us to write the probability of the union of two events in terms of the
Consider two events A and B defined over the sample space S, as shone in Figure 8-3
268
Figure 8-3 Two Overlapping Events A and B
We may define
n( A ∪ B )
P(A ∪ B) =
N (S )
n( A) + n(B ) − n( A ∩ B )
=
N (S )
n( A) n(B ) n( A ∩ B )
= + −
N (S ) N (S ) N (S )
= P ( A) + P (B ) − P ( A ∩ B )
P ( A ∪ B ) = P ( A) + P (B ) − P ( A ∩ B ) …………(8-5)
The probability of the intersection of two events P ( A ∩ B ) is called their joint probability.
The meaning of this rule is very simple and intuitive: When we add the probabilities of A and
measuring the relative size of A within the sample space and once when doing this with B.
Since the relative size, or probability, of the intersection of the two sets is counted twice, we
subtract it once so that we are left with the true probability of the union of the two events.
The rule of unions is especially useful when we do not have the sample space for the union of
Example 8-3
A card is drawn from a well-shuffled pack of playing cards. Find the probability that the card
269
Solution: Let A be the event that a club is drawn and B the event that a king is drawn. Then,
P ( A ∪ B ) = P ( A) + P (B ) − P ( A ∩ B )
= 16/52
= 4/13
Example 8-4
Suppose your chance of being offered a certain job is 0.45, your probability of getting
another job is 0.55, and your probability of being offered both jobs is 0.30. What is the
probability that you will be offered at least one of the two jobs?
Solution: Let A be the event that the first job is offered and B the event that the second job is
offered. Then,
P ( A ) = 0 . 45 P ( B ) = 0 . 55 and P ( A ∩ B ) = 0 . 30
P ( A ∪ B ) = P ( A) + P (B ) − P ( A ∩ B )
= 0.70
270
For mutually exclusive events, the probability of the intersection of the events is zero. This is
so because the intersection of the events is the empty set, and we know that the probability of
P(A ∩ B) = 0 …………(8.6)
This fact gives us a special rule for unions of mutually exclusive events. Since the probability
of the intersection of the two events is zero, there is no need to subtract P ( A ∩ B ) when
P ( A ∪ B ) = P ( A) + P (B ) …………(8.7)
This is not really a new rule since we can always use the rule of unions for the union of two
events: If the events happen to be mutually exclusive, we subtract zero as the probability of
the intersection.
Example 8-5
A card is drawn from a well-shuffled pack of playing cards. Find the probability that the card
Solution: Let A be the event that a king is drawn and B the event that a queen is drawn. Since
P ( A ∪ B ) = P ( A) + P (B )
= 4/52 + 4/52
= 8/52
= 2/13
We can extend the Rule of Unions to three (or more) events. Let A, B, and C be the three
271
P(A ∪ B ∪ C ) =
P ( A ) + P ( B ) + P (C ) − P ( A ∩ B ) − P ( B ∩ C ) − P ( A ∩ C ) + P ( A ∩ B ∩ C )
…………(8.8)
When the three events are mutually exclusive (see Figure 8-6), the Rule of Unions is
P ( A ∪ B ∪ C ) = P ( A ) + P ( B ) + P (C ) …………(8.9)
Example 8-6
A card is drawn from a well-shuffled pack of playing cards. Find the probability that the card
drawn is
Solution: (a) Let A be the event that a heart is drawn, B the event that an honour is drawn
n( A ∩ B ) = 5 n(B ∩ C ) = 4 n( A ∩ C ) = 1
and n( A ∩ B ∩ C ) = 1
272
The required probability (using Eq. (8.8) is
= 28/52
= 7/13
(b) Let A be the event that an ace is drawn, B the event that a king is drawn and C the
Since A, B and C are mutually exclusive events, the required probability (using Eq. (8.9) is
= 12/52
= 3/13
the probability of the original event. Consider event A defined over the sample space S. The
complement of set A, denoted by A , is a subset, which contains all outcomes, which do not
In other words A+ A =S
so P(A + A ) = P(S)
or P(A) + P( A ) = 1
or P( A ) = 1 - P(A) …………(8.10)
273
Eq. (8.10) is our Rule of Complements. As a simple example, if the probability of rain
tomorrow is 0.3, then the probability of no rain tomorrow must be 1 - 0.3 = 0.7. If the
probability of drawing a king is 4/52, then the probability of the drawn card's not being a
Example 8-7
Find the probability of the event of getting a total of less than 12 in the experiment of
Then we have,
The event of getting a total of less than 12 is the complement of A, so the required probability
is
P( A ) = 1 - P(A)
P( A ) = 1 – 1/36
P( A ) = 35/36
where the probability of an event A is influenced by the information that another event B has
occurred. Thus, the probability we would give the event "Xerox stock price will go up
tomorrow" depends on what we know about the company and its performance; the
probability is conditional upon our information set. If we know much about the company, we
may assign a different probability to the event than if we know little about the company. We
may define the probability of event A conditional upon the occurrence of event B. In this
example, event A may be the event that the stock will go up tomorrow, and event B may be a
274
Consider two events A and B defined over the sample space S, as shown in Figure 8-8
n( A ∩ B )
P(A / B) =
n(B)
n( A ∩ B )
P(A / B) = N
n(B)
N
P(A ∩ B)
P(A / B) = …………(8.11)
P(B)
Therefore, the probability of event A given the occurrence of event B is defined as the
Example 8-8
(a) of the event of getting a total of 9, given that the die has shown up points between
(b) of the event of getting points between 4 and 6 (both inclusive), given that a total
Solution: Let getting a total 9 be the event A and the die showing points between 4 and 6
275
B = {(4,4) (4,5) (4,6) (5,4) (5,5) (5,6) (6,4) (6,5) (6,6)}
So n(A) = 4 n(B) = 9 n( A ∩ B ) = 2
P(A ∩ B)
(a) P(A / B) =
P(B)
2 / 36
P(A / B) =
9 / 36
2
P(A / B) =
9
P (B ∩ A)
(b) P (B / A) =
P ( A)
2 / 36
P (B / A) =
4 / 36
1
P (B / A) =
2
P(A ∩ B)
P(A / B) =
P(B)
P (B ∩ A)
and P (B / A) =
P ( A)
P ( A ∩ B ) = P ( A / B ). P ( B )
and P ( A ∩ B ) = P ( B / A ). P ( A ) …………(8.12)
276
The Product Rule states that the probability that both A and B will occur simultaneously is
equal to the probability that B (or A) will occur multiplied by the conditional probability that
A (or B) will occur, when it is known that B (or A) is certain to occur or has already
occurred.
Example 8-9
A box contains 10 balls out of which 2 are green, 5 are red and 3 are black. If two balls are
drawn at random, one after the other without replacement, from the box. Find the
probabilities that:
(d) the first ball is red and the second one is black
(e) the first ball is green and the second one is red
Solution: (a) P ( G 1 ∩ G 2 ) = P ( G 2 / G 1 ). P ( G 1 )
1 2
= x
9 10
1
=
45
(b) P ( B 1 ∩ B 2 ) = P ( B 2 / B 1 ). P ( B 1 )
2 3
= x
9 10
1
=
15
(c) P ( R 1 ∩ R 2 ) = P ( R 2 / R 1 ). P ( R 1 )
4 5
= x
9 10
2
=
9
(d) P ( R 1 ∩ B 2 ) = P ( B 2 / R 1 ). P ( R 1 )
277
3 5
= x
9 10
1
=
6
(e) P ( G 1 ∩ R 2 ) = P ( R 2 / G 1 ). P ( G 1 )
5 2
= x
9 10
1
=
9
Example 8-10
A consulting firm is bidding for two jobs, one with each of two large multinational
corporations. The company executives estimate that the probability of obtaining the
consulting job with firm A, event A, is 0.45. The executives also feel that if the company
should get the job with firm A, then there is a 0.90 probability that firm B will also give the
company the consulting job. What are the company's chances of getting both jobs?
Solution: We are given P(A) = 0.45. We also know that P(B / A) = 0.90, and we are looking
So P ( A ∩ B ) = P ( B / A ). P ( A )
P ( A ∩ B ) = 0 . 90 x 0 . 45
= 0 . 405
Independent Events
Two events are said to be independent of each other if the occurrence or non-occurrence of
one event in any trial does not affect the occurrence of the other event in any trial. Events A
and B are independent of each other if and only if the following three conditions hold:
P ( A / B ) = P ( A) …………(8.13a)
P (B / A) = P (B ) …………(8.13b)
and P ( A ∩ B ) = P ( A ). P ( B ) …………(8.14)
278
The first two equations have a clear, intuitive appeal. The top equation says that when A and
B are independent of each other, then the probability of A stays the same even when we know
that B has occurred - it is a simple way of saying that knowledge of B tells us nothing about
A when the two events are independent. Similarly, when A and B are independent, then
knowledge that A has occurred gives us absolutely no information about B and its likelihood
of occurring.
The third equation, however, is the most useful in applications. It tells us that when A and B
are independent (and only when they are independent), we can obtain the probability of the
joint occurrence of A and B (i.e. the probability of their intersection) simply by multiplying
the two separate probabilities. This rule is thus called the Product Rule for Independent
Events.
As an example of independent events, consider the following: Suppose I roll a single die.
What is the probability that the number 5 will turn up? The answer is 1/6. Now suppose that I
told you that I just tossed a coin and it turned up heads. What is now the probability that the
die will show the number 5? The answer is unchanged, 1/6, because events of the die and the
coin are independent of each other. We see that P ( 6 / H ) = P ( 6 ) , which is the first rule
above.
The rules for union and intersection of two independent events can be extended to sequences
Intersection Rule
The probability of the intersection of several independent events A1, A2, ……is just the
P ( A1 ∩ A 2 ∩ A 3 ) = P ( A1 ). P ( A 2 ). P ( A 3 )......... …………(8.15)
Union Rule
279
The probability of the union of several independent events A1, A2, ……is given by the
following equation
The union of several events is the event that at least one of the events happens.
Example 8-11
A problem in mathematics is given to five students A, B,C, D and E. Their chances of solving
it are 1/2, 1/3, 1/3, 1/4 and 1/5 respectively. Find the probability that the problem will
(b) be solved
Solution: (a) The problem will not be solved when none of the students solve it. So the
(b) The problem will be solved when at least one of the students solve it. So the required
probability is:
P ( A ∪ B ∪ C ∪ D ∪ E ) = 1 − P ( A ). P ( B ). P ( C ). P ( D ). P ( E )
= 1 − 2 / 15
= 13 / 15
situations. Quite often, whether it is in our personal life or our work life, decision-making is
an ongoing process. Consider for example, a seller of winter garments, who is interested in
the demand of the product. In deciding on the amount he should stock for this winter, he has
280
computed the probability of selling different quantities and has noted that the chance of
selling a large quantity is very high. Accordingly, he has taken the decision to stock a large
quantity of the product. Suppose, when finally the winter comes and the season ends, he
discovers that he is left with a large quantity of stock. Assuming that he is in this business, he
feels that the earlier probability calculation should be updated given the new experience to
Similar to the situation of the seller of winter garment, situations exist where we are
interested in an event on an ongoing basis. Every time some new information is available, we
do revise our odds mentally. This revision of probability with added information is
formalised in probability theory with the help of famous Bayes' Theorem. The theorem,
discovered in 1761 by the English clergyman Thomas Bayes, has had a profound impact on
the development of statistics and is responsible for the emergence of a new philosophy of
science. Bayes himself is said to have been unsure of his extraordinary result, which was
presented to the Royal Society by a friend in 1763 - after Bayes' death. We will first
understand The Law of Total Probability, which is helpful for derivation of Bayes' Theorem.
Consider two events A and B. Whatever may be the relation between the two events, we can
always say that the probability of A is equal to the probability of the intersection of A and B,
P ( A) = P ( A ∩ B ) + P ( A ∩ B )
or P ( A ) = P ( A / B ). P ( B ) + P ( A / B ). P ( B ) …………(8.17)
The sets B and B form a partition of the sample space. A partition of a space is the division
of the sample space into a set of events that are mutually exclusive (disjoint sets) and cover
the whole space. Whatever event B may be, either B or B must occur, but not both. Figure
281
Figure 8-9 Total Probability of Event A
The law of total probability may be extended to more complex situations, where the sample
space X is partitioned into more than two events. Say, we have partition of the space into a
collection of n sets B1, B2,………Bn .The law of total probability in this situation is:
n
P ( A) = ∑
i =1
P ( A ∩ Bi )
n
or P ( A) = ∑
i =1
P ( A / B i ). P ( B i ) …………(8.18)
Figure 8-10 shows the partition of a sample space into five events B1, B2, B3, B4 and B5 ; and
We can demonstrate the rule with a more specific example. Let us define A as the event that
an honour card is drawn out of a deck of 52 cards (the honour cards are the aces, kings,
queens, jacks and 10). Letting H, C, D, and S denote the events that the card drawn is a heart,
club, diamond, or spade, respectively, we find that the probability of an honour card is:
282
Figure 8-11 Total Probability of Event A: An Honour Card
P ( A) = P ( A ∩ H ) + P ( A ∩ C ) + P ( A ∩ D ) + P ( A ∩ S )
= 20/52
= 5/13
which is what we know the probability of an honour card to be just by counting 20 honour
cards out of a total of 52 cards in the deck. The situation is shown in Figure 8-11.
As can be seen from the figure, the event A is the set addition of the intersections of A with
Example 8-12
A market analyst believes that the stock market has a 0.70 probability of going up in the next
year if the economy should do well, and a 0.20 probability of going up if the economy should
not do well during the year. The analyst believes that there is a 0.80 probability that the
economy will do well in the coming year. What is the probability that stock market will go up
next year?
Solution: Let U be the event that the stock market will go and W is the event that the
Then
P (U ) = P (U / W ). P (W ) + P (U / W ). P (W )
= ( 0 . 70 )( 0 . 80 ) + ( 0 . 20 )( 0 . 20 )
= 0 . 56 + 0 . 04
. = 0 . 60
BAYES’ THEOREM
We will now develop the Bayes’ theorem. Bayes' theorem is easily derived from the law of
283
P (B ∩ A)
P (B / A) = …………(8.19)
P ( A)
P ( B ∩ A ) = P ( A ∩ B ) = P ( A / B ). P ( B ) …………(8.20)
P ( A / B ). P ( B )
P (B / A) = …………(8.21)
P ( A)
P ( A ) = P ( A / B ). P ( B ) + P ( A / B ). P ( B )
Substituting this expression for P(A) in the denominator of Eq.(8.21), we have the Bayes’
theorem
P ( A / B ). P ( B )
P (B / A) = …………(8.22)
P ( A / B ). P ( B ) + P ( A / B ). P ( B )
Thus the theorem allows us to reverse the conditionality of events: we can obtain the
As we see from the theorem, the probability of B given A is obtained from the probabilities
The probabilities P(B) and P( B ) are called prior probabilities of the events B and B ; the
probability P(B /A) is called the posterior probability of B. It is possible to write Bayes'
theorem in terms of B and A, thus giving the posterior probability of B , P( B /A). Bayes'
theorem may be viewed as a means of transforming our prior probability of an event B into a
The Bayes' theorem can be extended to a partition of more than two sets. This is done by
using the law of total probability involving a partition in sets B1, B2, ……… Bn .The resulting
284
P ( A / B i ). P ( B i )
P (Bi / A) = n
…………(8.23)
∑ i =1
P ( A / B i ). P ( B i )
The theorem gives the probability of one of the sets in the partition Bi, given the occurrence of
event A.
Example 8-13
An Economist believes that during periods of high economic growth, the Indian Rupee
with probability 0.40; and during periods of low economic growth, the Rupee appreciates
with probability [Link] any period of time the probability of high economic growth is
0.30; the probability of moderate economic growth is 0.50 and the probability of low
economic growth is 0.20. Suppose the Rupee value has been appreciating during the present
period. What is the probability that we are experiencing the period of (a) high, (b) moderate,
Solution: Our partition consists of three events: high economic growth (event H), moderate
economic growth (event M) and low economic growth (event L). The prior probabilities of
Let A be the event that the rupee appreciates. We have the conditional probabilities
By using the Bayes’ theorem we can find out the required probabilities
285
P ( A / H ). P ( H )
P (H / A) =
P ( A / H ). P ( H ) + P ( A / M ). P ( M ) + P ( A / L ). P ( L )
( 0 . 70 )( 0 . 30 )
=
( 0 . 70 )( 0 . 30 ) + ( 0 . 40 )( 0 . 50 ) + ( 0 . 20 )( 0 . 20 )
= 0 . 467
P ( A / M ). P ( M )
P (M / A) =
P ( A / H ). P ( H ) + P ( A / M ). P ( M ) + P ( A / L ). P ( L )
( 0 . 40 )( 0 . 50 )
=
( 0 . 70 )( 0 . 30 ) + ( 0 . 40 )( 0 . 50 ) + ( 0 . 20 )( 0 . 20 )
= 0 . 444
P ( A / L ). P ( L )
P (L / A) =
P ( A / H ). P ( H ) + P ( A / M ). P ( M ) + P ( A / L ). P ( L )
( 0 . 20 )( 0 . 20 )
=
( 0 . 70 )( 0 . 30 ) + ( 0 . 40 )( 0 . 50 ) + ( 0 . 20 )( 0 . 20 )
= 0 . 089
Suppose that a bank has two branches, each branch has two departments, and each
department has four employees. Then there are (2)(2)(4) choices of employees, and the
We may view the choice as done sequentially: First a branch is randomly chosen, then a
department within the branch, and then the employee within the department. This is
286