Difference between revisions of "AP Statistics Curriculum 2007 Prob Rules"
(→Example) |
|||
Line 20: | Line 20: | ||
:<math>P(A | B) ={P(A \cap B) \over P(B)}.</math> | :<math>P(A | B) ={P(A \cap B) \over P(B)}.</math> | ||
− | === | + | ===Examples=== |
+ | ====Contingency table==== | ||
Here is the data on 400 Melanoma (skin cancer) Patients by Type and Site | Here is the data on 400 Melanoma (skin cancer) Patients by Type and Site | ||
<center> | <center> | ||
Line 45: | Line 46: | ||
* What is the probability that for a randomly chosen patient the cancer type is Superficial given that it appears on the Trunk? | * What is the probability that for a randomly chosen patient the cancer type is Superficial given that it appears on the Trunk? | ||
− | === | + | ====Monty Hall Problem==== |
Recall that earlier we discussed the [[AP_Statistics_Curriculum_2007_Prob_Basics#Hands-on_activities | Monty Hall Experiment]]. We will now show why the odds of winning double if we use the swap strategy - that is the probability of a win is 2/3, if each time we switch and choose the last third card. | Recall that earlier we discussed the [[AP_Statistics_Curriculum_2007_Prob_Basics#Hands-on_activities | Monty Hall Experiment]]. We will now show why the odds of winning double if we use the swap strategy - that is the probability of a win is 2/3, if each time we switch and choose the last third card. | ||
Line 52: | Line 53: | ||
<math>P(W) = P(W_1 \cap W_2) = P(W_2 | W_1) P(W_1) = 1 \times {1\over 3} ={1\over 3}</math>, or half the chance in the first (swapping) case. | <math>P(W) = P(W_1 \cap W_2) = P(W_2 | W_1) P(W_1) = 1 \times {1\over 3} ={1\over 3}</math>, or half the chance in the first (swapping) case. | ||
− | === | + | ====Drawing balls without replacement==== |
+ | Suppose we draw 2 balls at random one at a time without replacement from an urn containing 4 black and 3 white balls, otherwise identical. What is the probability that the second ball is black? Sample Spc? | ||
+ | P({2-nd ball is black}) = P({2-nd is black} &{1-st is black}) + P({2-nd is black} &{1-st is white}) = 4/7 x 3/6 + 4/6 x 3/7 = 4/7. | ||
− | === | + | ===Inverting the order of conditioning=== |
− | + | In many practical situations is is beneficial to be able to swap the event of interest and the conditioning event when we are computing probabilities. This can easily be accomplished using this trivial, yet powerful, identity: | |
+ | <center> <math>P(A \cap B) = P(A | B) \times P(B) = P(B | A) \times P(A)</math></center> | ||
− | + | ===Example - inverting conditioning=== | |
+ | Suppose we classify the entire female population into 2 Classes: healthy(NC) controls and cancer patients. If a woman has a positive mammogram result, what is the probability that she has breast cancer? | ||
− | === | + | Suppose we obtain medical Evidence for a subject in terms of the results of her mammogram (imaging) test: positive or negative mammogram . If P(Positive Test) = 0.107, P(Cancer) = 0.1, P(Positive test | Cancer) = 0.8, then we can easily calculate the probability of real interest - what is the chance that the subject has cancer: |
− | + | <center><math>P(Cancer | Positive Test) = {P(Positive Test | Cancer) \times P(Cancer) \over P(Positive Test)}</math> </center> | |
− | + | This equation has 3 known parameters and 1 unknown variable, So, we can solve for P(Cancer | Positive Test) to determine the chance the patient has breast cancer given that her mammogram was positively read. This probability, of course, will significantly influence the treatment action recommended by the physician. | |
− | |||
− | + | ===Statistical Independence=== | |
+ | Events A and B are '''statistically independent''' if knowing whether B has occurred gives no new information about the chances of A occurring, i.e., if P(A | B) = P(A). | ||
− | === | + | Note that if A is independent of B, then B is also independent of A, i.e., P(B | A) = P(B), since <math>P(B|A)={P(B \cup A) \over P(A)} = {P(A|B)P(B) \over P(A)} = P(B)</math>. |
− | + | ||
+ | If A and B are statistically independent, then <math>P(B \cup A) = P(A) \times P(B).</math> | ||
+ | |||
+ | === Multiplication Rule=== | ||
+ | |||
+ | For any two events (whether dependent or independent): | ||
+ | <center><math>P(A \cap B) = P(B|A)P(A) = P(A|B)P(B).</math></center> | ||
+ | |||
+ | In general, for any collection of events: | ||
+ | <center><math>P(A_1 \cap A_2 \cap A_3 \cap \cdots \cap A_n) = P(A_1)P(A_2|A_1)P(A_3|A_1 \cap A_2)P(A_4|A_1 \cap A_2 \cap A_3) \cdots P(A_{n-1}|A_1 \cap A_2 \cap A_3 \cap \cdots \cap A_{n-2})P(A_n|A_1 \cap A_2 \cap A_3 \cap \cdots \cap A_{n-1})</math></center> | ||
+ | |||
+ | ===Law of total probability=== | ||
− | |||
<hr> | <hr> | ||
===References=== | ===References=== | ||
− | * | + | * [http://www.stat.ucla.edu/%7Edinov/courses_students.dir/07/Fall/STAT13.1.dir/STAT13_notes.dir/lecture03.pdf Probability Lecture Notes (PDF)] |
<hr> | <hr> |
Revision as of 00:30, 29 January 2008
Contents
- 1 General Advance-Placement (AP) Statistics Curriculum - Probability Theory Rules
General Advance-Placement (AP) Statistics Curriculum - Probability Theory Rules
Addition Rule
The probability of a union, also called the Inclusion-Exclusion principle allows us to compute probabilities of composite events represented as unions (i.e., sums) of simpler events.
For events A1, ..., An in a probability space (S,P), the probability of the union for n=2 is \[P(A_1\cup A_2)=P(A_1)+P(A_2)-P(A_1\cap A_2),\]
For n=3, \[P(A_1\cup A_2\cup A_3)=P(A_1)+P(A_2)+P(A_3) -P(A_1\cap A_2)-P(A_1\cap A_3)-P(A_2\cap A_3)+P(A_1\cap A_2\cap A_3)\]
In general, for any n, \[P(\bigcup_{i=1}^n A_i) =\sum_{i=1}^n P(A_i) -\sum_{i,j\,:\,i<j}P(A_i\cap A_j) +\sum_{i,j,k\,:\,i<j<k}P(A_i\cap A_j\cap A_k)+ \cdots\cdots\ +(-1)^{j+1} P(\bigcap_{i=1}^j A_i)+ \cdots\cdots\ +(-1)^{n+1} P(\bigcap_{i=1}^n A_i).\]
Conditional Probability
The conditional probability of A occurring given that B occurs is given by \[P(A | B) ={P(A \cap B) \over P(B)}.\]
Examples
Contingency table
Here is the data on 400 Melanoma (skin cancer) Patients by Type and Site
Site | ||||
Type | Head and Neck | Trunk | Extremities | Totals |
Hutchinson's melanomic freckle | 22 | 2 | 10 | 34 |
Superficial | 16 | 54 | 115 | 185 |
Nodular | 19 | 33 | 73 | 125 |
Indeterminant | 11 | 17 | 28 | 56 |
Column Totals | 68 | 106 | 226 | 400 |
- Suppose we select one out of the 400 patients in the study and we want to find the probability that the cancer is on the extremities given that it is of type nodular: P = 73/125 = P(Extremities | Nodular)
- What is the probability that for a randomly chosen patient the cancer type is Superficial given that it appears on the Trunk?
Monty Hall Problem
Recall that earlier we discussed the Monty Hall Experiment. We will now show why the odds of winning double if we use the swap strategy - that is the probability of a win is 2/3, if each time we switch and choose the last third card.
Denote W={Final Win of the Car Price}. Let L1 and W2 represent the events of choosing the donkey (loosing) and the car (winning) at the player's first and second choice, respectively. Then, the chance of winning in the swapping-strategy case is\[P(W) = P(L_1 \cap W_2) = P(W_2 | L_1) P(L_1) = 1 \times {2\over 3} ={2\over 3}\]. If we played using the stay-home strategy, our chance of winning would have been\[P(W) = P(W_1 \cap W_2) = P(W_2 | W_1) P(W_1) = 1 \times {1\over 3} ={1\over 3}\], or half the chance in the first (swapping) case.
Drawing balls without replacement
Suppose we draw 2 balls at random one at a time without replacement from an urn containing 4 black and 3 white balls, otherwise identical. What is the probability that the second ball is black? Sample Spc? P({2-nd ball is black}) = P({2-nd is black} &{1-st is black}) + P({2-nd is black} &{1-st is white}) = 4/7 x 3/6 + 4/6 x 3/7 = 4/7.
Inverting the order of conditioning
In many practical situations is is beneficial to be able to swap the event of interest and the conditioning event when we are computing probabilities. This can easily be accomplished using this trivial, yet powerful, identity:
Example - inverting conditioning
Suppose we classify the entire female population into 2 Classes: healthy(NC) controls and cancer patients. If a woman has a positive mammogram result, what is the probability that she has breast cancer?
Suppose we obtain medical Evidence for a subject in terms of the results of her mammogram (imaging) test: positive or negative mammogram . If P(Positive Test) = 0.107, P(Cancer) = 0.1, P(Positive test | Cancer) = 0.8, then we can easily calculate the probability of real interest - what is the chance that the subject has cancer:
This equation has 3 known parameters and 1 unknown variable, So, we can solve for P(Cancer | Positive Test) to determine the chance the patient has breast cancer given that her mammogram was positively read. This probability, of course, will significantly influence the treatment action recommended by the physician.
Statistical Independence
Events A and B are statistically independent if knowing whether B has occurred gives no new information about the chances of A occurring, i.e., if P(A | B) = P(A).
Note that if A is independent of B, then B is also independent of A, i.e., P(B | A) = P(B), since \(P(B|A)={P(B \cup A) \over P(A)} = {P(A|B)P(B) \over P(A)} = P(B)\).
If A and B are statistically independent, then \(P(B \cup A) = P(A) \times P(B).\)
Multiplication Rule
For any two events (whether dependent or independent):
In general, for any collection of events:
Law of total probability
References
- SOCR Home page: http://www.socr.ucla.edu
Translate this page: