Send Close Add comments: (status displays here)
Got it!  This site "creationpie.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@creationpie.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
Spain and Spanish
One way to deceive people is to use conditional probabilities as if they go both ways equally.
  • The probability that one speaks Spanish given that one lives in Spain is very high.
  • The probability that one lives in Spain given that one speaks Spanish is very low.

  • Information sign More: Converse fallacy: If A then B does not mean If B then A

    4. Spanish and Spain
    Spain and Spanish Tails-tails
    The probability that someone speaks Spanish given that they live in Spain is very high.

    The probability that someone lives in Spain given that they speak Spanish is very low.

    This idea can be expressed as a decision tree and can be interpreted as the converse fallacy.


    Information sign More: Converse fallacy: If A then B does not mean If B then A
    Information sign More: Bayes Rule: Cancer testing

    5. 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.

    6. Event A
    Set AEvent A is some event.

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

    7. Event B
    Set BEvent B is another event.

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

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

    9. 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.


    10. Non-empty intersection
    Sets A intersect 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).


    11. Probability of A given B
    Sets B given 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.

    12. Probability of B given A
    Sets A given 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.

    13. 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.

    14. 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

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

    16. Multiplication rule
    Sets A intersect 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.

    17. 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. 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.

    18. End of page

    by RS  admin@creationpie.com : 1024 x 640