Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Probability Rules: NOT, Multiplication, and Addition - Prof. Aaron J. Robertson, Study notes of Statistics

An introduction to three fundamental probability rules: the not rule, multiplication rule, and addition rule. These rules aid in solving basic probability problems. The not rule states that the probability of an event is equal to the complement of its probability. The multiplication rule is used to calculate the probability of two or more independent events occurring together. The addition rule is used to find the probability of one or more mutually exclusive events. Examples to illustrate the application of these rules.

Typology: Study notes

Pre 2010

Uploaded on 08/16/2009

koofers-user-vcz
koofers-user-vcz 🇺🇸

3.7

(3)

9 documents

1 / 4

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
BASIC PROBABILITY
Stats 102
A. Robertson
Throughout the lecture below, let Eand Fbe two sets of outcomes of an experiment. We will
develop 3 rules that will aid in solving basic probability problems. These rules are:
The NOT Rule: Prob(E)=1Prob(NOT E)
The Multiplication Rule: Prob(Eand F) = Prob(E)×Prob(F|E).
The Addition Rule: Prob(Eor F) = Prob(E) + Prob(F)Prob(Eand F).
THE NOT RULE
Consider the simple statement: Either Ehappens or Edoes not happen. This statement is always
true, regardless of what Eis. Hence,
Prob(Ehappens) + Prob(Edoes NOT happen) = 1.
Rearranging this equation gives us the NOT Rule:
Prob(E)=1Prob(NOT E).
This is a very simple statement, but can make all the difference when it comes to calculating some
probabilities since sometimes it is easier to calculate what you don’t want to happen than it is to
calculate what you do want to happen.
CALCULATING BASIC PROBABILITY
We will typically assume that all possible outcomes of an experiment are equally likely. That is, no
particular outcome is more likely to occur than others. In this situation, we calculate the probability
of Eby
Prob(E)= number of outcomes in E
number of possible outcomes of the experiment.
We are focusing on this probability since the basic situations of statistics involve sampling and
surveying. These are done by picking samples at random, which means that all samples have an
equally likely chance of being picked.
CONDITIONAL PROBABILITY
Probabilities can (not must) change if additional information is known. For example, the probability
that Colgate will win its next football game will obviously change if we find out that every player
on Colgate’s football team is sick with the flu. The probabilities we are interested here are called
conditional probabilities. These are probabilities given some information. In math, these look like:
Prob(E|F) and we say “the probability of E given F.” What this is asking for is the probability
that Eoccurs if we know that Fhas occurred.
pf3
pf4

Partial preview of the text

Download Probability Rules: NOT, Multiplication, and Addition - Prof. Aaron J. Robertson and more Study notes Statistics in PDF only on Docsity!

BASIC PROBABILITY

Stats 102 A. Robertson

Throughout the lecture below, let E and F be two sets of outcomes of an experiment. We will develop 3 rules that will aid in solving basic probability problems. These rules are:

  • The NOT Rule: Prob(E) = 1− Prob(NOT E)
  • The Multiplication Rule: Prob(E and F ) = Prob(E) × Prob(F |E).
  • The Addition Rule: Prob(E or F ) = Prob(E) + Prob(F ) − Prob(E and F ).

THE NOT RULE

Consider the simple statement: Either E happens or E does not happen. This statement is always true, regardless of what E is. Hence,

Prob(E happens) + Prob(E does NOT happen) = 1.

Rearranging this equation gives us the NOT Rule:

Prob(E) = 1 − Prob(NOT E).

This is a very simple statement, but can make all the difference when it comes to calculating some probabilities since sometimes it is easier to calculate what you don’t want to happen than it is to calculate what you do want to happen.

CALCULATING BASIC PROBABILITY

We will typically assume that all possible outcomes of an experiment are equally likely. That is, no particular outcome is more likely to occur than others. In this situation, we calculate the probability of E by

Prob(E) =

number of outcomes in E number of possible outcomes of the experiment

We are focusing on this probability since the basic situations of statistics involve sampling and surveying. These are done by picking samples at random, which means that all samples have an equally likely chance of being picked.

CONDITIONAL PROBABILITY

Probabilities can (not must) change if additional information is known. For example, the probability that Colgate will win its next football game will obviously change if we find out that every player on Colgate’s football team is sick with the flu. The probabilities we are interested here are called conditional probabilities. These are probabilities given some information. In math, these look like: Prob(E|F ) and we say “the probability of E given F.” What this is asking for is the probability that E occurs if we know that F has occurred.

Let’s use what we know to find a formula for this probability. Since we are given that E has occurred, the possible outcomes are the number of outcomes in E. And we want: of those outcomes in E, how many of them are in F. In other words, how many are in E and F. Thus,

Prob(F |E) =

number of outcomes in E AND F number of outcomes in E

