AP Notes, Outlines, Study Guides, Vocabulary, Practice Exams and more!

Bayes' Rule

Bayes' Rule

If the set of events A1 , A2 , ....., An constitutes a partition of the sample space S, and event B is a subset of S, then

B = B Ç S

= B Ç (A1 È A2 È ......... È An )
= (B
Ç A1 ) È (B Ç A2 ) È ....... È (B Ç An)

As the events A1 , A2 , ......, An are mutually exclusive, then the events (B Ç Ai ), where i Î{1, 2, ...., n }, is also mutually exclusive. Assuming that none of the events A1 , A2 ,....., An is null, i.e. P(Ai ) ¹ 0 , i Î{1, 2,...., n }

P(B) = P(B Ç A1 ) + P(B Ç A2 ) + ....... + P(B ÇAn)

= P(A1 ) P(B | A1 ) + P(A2) P(B | A2) + ....... + P(An ) P(B | An)

From the definition of conditional probability,

4probc17

Thus we have derived Bayes' Rule, which states the following:

Bayes' Rule. If the set of events A1 , A2 ,....., An constitutes a partition of the sample space S, P(Ai ) ¹ 0 , i Î{1, 2,....., n }, and event B is a subset of S, P(B) ¹ 0,

4probc18

EX. A family had plans to go fishing on a Sunday afternoon, but their plans were dependent on the weather at noon Sunday. If it was sunny, then there was a 90 % chance that they would go fishing. If it was cloudy, then the probability that they would go fishing would drop to 50 %. And if it was raining, the chances dropped to 15 %. The weather prediction, which we can assume to be accurate, called for a 10 % chance of rain, a 25 % chance of clouds, and a 65 % chance of sunshine.

Set events

F as the event that the family goes fishing
S as the event that the weather is sunny at Sunday noon
C as the event that the weather is cloudy at Sunday noon
R as the event that the weather is rainy at Sunday noon

P(S) = 0.65, P(C) = 0.25, P(R) = 0.10
Note that P(S) + P(C) + P(R) = 1, and of course S, C and R are mutually exclusive events.

P(F|S) = 0.90, P(F|C) = 0.50, P(F|R) = 0.15
P(F) = P(F|S) P(S) + P(F|C) P(C) + P(F|R) P(R)
= (0.90)(0.65) + (0.50)(0.25) + (0.15)(0.10)
= 0.585 + 0.125 + 0.015
= 0.725

Assuming that the family ends up going fishing, the probability of each type of weather occurring is

P(S|F) = probability of sunny weather, given that the family went fishing.

4probc19

P(S|F) = probability of cloudy weather, given that the family went fishing.

4probc20

P(S|F) = probability of rainy weather, given that the family went fishing.

4probc21

Note that P(S|F) + P(C|F) + P(R|F) = 0.807 + 0.172 + 0.021 = 1.000

 

Subject: 
Subject X2: 

Need Help?

We hope your visit has been a productive one. If you're having any problems, or would like to give some feedback, we'd love to hear from you.

For general help, questions, and suggestions, try our dedicated support forums.

If you need to contact the Course-Notes.Org web experience team, please use our contact form.

Need Notes?

While we strive to provide the most comprehensive notes for as many high school textbooks as possible, there are certainly going to be some that we miss. Drop us a note and let us know which textbooks you need. Be sure to include which edition of the textbook you are using! If we see enough demand, we'll do whatever we can to get those notes up on the site for you!