Professional Documents
Culture Documents
Lec-1 - Introduction To Probability Theory
Lec-1 - Introduction To Probability Theory
Lec-1 - Introduction To Probability Theory
By
Dr. Hem Dutt Joshi
Dr. A K Singh
• Probability Theory
• Stochastic Processes
• Estimation & Hypothesis Testing
• Information Theory
• Statistical Modeling of Noise
2
PROBABILITY THEORY
3
INTRODUCTION
Experiment to describe any process that generates a set of data.
• tossing of a coin. In this experiment, there are only two possible
outcomes, heads or tails.
• launching of a missile and observing of its velocity at specified times.
The outcomes will depend on chance and, therefore, cannot be predicted with
certainty.
RANDOMNESS
4
Probability theory deals with the study of random phenomena, which under
repeated experiments yield different outcomes
The set of all possible outcomes of a statistical experiment is called the sample
space and is represented by the symbol .
Thus, the sample space of possible outcomes when two coins are tossed, may be
written as
1 , 2 , 3 , 4 .
And elements/sample points are
1 ( H , H ), 2 ( H , T ), 3 (T , H ), 4 (T , T )
where H and T correspond to heads and tails, respectively.
5
When an experiment is performed under these conditions, certain elementary
events i occur in different but completely uncertain ways.
We can assign nonnegative number P(i ), as the probability of the event i .
6
Example-1.1:
Consider a box with n white and m red balls. In this case, there are two
elementary outcomes: white ball or red ball. Probability of “selecting a white
n
ball” .
nm
Example-1.2:
If p is a prime number, then every pth number (starting with p) is divisible by p.
Thus among p consecutive integers there is one favorable outcome, and hence
1
P a given number is divisible by a prime p
p
7
The totality of all i , known a priori, constitutes a set ,
the set of all experimental outcomes.
1 , 2 , , k ,
9
Axioms of Probability
(Note that (iii) states that if A and B are mutually exclusive (M.E.) events, the
probability of their union is the sum of their probabilities.)
10
a. Since A A , we have using (ii)
P( A A) P () 1.
But A A , and using (iii),
P( A A) P ( A) P( A) 1 or P( A) 1 P ( A).
b. Similarly, for any A, A .
Hence it follows that P A P ( A) P ( ) .
But A A, and thus P 0.
c. Suppose A and B are not mutually exclusive (M.E.)?
How does one compute P ( A B ) ?
11
To compute the above probability, we should re-express
A B in terms of M.E. sets so that we can make use of
the probability axioms.
A B A AB, A AB
13
Conditional Probability and Independence
In N independent trials, suppose NA, NB, NAB denote the number of
times events A, B and AB occur respectively.
NA NB N AB
P( A) , P( B) , P( AB) .
N N N
Among the NA occurrences of A, only NAB of them are also found
among the NB occurrences of B.
N AB N AB / N P ( AB)
NB NB / N P( B )
14
Properties of Conditional Probability:
a. If B A, AB B, and
P ( AB) P ( B )
P( A | B) 1
P( B) P( B)
since if B A, then occurrence of B implies automatic
occurrence of the event A. Example: dice tossing experiment
A {outcome is even}, B={outcome is 2},
Then B A, and P( A | B ) 1.
b. If A B, AB A, and
P ( AB ) P ( A)
P( A | B ) P ( A).
P( B ) P( B)
15
Independence: A and B are said to be independent events,
if
P ( AB ) P ( A) P ( B ).
16
Suppose A and B are independent, then
P ( AB ) P ( A) P ( B )
P( A | B) P ( A).
P( B ) P( B )
Thus if A and B are independent, the event that B has
occurred does not add any more light into the event A.
Example: A box contains 6 white and 4 black balls.
Remove two balls at random without replacement. What
is the probability that the first one is white and the second
one is black?
Let W1 = “first ball removed is white”
B2 = “second ball removed is black”
17
We need P(W1 B2 ) ? We have W1 B2 W1B2 B2W1.
Using the conditional probability rule,
P (W1B2 ) P ( B2W1 ) P ( B2 | W1 ) P (W1 ).
But
6 6 3
P (W1 ) ,
6 4 10 5
and
4 4
P ( B2 | W1 ) ,
54 9
and hence
5 4 20
P (W1B2 ) 0.25.
9 9 81
18
Are the events W1 and B2 independent? Our common sense
says No. To verify this we need to compute P(B2). Of course
the fate of the second ball very much depends on that of the
first ball. The first ball has two options: W1 = “first ball is
white” or B1= “first ball is black”. Note that W1 B1 ,
W1 B1 .
and Hence W1 together with B1 form a partition.
Thus
P ( B2 ) P ( B2 | W1 ) P (W1 ) P ( B2 | R1 ) P ( B1 )
4 3 3 4 4 3 1 2 42 2
,
5 4 5 6 3 10 9 5 3 5 15 5
and
2 3 20
P ( B2 ) P (W1 ) P ( B2W1 ) .
5 5 81
As expected, the events W1 and B2 are dependent. 19
P( AB )
P( A | B ) ,
P( B )
From,
P ( AB) P ( A | B ) P ( B ).
Similarly,
P ( BA) P ( AB )
P ( B | A) ,
P ( A) P ( A)
or
P ( AB ) P ( B | A) P ( A).
P ( A | B ) P ( B ) P ( B | A) P ( A).
or
P ( B | A)
P( A | B ) P ( A) (1.4)
P( B )
Equation (1.4) is known as Bayes’ theorem.
20
P ( B | A)
P( A | B ) P ( A)
P( B )
21
Example: Two boxes B1 and B2 contain 100 and 200 light
bulbs respectively. The first box (B1) has 15 defective bulbs
and the second 5. Suppose a box is selected at random and
one bulb is picked out.
(a) What is the probability that it is defective?
Solution: Note that box B1 has 85 good and 15 defective
bulbs. Similarly box B2 has 195 good and 5 defective
bulbs. Let D = “Defective bulb is picked out”.
Then
15 5
P ( D | B1 ) 0.15, P ( D | B2 ) 0.025.
100 200
22
Since a box is selected at random, they are equally likely.
1
P ( B1 ) P ( B2 ) .
2
Thus B1 and B2 form a partition
P ( D ) P ( D | B1 ) P ( B1 ) P ( D | B2 ) P ( B2 )
1 1
0.15 0.025 0.0875.
2 2
Thus, there is 8.75% probability that a bulb picked at
random is defective.
23
(b) Suppose we test the bulb and it is found to be defective.
What is the probability that it came from box-1? P( B1 | D ) ?
P ( D | B1 ) P ( B1 ) 0.15 1 / 2
P ( B1 | D ) 0.8571. (1.5)
P( D) 0.0875
Notice that initially P ( B1 ) 0.5; then we picked out a box
at random and tested a bulb that turned out to be defective.
Can this information shed some light about the fact that we
might have picked up box 1?
From (1.5), P ( B1 | D) 0.857 0.5, and indeed it is more
likely at this point that we must have chosen box 1 in favor
of box 2. (Recall box1 has six times more defective bulbs
compared to box2). 24
Reference
• Athanasios Papoulis, “Probability, Random Variables, and Stochastic
Processes,” 3rd edition, McGraw Hill Publication.