by the way we calculate basic probability. Now, I can divide the numerator and denominator of this fraction by the same number and not change anything. So, we have

Prob(E|F ) =

(# of outcomes in E AND F )/(total # of possible outcome of the experiment) (# of outcomes in E)/(total # of possible outcome of the experiment)

But this is, in math,

Prob(F |E) =

Prob(E and F ) Prob(E)

MULTIPLICATION RULE

We are now ready to present our second rule. We use this rule to calculate the probability that both E and F occur. Rearranging the previous equation, we have

Prob(E and F ) = Prob(E) × Prob(F |E).

This is the multiplication rule. Before doing some examples, we consider a special case of the Multiplication Rule.

If Prob(F |E) = Prob(E) (and hence, Prob(E|F ) = Prob(E)) we say that E and F are independent. In this case, the multiplication rule becomes

Prob(E and F ) = Prob(E) × Prob(F ).

A few examples are in order.

Example 1. Roll a fair die and flip a fair coin. What is the probability that your roll a •^ and flip

a head? Let E be the outcome that we roll a •^ and let F be the outcome that we flip a head. Then

Prob(E and F ) = Prob(E)× Prob(F |E) = 16 × 12 = 121.

Example 2. Shuffle a deck of 52 cards. What is the probability that the first two cards are aces? Let E be the outcome that the first card is an ace, and F the outcome that the second card is an ace. Then Prob(E and F ) = Prob(E)× Prob(F |E) = 524 × 513.

Remark. The outcomes in Example 1 are independent since Prob(F |E) =Prob(F ), but the out- comes in Example 2 are not independent since Prob(F |E) = 513 while Prob(F ) = 524.

THE ADDITION RULE

Another common probability is in the case when we want either E or F (possibly both) to occur. I.e., we want Prob(E or F ).

SOME EXAMPLES

  1. Pick three cards, without replacement, from a standard deck. What is the probability of getting at least one ace?

Solution. Our outcome E is “getting at least one ace.” Hence, this consists of getting exactly one, exactly two, or exactly three aces. Since we have three seperate cases to count, let’s look and see if the outcome (not E) has fewer cases. Here, we see that (not E) is “not getting at least one ace,” which is the same as “getting no ace.” This is easier to count. From here we use the multiplication principle, with the experiments:

A is “the first card is not an ace” B is “the second card is not an ace” C is “the third card is not an ace”

So we want the prob. of A and B and C. Using the multiplication rule twice we have Prob(A and B and C) = Prob(A) × Prob( B given A) × Prob(C given A and B) = (48/52) × (47/51) × (46/50). But we have counted the experiment (not E), so the answer is 1 − (48/52) × (47/51) × (46/50).

  1. Roll two twenty sided dice; one blue and one red. Find the probability that you roll a blue 5 or that the sum of the two dice is even.

Solution. Let E be the outcome “get a blue 5” and let F be the outcome “the sum is even.” We want Prob(E or F ) so we use the addition rule. First, Prob(E) = 1/20 and Prob(F ) = 1/2. Next, we need to find Prob(E and F ). This means we need the blue die to show 5 and the sum of the two dice to be even. Using the multiplication rule we have Prob(E and F ) = Prob(E) × Prob(F given E) = (1/20) × (1/2), where the 1/2 comes from the fact that only the numbers 1, 3 , 5 , 7 , 9 , 11 , 13 , 15 , 17 , and 19 on the red die will give an even sum when added to the blue 5. Hence, by the addition rule the answer is 1/20 + 1/ 2 − (1/2)(1/20) = 21/40.

  1. A drawer contains 7 different pairs of socks, the pairs being colored red, blue, green, yellow, black, purple, and brown, with the socks all mixed up. You reach in and pick two socks at random. What is the probability that you get a matching pair? What is the probability that you get the brown pair?

Solution. Let E be the outcome of your first pick, and let F be the outcome of your second pick.

We first answer the question: What is the probability that you get a matching pair? Since, we just want a pair (any pair), it does not matter what E is. What matters is that F matches E. So reach in and pick a sock. We now want to reach in and get the same color sock from those remaining. Since there are 13 socks remaining with only one that matches, the probability of a match is 1/13.

Next, we answer the question: What is the probability that you get the brown pair? Here, we have E being the outcome “the first sock is brown” and F being the outcome “the second sock is brown”. We want Prob(E and F ) so we use the multiplication principle. We have Prob(E) = 2/14 = 1/ 7 since two of the fourteen socks are brown. Next, we have Prob(F given E) = 1/13. Hence, the answer is (1/7) × (1/13) = 1/91. You could have answered this in a different way using your answer to the first question. Since the probability of getting a pair is 1/13 and we have seven pairs, then the probability of getting the brown pair given that you have a pair is 1/7. Again, by the multiplication principle we have (1/7) × (1/13) = 1/91.