Docsity

Conditional Probability - Lecture Notes | ECON 500, Study notes of Economics

Partial preview of the text

Download Conditional Probability - Lecture Notes | ECON 500 and more Study notes Economics in PDF only on Docsity!

Conditional Probability

DeÖnition

Given an event B such that P(B) > 0 and any other event A, we deÖne the conditional probability of A given B by

P (AjB) = P(A^ ^ B) P(B)

Simple Multiplication Rule

P(A \ B) = P(B)P (AjB) = P(A)P (BjA)

Conditional Probability

Example

Suppose that a balanced die is tossed once. Use the deÖnition to Önd the probability of a 1, given that an odd number was obtained. DeÖne these events: A : Observe a 1. B : Observe an odd number. We seek the probability of A given that the event B has occurred

P (^) (AjB) = P^ (A^ ^ B) P (B)

P(B) = 1 / 2 , so

P (AjB) = P^ ( PA ^ B) (B)

= 11 //^62 = 13

Conditional Probability and Relative Frequency

Consistency of the deÖnition with the relative frequency concept of probability can be obtained from the following construction. Suppose that an experiment is repeated a large number, N, of times, resulting in

both A and B, A \ B, n 11 times; A and not B, A \ B¯, n 21 times; B and not A, A¯ \ B, n 12 times; and neither A nor B, A¯ \ B¯, n 22 times.

Conditional Probability and Relative Frequency

These results are contained here: A A¯ B n 11 n 12 n 11 + n 12 B^ ¯ n 21 n 22 n 21 + n 22 n 11 + n 21 n 12 + n 22 N

Note that n 11 + n 12 + n 21 + n 22 = N. Then it follows that with large N

P(A) 

n 11 + n 21 N ,^ P(B)^ ^

n 11 + n 12 N ,^ P(A^ [^ B)^ ^

n 11 + n 12 + n 21 N and the conditional probabilities

P(AjB)  n^11 n 11 + n 12

, P(BjA)  n^11 n 11 + n 21

, and P(A \ B)  n^11 N Note that the deÖnitions of P(BjA) and P(AjB) is veriÖed.

Conditional Probability

Example

Then the probability that the ball is red and labeled 1 given that it is red is given by

P(BjA) = P(A^ ^ B) P(A)

1 b+r r b+r

r

This di§ers from the unconditional probability of B, which is given by

P(B) =

b + r

Conditional Probability

Summation Rule

Let B 1 , B 2 ,... , Bn be (pairwise) disjoint events of positive probability whose union is Ω Then A =

[^ n j = 1

(A \ Bj )

The, using the multiplication rule,

P (A) = P

[^ n j = 1

(A \ Bj )

n

j = 1

P (A \ Bj ) (2)

n

j = 1

P(AjBj )P(Bj ),

Bayes Rule

Bayes rule is: P (Bi jA) =

P (AjBi ) P(Bi ) P (A) Now, if B 1 , B 2 ,... , Bn are disjoint events of positive probability whose union is Ω

P (Bi jA) =

P (AjBi ) P(Bi ) ∑nj = 1 P(AjBj )P(Bj )^

Consider the same example as before. First Önd the probability for B 1.

P (B 1 jA) = P^ (Aj PB^1 (^ A)^ P)(B^1 )

2

3

2 3

1 6 2 3

Bayes Rule

Now for B 2.

P (B 2 jA) = P^ (Aj PB^2 (^ A)^ P)(B^2 )

2

3

2 3

1 6 2 3

And Önally for B 3.

P (^) (B 3 jA) = P^ (AjB^3 )^ P(B^3 ) P(A)

=

3

2 3

1 3 2 3

Conditional Probability Given Multiple Events

You get this from:

P (B 1 \ B 2 \ B 3    \ Bn ) = P(Bn jB 1 , B 2 ,    Bn 1 )  P(B 1 \ B 2 \   = P(Bn jB 1 , B 2 ,    Bn 1 )  P(Bn 1 jB 1 , B 2 P(B 1 \ B 2 \    \ Bn 2 ) = ......