Send Close Add comments: (status displays here)
Got it!  This site "www.robinsnyder.com" uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.  Note: This appears on each machine/browser from which this site is accessed.
Conditional probability
by RS  admin@robinsnyder.com : 1024 x 640


1. Conditional probability
A conditional probability is expressed as and read as the "probability of (event) A (will happen) given (that event) B (has happened).".

In short form, the "probability of A given B".The vertical bar "|" is read as "given that".

2. Examples
What is the probability it rains today given that it rained yesterday?

What is the probability you get an "A" on this exam given that you got an "A" on the last exam?

Notice the time element of probability. We are assuming that event B has happened and want to know about the probability of event A happening.

3. Conditional probability
Sets A | B Sets B | AIn probability and statistics, this is called a conditional probability. One way to trick or deceive people is to use conditional probabilities as if they go both ways equally.

4. Time element
To make the concepts easier to understand, the time element is used.

Strictly speaking, one can do without the time element, but the concepts can become more difficult to understand and/or visualize.

5. Event A
Set AEvent A is some event.

There is a probability, P(A) that event A has happened.

6. Event B
Set BEvent B is another event.

There is a probability, P(B) that event B has happened.

7. Mutually exclusive
Disjoint setsIf the events A and B are mutually exclusive, then they cannot happen together.

8. Collectively exhaustive
If the events A and B are mutually exclusive, then they cannot happen together. That is, together they cover every possible event in the universe of possible events.


9. Non-empty intersection
Sets A and BThe intersection of events A and B is the joint probability.

Conditional probability is concerned with events that can happen together.

Otherwise, the conditional probability is 0.0 (zero).


10. Probability of A given B
Sets B | AAssume that event B has happened. What is the probability that event A has happened? From the diagram, one can see that it is the following. That is, we ignore the part of A that does not intersect with B.

Rearrange to get the following.

11. Probability of B given A
Sets A | BAssume that event A has happened. What is the probability that event B has happened? From the diagram, one can see that it is the following. That is, we ignore the part of B that does not intersect with A.

Rearrange to get the following.

12. Two equations, four unknowns
To use these rules for problem solving, remember that there are 4 unknowns, so that given 3 of the unknowns, you can solve for the remaining unknown. Since it follows that which is Bayes Rule usually written as follows. One each of two sides of three cards, one card is red-red, one is red-black, and one is black-black. If you pick one of the three cards at random and the side facing you is red, what is the probability that the other side is red. Justify your answer.

Assume that the probability of any one person carrying a bomb onto a commercial airliner is 0.0000001. You decide to carry a bomb onto such a plane (you are not caught in your attempt). What is the probability that two people have each carried bombs onto the plane? What is the probability that at least one person has a bomb on the plane?

A radio station picks a number from 1 to 100. Callers then attempt to guess the number. The first caller to guess the number wins a pair of tickets to an upcoming concert. Obviously, no number should be guessed if it is already known to be incorrect. Does it matter what number caller you are as far as your chances of guessing the number? Explain.

13. Independence
Two events are said to be independent if the outcome of each does not depend on the other. Otherwise, the events are said to be dependent.

We know from the multiplication rule (a variant of the conditional probability rule) that

14. Independent events
If two events are independent, then the following hold. That is: The next question is: What is the nature of the dependence?

15. Multiplication rule
Sets A and BFrom the development of the conditional probabilities, the following hold. From the last two expressions, one gets Bayes Rule. Because of this simple development, it has been rediscovered and used often in the past few hundred years. The property of independence goes the other way, in that if the multiplication law holds, then the events must be independent.

Independence is often determined by intuition and not by solving equations and doing number crunching. One application is in experimental testing. If random samples are taken, then the dependence of one event on another event is minimized (effectively nil) and so the shortened form of the multiplication rule applies.

16. Employee performance
Consider employee performance. If the probability that a customer complains about an employee is 0.02 (1 of every 50 customers) then what is the probability that a customer complains about an employee given that another customer has complained about that same employee? That is If the probability is still 0.02, then the events are independent. But if the probability is greater (or smaller), then the events are not independent. Remember that two events A and B are said to be mutually exclusive if they have no sample points in common. That is, the following holds. If one of two possible mutually exclusive events is known to occur, the other is then known not to occur (since, by definition, one of the two events must occur).

If the two events were independent, then there is no connection between the two events.

So, two events with nonzero probabilities cannot be both mutually exclusive and independent.

17. End of page

by RS  admin@robinsnyder.com : 1024 x 640