<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.socr.umich.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=ChiccoChou</id>
	<title>SOCR - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.socr.umich.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=ChiccoChou"/>
	<link rel="alternate" type="text/html" href="https://wiki.socr.umich.edu/index.php/Special:Contributions/ChiccoChou"/>
	<updated>2026-06-04T00:50:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.6</generator>
	<entry>
		<id>https://wiki.socr.umich.edu/index.php?title=AP_Statistics_Curriculum_2007_Prob_Rules&amp;diff=10224</id>
		<title>AP Statistics Curriculum 2007 Prob Rules</title>
		<link rel="alternate" type="text/html" href="https://wiki.socr.umich.edu/index.php?title=AP_Statistics_Curriculum_2007_Prob_Rules&amp;diff=10224"/>
		<updated>2010-06-10T19:04:39Z</updated>

		<summary type="html">&lt;p&gt;ChiccoChou: /* Bayesian Rule */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==[[AP_Statistics_Curriculum_2007 | General Advance-Placement (AP) Statistics Curriculum]] - Probability Theory Rules==&lt;br /&gt;
&lt;br /&gt;
=== Addition Rule===&lt;br /&gt;
The probability of a union, also called the [http://en.wikipedia.org/wiki/Inclusion-exclusion_principle Inclusion-Exclusion principle] allows us to compute probabilities of composite events represented as unions (i.e., sums) of simpler events.&lt;br /&gt;
[[Image:500px-Inclusion-exclusion.svg.png|150px|thumbnail|right| [http://upload.wikimedia.org/wikipedia/commons/thumb/4/42/Inclusion-exclusion.svg/180px-Inclusion-exclusion.svg.png Venn Diagrams]]]&lt;br /&gt;
&lt;br /&gt;
For events ''A''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, ..., ''A''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt; in a probability space (S,P), the probability of the union for ''n=2'' is&lt;br /&gt;
:&amp;lt;math&amp;gt;P(A_1\cup A_2)=P(A_1)+P(A_2)-P(A_1\cap A_2),&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For ''n=3'',&lt;br /&gt;
:&amp;lt;math&amp;gt;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)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, for any ''n'',&lt;br /&gt;
:&amp;lt;math&amp;gt;P(\bigcup_{i=1}^n A_i) =\sum_{i=1}^n {P(A_i)}&lt;br /&gt;
-\sum_{i,j\,:\,i&amp;lt;j}{P(A_i\cap A_j)} +\sum_{i,j,k\,:\,i&amp;lt;j&amp;lt;k}{P(A_i\cap A_j\cap A_k)}+ \cdots&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\cdots\ +(-1)^{m+1} \sum_{i_1&amp;lt;i_2&amp;lt; \cdots &amp;lt; i_m}{P(\bigcap_{p=1}^m A_{i_p})}+ \cdots\cdots\  +(-1)^{n+1} P(\bigcap_{i=1}^n A_i).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Conditional Probability===&lt;br /&gt;
The conditional probability of A occurring given that B occurs is  given by&lt;br /&gt;
:&amp;lt;math&amp;gt;P(A | B) ={P(A \cap B) \over P(B)}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* See this [[SOCR_EduMaterials_Activities_BivariateNormalExperiment#Applications_-__Conditional_Probability | demonstration of conditional probability using the SOCR Bivariate Normal Experiment]].&lt;br /&gt;
&lt;br /&gt;
* Also see [[SOCR_EduMaterials_Activities_CoinDieExperiment#Applications:_Conditional_Probability | demonstration of conditional probability using the SOCR Coin-Die Experiment]].&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
====Contingency table====&lt;br /&gt;
Here is the data on 400 Melanoma (skin cancer) Patients by Type and Site				&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center; width:75%&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot;|Type || colspan=&amp;quot;3&amp;quot; align=&amp;quot;center&amp;quot;|Site || rowspan=&amp;quot;2&amp;quot;|Totals&lt;br /&gt;
|-&lt;br /&gt;
| Head and Neck || Trunk || Extremities &lt;br /&gt;
|-&lt;br /&gt;
| Hutchinson's melanomic freckle || 22 || 2 || 10 || 34&lt;br /&gt;
|-&lt;br /&gt;
| Superficial || 16 || 54 || 115 || 185&lt;br /&gt;
|-&lt;br /&gt;
| Nodular || 19 || 33 || 73 || 125&lt;br /&gt;
|-&lt;br /&gt;
| Indeterminant || 11 || 17 || 28 || 56&lt;br /&gt;
|-&lt;br /&gt;
| Column Totals || 68 || 106 || 226 || 400&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 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)&lt;br /&gt;
&lt;br /&gt;
* What is the probability that for a randomly chosen patient the cancer type is Superficial given that it appears on the Trunk?&lt;br /&gt;
&lt;br /&gt;
====Monty Hall Problem====&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Denote W={Final Win of the Car Price}. Let L&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; and W&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; 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:&lt;br /&gt;
&amp;lt;math&amp;gt;P(W) = P(L_1 \cap W_2) = P(W_2 | L_1) P(L_1) = 1 \times {2\over 3} ={2\over 3}&amp;lt;/math&amp;gt;. If we played using the [[AP_Statistics_Curriculum_2007_Prob_Basics#Hands-on_activities | stay-home strategy]], our chance of winning would have been:&lt;br /&gt;
&amp;lt;math&amp;gt;P(W) = P(W_1 \cap W_2) = P(W_2 | W_1) P(W_1) = 1 \times {1\over 3} ={1\over 3}&amp;lt;/math&amp;gt;, or half the chance in the first (swapping) case.&lt;br /&gt;
&lt;br /&gt;
====Drawing balls without replacement====&lt;br /&gt;
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 Space?&lt;br /&gt;
P({2-nd ball is black}) =  P({2-nd is black} &amp;amp;{1-st is black})  +  P({2-nd is black} &amp;amp;{1-st is white}) = 4/7 x 3/6  +  4/6 x 3/7  = 4/7.&lt;br /&gt;
&lt;br /&gt;
===Inverting the order of conditioning===&lt;br /&gt;
In many practical situations it 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:&lt;br /&gt;
&amp;lt;center&amp;gt; &amp;lt;math&amp;gt;P(A \cap B)  = P(A | B) \times  P(B) =  P(B | A) \times P(A)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example - inverting conditioning===&lt;br /&gt;
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? &lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;P(Cancer | Positive Test) = {P(Positive Test | Cancer) \times P(Cancer) \over P(Positive Test)}= {0.8\times 0.1 \over 0.107}&amp;lt;/math&amp;gt; &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===Statistical Independence===&lt;br /&gt;
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).&lt;br /&gt;
 &lt;br /&gt;
Note that if A is independent of B, then B is also independent of A, i.e., P(B | A) = P(B), since &amp;lt;math&amp;gt;P(B|A)={P(B \cap A) \over P(A)} = {P(A|B)P(B) \over P(A)} = P(B)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If A and B are statistically independent, then &amp;lt;math&amp;gt;P(B \cap A) = P(A) \times P(B).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Multiplication Rule===&lt;br /&gt;
&lt;br /&gt;
For any two events (whether dependent or independent):&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;P(A \cap B) = P(B|A)P(A) = P(A|B)P(B).&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, for any collection of events:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;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 &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\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})&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Law of total probability===&lt;br /&gt;
If {&amp;lt;math&amp;gt;A_1, A_2, A_3, \cdots, A_n&amp;lt;/math&amp;gt;} partition the sample space ''S'' (i.e., all events are mutually exclusive and &amp;lt;math&amp;gt;\cup_{i=1}^n {A_i}=S&amp;lt;/math&amp;gt;) then for any event B&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;P(B) = P(B|A_1)P(A_1) + P(B|A_2)P(A_2) + \cdots + P(B|A_n)P(A_n)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:SOCR_EBook_Dinov_Probability_012808_Fig2.jpg|150px|thumbnail|right]]&lt;br /&gt;
&lt;br /&gt;
* Example, if &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;A_2&amp;lt;/math&amp;gt; partition the sample space (think of males and females), then the probability of any event B (e.g., smoker) may be computed by:&lt;br /&gt;
&amp;lt;math&amp;gt;P(B) = P(B|A_1)P(A_1) + P(B|A_2)P(A_2)&amp;lt;/math&amp;gt;. This of course is a simple consequence of the fact that &amp;lt;math&amp;gt;P(B) = P(B\cap S) = P(B \cap (A_1 \cup A_2))&amp;lt;/math&amp;gt;. Therefore,&lt;br /&gt;
&amp;lt;math&amp;gt;P(B)=P((B \cap A_1) \cup (B \cap A_2))= P(B|A_1)P(A_1) + P(B|A_2)P(A_2)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Bayesian Rule===&lt;br /&gt;
If {&amp;lt;math&amp;gt;A_1, A_2, A_3, \cdots, A_n&amp;lt;/math&amp;gt;} partition the sample space ''S'' and A and B are any events (subsets of S), then:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;P(A | B) = {P(B | A) P(A) \over P(B)} = {P(B | A) P(A) \over P(B|A_1)P(A_1) + P(B|A_2)P(A_2) + \cdots + P(B|A_n)P(A_n)}.&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Independence vs. disjointness/mutual-exclusiveness===&lt;br /&gt;
: The events A and B are ''independent'' if P(A|B)=P(A). That is &amp;lt;math&amp;gt;P(A \cap B) = P(A)P(B).&amp;lt;/math&amp;gt;&lt;br /&gt;
: The events C and D are ''disjoint, or mutually-exclusive'', if &amp;lt;math&amp;gt;P(C\cap D) = 0&amp;lt;/math&amp;gt;. That is &amp;lt;math&amp;gt;P(C\cup D)=P(C)+P(D).&amp;lt;/math&amp;gt;&lt;br /&gt;
Mutual-exclusiveness and independence are different concepts. Here are two examples clarifying the differences between these concepts:&lt;br /&gt;
* Suppose we play a [[SOCR_EduMaterials_Activities_CardExperiment | card game]] of ''guessing the color of a randomly drawn card'' from a [[AP_Statistics_Curriculum_2007_Prob_Simul#Poker_Game |standard 52-card deck]]. As there are 2 possible colors (black and red), and given no other information, the chance for correctly guessing the color (e.g., black) is 0.5. However, additional information may or may not be helpful in identifying the card color. For example:&lt;br /&gt;
** If we know that the [[AP_Statistics_Curriculum_2007_Prob_Count#Hands-on_combination_activity |card denomination]] is a king, there are 2 red and 2 black kings, this does '''not''' help us improve our chances of successfully identifying the correct color of the card, P(Red|King)=P(Red), independence.&lt;br /&gt;
** If we know that the suit of the card is hearts, this does help is with correctly identifying the card color (as hearts are red), P(Red|Hearts)=1.0, strong dependence.&lt;br /&gt;
** Notes:&lt;br /&gt;
:: In both cases, the events A={Red} and B={King} and C={Hearts} are '''not''' mutually exclusive (disjoint)!&lt;br /&gt;
:: Events that are mutually exclusive (disjoint) cannot be independent!&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Color_blindness Color blindness] is a sex-linked trait, as many of the genes involved in color vision are on the [http://en.wikipedia.org/wiki/X_chromosome X chromosome]. Color blindness more common in males than in females, as men do not have a second X chromosome to overwrite the chromosome which carries the mutation. If 8% of variants of a given gene are defective (mutated), the probability of a single copy being defective is 8%, but the probability that two (independent) copies are both defective is 0.08 × 0.08 = 0.0064.&lt;br /&gt;
: The events A={Female} and B={Color blind} are not mutually exclusive (females can be color blind), nor they are independent (the rate of color blindness among females is lower). Color blindness prevalence within the 2 genders is P(CB|Male) = 0.08, and P(CB|Female)=0.005, where CB={color blind, one color, a color combination, or another mutation}.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
Suppose a Laboratory blood test is used as evidence for a disease. Assume P(positive Test| Disease) = 0.95, P(positive Test| no Disease)=0.01 and P(Disease) = 0.005. Find P(Disease|positive Test)=?&lt;br /&gt;
&lt;br /&gt;
Denote D = {the test person has the disease}, &amp;lt;math&amp;gt;D^c&amp;lt;/math&amp;gt; = {the test person does not have the disease} and  T = {the test result is positive}. Then &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;P(D | T) = {P(T | D) P(D) \over P(T)} = {P(T | D) P(D) \over P(T|D)P(D) + P(T|D^c)P(D^c)}=&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;={0.95\times 0.005 \over {0.95\times 0.005 +0.01\times 0.995}}=0.193.&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* [[AP_Statistics_Curriculum_2007_Bayesian_Prelim | Bayesian Chapter]]&lt;br /&gt;
&lt;br /&gt;
===[[EBook_Problems_Prob_Rules|Problems]]===&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
* [http://www.stat.ucla.edu/%7Edinov/courses_students.dir/07/Fall/STAT13.1.dir/STAT13_notes.dir/lecture03.pdf Probability Lecture Notes (PDF)]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
* SOCR Home page: http://www.socr.ucla.edu&lt;br /&gt;
&lt;br /&gt;
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=AP_Statistics_Curriculum_2007_Prob_Rules}}&lt;/div&gt;</summary>
		<author><name>ChiccoChou</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.socr.umich.edu/index.php?title=AP_Statistics_Curriculum_2007_Prob_Rules&amp;diff=10223</id>
		<title>AP Statistics Curriculum 2007 Prob Rules</title>
		<link rel="alternate" type="text/html" href="https://wiki.socr.umich.edu/index.php?title=AP_Statistics_Curriculum_2007_Prob_Rules&amp;diff=10223"/>
		<updated>2010-06-10T19:04:12Z</updated>

		<summary type="html">&lt;p&gt;ChiccoChou: /* Law of total probability */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==[[AP_Statistics_Curriculum_2007 | General Advance-Placement (AP) Statistics Curriculum]] - Probability Theory Rules==&lt;br /&gt;
&lt;br /&gt;
=== Addition Rule===&lt;br /&gt;
The probability of a union, also called the [http://en.wikipedia.org/wiki/Inclusion-exclusion_principle Inclusion-Exclusion principle] allows us to compute probabilities of composite events represented as unions (i.e., sums) of simpler events.&lt;br /&gt;
[[Image:500px-Inclusion-exclusion.svg.png|150px|thumbnail|right| [http://upload.wikimedia.org/wikipedia/commons/thumb/4/42/Inclusion-exclusion.svg/180px-Inclusion-exclusion.svg.png Venn Diagrams]]]&lt;br /&gt;
&lt;br /&gt;
For events ''A''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, ..., ''A''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt; in a probability space (S,P), the probability of the union for ''n=2'' is&lt;br /&gt;
:&amp;lt;math&amp;gt;P(A_1\cup A_2)=P(A_1)+P(A_2)-P(A_1\cap A_2),&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For ''n=3'',&lt;br /&gt;
:&amp;lt;math&amp;gt;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)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, for any ''n'',&lt;br /&gt;
:&amp;lt;math&amp;gt;P(\bigcup_{i=1}^n A_i) =\sum_{i=1}^n {P(A_i)}&lt;br /&gt;
-\sum_{i,j\,:\,i&amp;lt;j}{P(A_i\cap A_j)} +\sum_{i,j,k\,:\,i&amp;lt;j&amp;lt;k}{P(A_i\cap A_j\cap A_k)}+ \cdots&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\cdots\ +(-1)^{m+1} \sum_{i_1&amp;lt;i_2&amp;lt; \cdots &amp;lt; i_m}{P(\bigcap_{p=1}^m A_{i_p})}+ \cdots\cdots\  +(-1)^{n+1} P(\bigcap_{i=1}^n A_i).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Conditional Probability===&lt;br /&gt;
The conditional probability of A occurring given that B occurs is  given by&lt;br /&gt;
:&amp;lt;math&amp;gt;P(A | B) ={P(A \cap B) \over P(B)}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* See this [[SOCR_EduMaterials_Activities_BivariateNormalExperiment#Applications_-__Conditional_Probability | demonstration of conditional probability using the SOCR Bivariate Normal Experiment]].&lt;br /&gt;
&lt;br /&gt;
* Also see [[SOCR_EduMaterials_Activities_CoinDieExperiment#Applications:_Conditional_Probability | demonstration of conditional probability using the SOCR Coin-Die Experiment]].&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
====Contingency table====&lt;br /&gt;
Here is the data on 400 Melanoma (skin cancer) Patients by Type and Site				&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center; width:75%&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot;|Type || colspan=&amp;quot;3&amp;quot; align=&amp;quot;center&amp;quot;|Site || rowspan=&amp;quot;2&amp;quot;|Totals&lt;br /&gt;
|-&lt;br /&gt;
| Head and Neck || Trunk || Extremities &lt;br /&gt;
|-&lt;br /&gt;
| Hutchinson's melanomic freckle || 22 || 2 || 10 || 34&lt;br /&gt;
|-&lt;br /&gt;
| Superficial || 16 || 54 || 115 || 185&lt;br /&gt;
|-&lt;br /&gt;
| Nodular || 19 || 33 || 73 || 125&lt;br /&gt;
|-&lt;br /&gt;
| Indeterminant || 11 || 17 || 28 || 56&lt;br /&gt;
|-&lt;br /&gt;
| Column Totals || 68 || 106 || 226 || 400&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 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)&lt;br /&gt;
&lt;br /&gt;
* What is the probability that for a randomly chosen patient the cancer type is Superficial given that it appears on the Trunk?&lt;br /&gt;
&lt;br /&gt;
====Monty Hall Problem====&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Denote W={Final Win of the Car Price}. Let L&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; and W&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; 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:&lt;br /&gt;
&amp;lt;math&amp;gt;P(W) = P(L_1 \cap W_2) = P(W_2 | L_1) P(L_1) = 1 \times {2\over 3} ={2\over 3}&amp;lt;/math&amp;gt;. If we played using the [[AP_Statistics_Curriculum_2007_Prob_Basics#Hands-on_activities | stay-home strategy]], our chance of winning would have been:&lt;br /&gt;
&amp;lt;math&amp;gt;P(W) = P(W_1 \cap W_2) = P(W_2 | W_1) P(W_1) = 1 \times {1\over 3} ={1\over 3}&amp;lt;/math&amp;gt;, or half the chance in the first (swapping) case.&lt;br /&gt;
&lt;br /&gt;
====Drawing balls without replacement====&lt;br /&gt;
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 Space?&lt;br /&gt;
P({2-nd ball is black}) =  P({2-nd is black} &amp;amp;{1-st is black})  +  P({2-nd is black} &amp;amp;{1-st is white}) = 4/7 x 3/6  +  4/6 x 3/7  = 4/7.&lt;br /&gt;
&lt;br /&gt;
===Inverting the order of conditioning===&lt;br /&gt;
In many practical situations it 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:&lt;br /&gt;
&amp;lt;center&amp;gt; &amp;lt;math&amp;gt;P(A \cap B)  = P(A | B) \times  P(B) =  P(B | A) \times P(A)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example - inverting conditioning===&lt;br /&gt;
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? &lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;P(Cancer | Positive Test) = {P(Positive Test | Cancer) \times P(Cancer) \over P(Positive Test)}= {0.8\times 0.1 \over 0.107}&amp;lt;/math&amp;gt; &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===Statistical Independence===&lt;br /&gt;
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).&lt;br /&gt;
 &lt;br /&gt;
Note that if A is independent of B, then B is also independent of A, i.e., P(B | A) = P(B), since &amp;lt;math&amp;gt;P(B|A)={P(B \cap A) \over P(A)} = {P(A|B)P(B) \over P(A)} = P(B)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If A and B are statistically independent, then &amp;lt;math&amp;gt;P(B \cap A) = P(A) \times P(B).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Multiplication Rule===&lt;br /&gt;
&lt;br /&gt;
For any two events (whether dependent or independent):&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;P(A \cap B) = P(B|A)P(A) = P(A|B)P(B).&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, for any collection of events:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;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 &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\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})&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Law of total probability===&lt;br /&gt;
If {&amp;lt;math&amp;gt;A_1, A_2, A_3, \cdots, A_n&amp;lt;/math&amp;gt;} partition the sample space ''S'' (i.e., all events are mutually exclusive and &amp;lt;math&amp;gt;\cup_{i=1}^n {A_i}=S&amp;lt;/math&amp;gt;) then for any event B&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;P(B) = P(B|A_1)P(A_1) + P(B|A_2)P(A_2) + \cdots + P(B|A_n)P(A_n)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:SOCR_EBook_Dinov_Probability_012808_Fig2.jpg|150px|thumbnail|right]]&lt;br /&gt;
&lt;br /&gt;
* Example, if &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;A_2&amp;lt;/math&amp;gt; partition the sample space (think of males and females), then the probability of any event B (e.g., smoker) may be computed by:&lt;br /&gt;
&amp;lt;math&amp;gt;P(B) = P(B|A_1)P(A_1) + P(B|A_2)P(A_2)&amp;lt;/math&amp;gt;. This of course is a simple consequence of the fact that &amp;lt;math&amp;gt;P(B) = P(B\cap S) = P(B \cap (A_1 \cup A_2))&amp;lt;/math&amp;gt;. Therefore,&lt;br /&gt;
&amp;lt;math&amp;gt;P(B)=P((B \cap A_1) \cup (B \cap A_2))= P(B|A_1)P(A_1) + P(B|A_2)P(A_2)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Bayesian Rule===&lt;br /&gt;
If {&amp;lt;math&amp;gt;A_1, A_2, A_3, \cdots, A_n&amp;lt;/math&amp;gt;} form a partition of the sample space ''S'' and A and B are any events (subsets of S), then:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;P(A | B) = {P(B | A) P(A) \over P(B)} = {P(B | A) P(A) \over P(B|A_1)P(A_1) + P(B|A_2)P(A_2) + \cdots + P(B|A_n)P(A_n)}.&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Independence vs. disjointness/mutual-exclusiveness===&lt;br /&gt;
: The events A and B are ''independent'' if P(A|B)=P(A). That is &amp;lt;math&amp;gt;P(A \cap B) = P(A)P(B).&amp;lt;/math&amp;gt;&lt;br /&gt;
: The events C and D are ''disjoint, or mutually-exclusive'', if &amp;lt;math&amp;gt;P(C\cap D) = 0&amp;lt;/math&amp;gt;. That is &amp;lt;math&amp;gt;P(C\cup D)=P(C)+P(D).&amp;lt;/math&amp;gt;&lt;br /&gt;
Mutual-exclusiveness and independence are different concepts. Here are two examples clarifying the differences between these concepts:&lt;br /&gt;
* Suppose we play a [[SOCR_EduMaterials_Activities_CardExperiment | card game]] of ''guessing the color of a randomly drawn card'' from a [[AP_Statistics_Curriculum_2007_Prob_Simul#Poker_Game |standard 52-card deck]]. As there are 2 possible colors (black and red), and given no other information, the chance for correctly guessing the color (e.g., black) is 0.5. However, additional information may or may not be helpful in identifying the card color. For example:&lt;br /&gt;
** If we know that the [[AP_Statistics_Curriculum_2007_Prob_Count#Hands-on_combination_activity |card denomination]] is a king, there are 2 red and 2 black kings, this does '''not''' help us improve our chances of successfully identifying the correct color of the card, P(Red|King)=P(Red), independence.&lt;br /&gt;
** If we know that the suit of the card is hearts, this does help is with correctly identifying the card color (as hearts are red), P(Red|Hearts)=1.0, strong dependence.&lt;br /&gt;
** Notes:&lt;br /&gt;
:: In both cases, the events A={Red} and B={King} and C={Hearts} are '''not''' mutually exclusive (disjoint)!&lt;br /&gt;
:: Events that are mutually exclusive (disjoint) cannot be independent!&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Color_blindness Color blindness] is a sex-linked trait, as many of the genes involved in color vision are on the [http://en.wikipedia.org/wiki/X_chromosome X chromosome]. Color blindness more common in males than in females, as men do not have a second X chromosome to overwrite the chromosome which carries the mutation. If 8% of variants of a given gene are defective (mutated), the probability of a single copy being defective is 8%, but the probability that two (independent) copies are both defective is 0.08 × 0.08 = 0.0064.&lt;br /&gt;
: The events A={Female} and B={Color blind} are not mutually exclusive (females can be color blind), nor they are independent (the rate of color blindness among females is lower). Color blindness prevalence within the 2 genders is P(CB|Male) = 0.08, and P(CB|Female)=0.005, where CB={color blind, one color, a color combination, or another mutation}.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
Suppose a Laboratory blood test is used as evidence for a disease. Assume P(positive Test| Disease) = 0.95, P(positive Test| no Disease)=0.01 and P(Disease) = 0.005. Find P(Disease|positive Test)=?&lt;br /&gt;
&lt;br /&gt;
Denote D = {the test person has the disease}, &amp;lt;math&amp;gt;D^c&amp;lt;/math&amp;gt; = {the test person does not have the disease} and  T = {the test result is positive}. Then &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;P(D | T) = {P(T | D) P(D) \over P(T)} = {P(T | D) P(D) \over P(T|D)P(D) + P(T|D^c)P(D^c)}=&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;={0.95\times 0.005 \over {0.95\times 0.005 +0.01\times 0.995}}=0.193.&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* [[AP_Statistics_Curriculum_2007_Bayesian_Prelim | Bayesian Chapter]]&lt;br /&gt;
&lt;br /&gt;
===[[EBook_Problems_Prob_Rules|Problems]]===&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
* [http://www.stat.ucla.edu/%7Edinov/courses_students.dir/07/Fall/STAT13.1.dir/STAT13_notes.dir/lecture03.pdf Probability Lecture Notes (PDF)]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
* SOCR Home page: http://www.socr.ucla.edu&lt;br /&gt;
&lt;br /&gt;
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=AP_Statistics_Curriculum_2007_Prob_Rules}}&lt;/div&gt;</summary>
		<author><name>ChiccoChou</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.socr.umich.edu/index.php?title=AP_Statistics_Curriculum_2007_Prob_Rules&amp;diff=10222</id>
		<title>AP Statistics Curriculum 2007 Prob Rules</title>
		<link rel="alternate" type="text/html" href="https://wiki.socr.umich.edu/index.php?title=AP_Statistics_Curriculum_2007_Prob_Rules&amp;diff=10222"/>
		<updated>2010-06-10T19:02:24Z</updated>

		<summary type="html">&lt;p&gt;ChiccoChou: /* Inverting the order of conditioning */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==[[AP_Statistics_Curriculum_2007 | General Advance-Placement (AP) Statistics Curriculum]] - Probability Theory Rules==&lt;br /&gt;
&lt;br /&gt;
=== Addition Rule===&lt;br /&gt;
The probability of a union, also called the [http://en.wikipedia.org/wiki/Inclusion-exclusion_principle Inclusion-Exclusion principle] allows us to compute probabilities of composite events represented as unions (i.e., sums) of simpler events.&lt;br /&gt;
[[Image:500px-Inclusion-exclusion.svg.png|150px|thumbnail|right| [http://upload.wikimedia.org/wikipedia/commons/thumb/4/42/Inclusion-exclusion.svg/180px-Inclusion-exclusion.svg.png Venn Diagrams]]]&lt;br /&gt;
&lt;br /&gt;
For events ''A''&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;, ..., ''A''&amp;lt;sub&amp;gt;''n''&amp;lt;/sub&amp;gt; in a probability space (S,P), the probability of the union for ''n=2'' is&lt;br /&gt;
:&amp;lt;math&amp;gt;P(A_1\cup A_2)=P(A_1)+P(A_2)-P(A_1\cap A_2),&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For ''n=3'',&lt;br /&gt;
:&amp;lt;math&amp;gt;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)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, for any ''n'',&lt;br /&gt;
:&amp;lt;math&amp;gt;P(\bigcup_{i=1}^n A_i) =\sum_{i=1}^n {P(A_i)}&lt;br /&gt;
-\sum_{i,j\,:\,i&amp;lt;j}{P(A_i\cap A_j)} +\sum_{i,j,k\,:\,i&amp;lt;j&amp;lt;k}{P(A_i\cap A_j\cap A_k)}+ \cdots&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\cdots\ +(-1)^{m+1} \sum_{i_1&amp;lt;i_2&amp;lt; \cdots &amp;lt; i_m}{P(\bigcap_{p=1}^m A_{i_p})}+ \cdots\cdots\  +(-1)^{n+1} P(\bigcap_{i=1}^n A_i).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Conditional Probability===&lt;br /&gt;
The conditional probability of A occurring given that B occurs is  given by&lt;br /&gt;
:&amp;lt;math&amp;gt;P(A | B) ={P(A \cap B) \over P(B)}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* See this [[SOCR_EduMaterials_Activities_BivariateNormalExperiment#Applications_-__Conditional_Probability | demonstration of conditional probability using the SOCR Bivariate Normal Experiment]].&lt;br /&gt;
&lt;br /&gt;
* Also see [[SOCR_EduMaterials_Activities_CoinDieExperiment#Applications:_Conditional_Probability | demonstration of conditional probability using the SOCR Coin-Die Experiment]].&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
====Contingency table====&lt;br /&gt;
Here is the data on 400 Melanoma (skin cancer) Patients by Type and Site				&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center; width:75%&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;2&amp;quot;|Type || colspan=&amp;quot;3&amp;quot; align=&amp;quot;center&amp;quot;|Site || rowspan=&amp;quot;2&amp;quot;|Totals&lt;br /&gt;
|-&lt;br /&gt;
| Head and Neck || Trunk || Extremities &lt;br /&gt;
|-&lt;br /&gt;
| Hutchinson's melanomic freckle || 22 || 2 || 10 || 34&lt;br /&gt;
|-&lt;br /&gt;
| Superficial || 16 || 54 || 115 || 185&lt;br /&gt;
|-&lt;br /&gt;
| Nodular || 19 || 33 || 73 || 125&lt;br /&gt;
|-&lt;br /&gt;
| Indeterminant || 11 || 17 || 28 || 56&lt;br /&gt;
|-&lt;br /&gt;
| Column Totals || 68 || 106 || 226 || 400&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* 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)&lt;br /&gt;
&lt;br /&gt;
* What is the probability that for a randomly chosen patient the cancer type is Superficial given that it appears on the Trunk?&lt;br /&gt;
&lt;br /&gt;
====Monty Hall Problem====&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
Denote W={Final Win of the Car Price}. Let L&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; and W&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; 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:&lt;br /&gt;
&amp;lt;math&amp;gt;P(W) = P(L_1 \cap W_2) = P(W_2 | L_1) P(L_1) = 1 \times {2\over 3} ={2\over 3}&amp;lt;/math&amp;gt;. If we played using the [[AP_Statistics_Curriculum_2007_Prob_Basics#Hands-on_activities | stay-home strategy]], our chance of winning would have been:&lt;br /&gt;
&amp;lt;math&amp;gt;P(W) = P(W_1 \cap W_2) = P(W_2 | W_1) P(W_1) = 1 \times {1\over 3} ={1\over 3}&amp;lt;/math&amp;gt;, or half the chance in the first (swapping) case.&lt;br /&gt;
&lt;br /&gt;
====Drawing balls without replacement====&lt;br /&gt;
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 Space?&lt;br /&gt;
P({2-nd ball is black}) =  P({2-nd is black} &amp;amp;{1-st is black})  +  P({2-nd is black} &amp;amp;{1-st is white}) = 4/7 x 3/6  +  4/6 x 3/7  = 4/7.&lt;br /&gt;
&lt;br /&gt;
===Inverting the order of conditioning===&lt;br /&gt;
In many practical situations it 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:&lt;br /&gt;
&amp;lt;center&amp;gt; &amp;lt;math&amp;gt;P(A \cap B)  = P(A | B) \times  P(B) =  P(B | A) \times P(A)&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example - inverting conditioning===&lt;br /&gt;
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? &lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;P(Cancer | Positive Test) = {P(Positive Test | Cancer) \times P(Cancer) \over P(Positive Test)}= {0.8\times 0.1 \over 0.107}&amp;lt;/math&amp;gt; &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
===Statistical Independence===&lt;br /&gt;
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).&lt;br /&gt;
 &lt;br /&gt;
Note that if A is independent of B, then B is also independent of A, i.e., P(B | A) = P(B), since &amp;lt;math&amp;gt;P(B|A)={P(B \cap A) \over P(A)} = {P(A|B)P(B) \over P(A)} = P(B)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If A and B are statistically independent, then &amp;lt;math&amp;gt;P(B \cap A) = P(A) \times P(B).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Multiplication Rule===&lt;br /&gt;
&lt;br /&gt;
For any two events (whether dependent or independent):&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;P(A \cap B) = P(B|A)P(A) = P(A|B)P(B).&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, for any collection of events:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;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 &amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;\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})&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Law of total probability===&lt;br /&gt;
If {&amp;lt;math&amp;gt;A_1, A_2, A_3, \cdots, A_n&amp;lt;/math&amp;gt;} form a partition of the sample space ''S'' (i.e., all events are mutually exclusive and &amp;lt;math&amp;gt;\cup_{i=1}^n {A_i}=S&amp;lt;/math&amp;gt;) then for any event B&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;P(B) = P(B|A_1)P(A_1) + P(B|A_2)P(A_2) + \cdots + P(B|A_n)P(A_n)&lt;br /&gt;
&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:SOCR_EBook_Dinov_Probability_012808_Fig2.jpg|150px|thumbnail|right]]&lt;br /&gt;
&lt;br /&gt;
* Example, if &amp;lt;math&amp;gt;A_1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;A_2&amp;lt;/math&amp;gt; partition the sample space (think of males and females), then the probability of any event B (e.g., smoker) may be computed by:&lt;br /&gt;
&amp;lt;math&amp;gt;P(B) = P(B|A_1)P(A_1) + P(B|A_2)P(A_2)&amp;lt;/math&amp;gt;. This of course is a simple consequence of the fact that &amp;lt;math&amp;gt;P(B) = P(B\cap S) = P(B \cap (A_1 \cup A_2))&amp;lt;/math&amp;gt;. Therefore,&lt;br /&gt;
&amp;lt;math&amp;gt;P(B)=P((B \cap A_1) \cup (B \cap A_2))= P(B|A_1)P(A_1) + P(B|A_2)P(A_2)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Bayesian Rule===&lt;br /&gt;
If {&amp;lt;math&amp;gt;A_1, A_2, A_3, \cdots, A_n&amp;lt;/math&amp;gt;} form a partition of the sample space ''S'' and A and B are any events (subsets of S), then:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;P(A | B) = {P(B | A) P(A) \over P(B)} = {P(B | A) P(A) \over P(B|A_1)P(A_1) + P(B|A_2)P(A_2) + \cdots + P(B|A_n)P(A_n)}.&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Independence vs. disjointness/mutual-exclusiveness===&lt;br /&gt;
: The events A and B are ''independent'' if P(A|B)=P(A). That is &amp;lt;math&amp;gt;P(A \cap B) = P(A)P(B).&amp;lt;/math&amp;gt;&lt;br /&gt;
: The events C and D are ''disjoint, or mutually-exclusive'', if &amp;lt;math&amp;gt;P(C\cap D) = 0&amp;lt;/math&amp;gt;. That is &amp;lt;math&amp;gt;P(C\cup D)=P(C)+P(D).&amp;lt;/math&amp;gt;&lt;br /&gt;
Mutual-exclusiveness and independence are different concepts. Here are two examples clarifying the differences between these concepts:&lt;br /&gt;
* Suppose we play a [[SOCR_EduMaterials_Activities_CardExperiment | card game]] of ''guessing the color of a randomly drawn card'' from a [[AP_Statistics_Curriculum_2007_Prob_Simul#Poker_Game |standard 52-card deck]]. As there are 2 possible colors (black and red), and given no other information, the chance for correctly guessing the color (e.g., black) is 0.5. However, additional information may or may not be helpful in identifying the card color. For example:&lt;br /&gt;
** If we know that the [[AP_Statistics_Curriculum_2007_Prob_Count#Hands-on_combination_activity |card denomination]] is a king, there are 2 red and 2 black kings, this does '''not''' help us improve our chances of successfully identifying the correct color of the card, P(Red|King)=P(Red), independence.&lt;br /&gt;
** If we know that the suit of the card is hearts, this does help is with correctly identifying the card color (as hearts are red), P(Red|Hearts)=1.0, strong dependence.&lt;br /&gt;
** Notes:&lt;br /&gt;
:: In both cases, the events A={Red} and B={King} and C={Hearts} are '''not''' mutually exclusive (disjoint)!&lt;br /&gt;
:: Events that are mutually exclusive (disjoint) cannot be independent!&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Color_blindness Color blindness] is a sex-linked trait, as many of the genes involved in color vision are on the [http://en.wikipedia.org/wiki/X_chromosome X chromosome]. Color blindness more common in males than in females, as men do not have a second X chromosome to overwrite the chromosome which carries the mutation. If 8% of variants of a given gene are defective (mutated), the probability of a single copy being defective is 8%, but the probability that two (independent) copies are both defective is 0.08 × 0.08 = 0.0064.&lt;br /&gt;
: The events A={Female} and B={Color blind} are not mutually exclusive (females can be color blind), nor they are independent (the rate of color blindness among females is lower). Color blindness prevalence within the 2 genders is P(CB|Male) = 0.08, and P(CB|Female)=0.005, where CB={color blind, one color, a color combination, or another mutation}.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
Suppose a Laboratory blood test is used as evidence for a disease. Assume P(positive Test| Disease) = 0.95, P(positive Test| no Disease)=0.01 and P(Disease) = 0.005. Find P(Disease|positive Test)=?&lt;br /&gt;
&lt;br /&gt;
Denote D = {the test person has the disease}, &amp;lt;math&amp;gt;D^c&amp;lt;/math&amp;gt; = {the test person does not have the disease} and  T = {the test result is positive}. Then &lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;P(D | T) = {P(T | D) P(D) \over P(T)} = {P(T | D) P(D) \over P(T|D)P(D) + P(T|D^c)P(D^c)}=&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;math&amp;gt;={0.95\times 0.005 \over {0.95\times 0.005 +0.01\times 0.995}}=0.193.&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* [[AP_Statistics_Curriculum_2007_Bayesian_Prelim | Bayesian Chapter]]&lt;br /&gt;
&lt;br /&gt;
===[[EBook_Problems_Prob_Rules|Problems]]===&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
* [http://www.stat.ucla.edu/%7Edinov/courses_students.dir/07/Fall/STAT13.1.dir/STAT13_notes.dir/lecture03.pdf Probability Lecture Notes (PDF)]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
* SOCR Home page: http://www.socr.ucla.edu&lt;br /&gt;
&lt;br /&gt;
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=AP_Statistics_Curriculum_2007_Prob_Rules}}&lt;/div&gt;</summary>
		<author><name>ChiccoChou</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.socr.umich.edu/index.php?title=AP_Statistics_Curriculum_2007_EDA_Var&amp;diff=10127</id>
		<title>AP Statistics Curriculum 2007 EDA Var</title>
		<link rel="alternate" type="text/html" href="https://wiki.socr.umich.edu/index.php?title=AP_Statistics_Curriculum_2007_EDA_Var&amp;diff=10127"/>
		<updated>2010-05-14T00:00:02Z</updated>

		<summary type="html">&lt;p&gt;ChiccoChou: /* Quartiles and IQR */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==[[AP_Statistics_Curriculum_2007 | General Advance-Placement (AP) Statistics Curriculum]] - Measures of Variation==&lt;br /&gt;
&lt;br /&gt;
===Measures of Variation and Dispersion===&lt;br /&gt;
There are many measures of (population or sample) variation, e.g., the range, the variance, the standard deviation, mean absolute deviation, etc. These are used to assess the dispersion or spread of the population.&lt;br /&gt;
&lt;br /&gt;
Suppose we are interested in the long-jump performance of some students. We can carry an experiment by randomly selecting 8 male statistics students and ask them to perform the standing long jump.  In reality every student participated, but for the ease of calculations below we will focus on these eight students.  The long jumps were as follows:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center; width:75%&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+Long-Jump (inches) Sample Data&lt;br /&gt;
|-&lt;br /&gt;
| 60 || 64 || 68 || 74 || 76 || 78 || 80 || 106&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Range===&lt;br /&gt;
The range is the easiest measure of dispersion to calculate, yet, perhaps not the best measure. The '''Range = max - min'''. For example, for the Long Jump data, the range is calculated by:&lt;br /&gt;
&amp;lt;center&amp;gt;Range = 106 – 60 = 46.&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the range is only sensitive to the extreme values of a sample and ignores all other information. So, two completely different distributions may have the same range.&lt;br /&gt;
&lt;br /&gt;
===Quartiles and IQR===&lt;br /&gt;
The first quartile (&amp;lt;math&amp;gt;Q_1&amp;lt;/math&amp;gt;) and the third quartile (&amp;lt;math&amp;gt;Q_3&amp;lt;/math&amp;gt;) are defined values that split the dataset into ''bottom-25% vs. top-75%'' and ''bottom-75% vs. top-25%'', respectively. Thus the inter-quartile range (IQR), which is the difference &amp;lt;math&amp;gt;Q_3 - Q_1&amp;lt;/math&amp;gt;, represents the central 50% for the data and can be considered as a measure of data dispersion or variation. The wider the IQR, the more variant the data.&lt;br /&gt;
&lt;br /&gt;
For example, &amp;lt;math&amp;gt;Q_1=(64+68)/2=66&amp;lt;/math&amp;gt;,  &amp;lt;math&amp;gt;Q_3=(78+80)/2=79&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;IQR=Q_3-Q_1=13&amp;lt;/math&amp;gt;, for the Long-Jump data shown above. Thus we expect the middle half of all long jumps (for that population) to be between 66 and 79 inches.&lt;br /&gt;
&lt;br /&gt;
===Five-number summary===&lt;br /&gt;
The five-number summary for a dataset is the 5-tuple &amp;lt;math&amp;gt;\{min, Q_1, Q_2, Q_3, max\}&amp;lt;/math&amp;gt;, containing the sample minimum, first-quartile, second-quartile (median), third-quartile, and maximum.&lt;br /&gt;
&lt;br /&gt;
===Variance and Standard Deviation===&lt;br /&gt;
The logic behind the variance and standard deviation measures is to measure the difference between each observation and the mean (i.e., dispersion). Suppose we have ''n &amp;gt; 1'' observations, &amp;lt;math&amp;gt;\left \{ y_1, y_2, y_3, ..., y_n \right \}&amp;lt;/math&amp;gt;. The deviation of the &amp;lt;math&amp;gt;i^{th}&amp;lt;/math&amp;gt; measurement, &amp;lt;math&amp;gt;y_i&amp;lt;/math&amp;gt;, from the mean (&amp;lt;math&amp;gt;\overline{y}&amp;lt;/math&amp;gt;) is defined by &amp;lt;math&amp;gt;(y_i - \overline{y})&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Does the average of these deviations seem like a reasonable way to find an average deviation for the sample or the population? No, because the sum of all deviations is trivial:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\sum_{i=1}^n{(y_i - \overline{y})}=0.&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve this problem we employ different versions of the '''mean absolute deviation''':&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;{1 \over n-1}\sum_{i=1}^n{|y_i - \overline{y}|}.&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular, the '''variance''' is defined as:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;{1 \over n-1}\sum_{i=1}^n{(y_i - \overline{y})^2}.&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the '''standard deviation''' is defined as:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\sqrt{{1 \over n-1}\sum_{i=1}^n{(y_i - \overline{y})^2}}.&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the long-jump sample of 8 measurements, the standard deviation is:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\sqrt{{1 \over 8-1} \left \{(60-75.75)^2 + (64-75.75)^2 + (68-75.75)^2 + (74-75.75)^2 + (76-75.75)^2 + (78-75.75)^2 + (80-75.75)^2 + (106-75.75)^2 \right \} } = 14.079.&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Activities===&lt;br /&gt;
Try to pair each of the 4 samples whose numerical summaries are reported below with one of the 4 frequency plots below. Explain your answers.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center; width:75%&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+Long-Jump (inches) Sample Data&lt;br /&gt;
|-&lt;br /&gt;
| Sample || Mean || Median || StdDev&lt;br /&gt;
|-&lt;br /&gt;
| A || 4.688 || 5.000 || 1.493&lt;br /&gt;
|-&lt;br /&gt;
| B || 4.000 || 4.000 || 1.633  &lt;br /&gt;
|-&lt;br /&gt;
| C || 3.933 || 4.000 || 1.387&lt;br /&gt;
|-&lt;br /&gt;
| D || 4.000 || 4.000 || 2.075&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:SOCR_EBook_Dinov_EDA_012708_Fig10.jpg|500px]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
===Notes===&lt;br /&gt;
*Some software packages may use &amp;lt;math&amp;gt;{1 \over n}&amp;lt;/math&amp;gt;, instead of the &amp;lt;math&amp;gt;{1 \over n-1}&amp;lt;/math&amp;gt;, which we used above. Note that for large sample-sizes this difference becomes increasingly smaller. Also, there are theoretical properties of the sample variance, as defined above (e.g., sample-variance is an unbiased estimate of the population-variance!)&lt;br /&gt;
 &lt;br /&gt;
*Most of the [http://socr.ucla.edu/htmls/SOCR_Charts.html SOCR Charts] and [http://socr.ucla.edu/htmls/SOCR_Analyses.html SOCR Analyses] compute the variance or standard deviation for the sample. You can see these examples of [[SOCR_EduMaterials_ChartsActivities | Charts Activities]] and [[SOCR_EduMaterials_AnalysesActivities | Analyses Activities]] and you can test these using [[SOCR_012708_ID_Data_HotDogs | hotdogs dataset]].&lt;br /&gt;
&lt;br /&gt;
===[[EBook_Problems_EDA_Var | Problems]]===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
* [http://www.stat.ucla.edu/%7Edinov/courses_students.dir/07/Fall/STAT13.1.dir/STAT13_notes.dir/lecture02.pdf Lecture notes on EDA]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
* SOCR Home page: http://www.socr.ucla.edu&lt;br /&gt;
&lt;br /&gt;
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=AP_Statistics_Curriculum_2007_EDA_Var}}&lt;/div&gt;</summary>
		<author><name>ChiccoChou</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.socr.umich.edu/index.php?title=AP_Statistics_Curriculum_2007_EDA_Var&amp;diff=10126</id>
		<title>AP Statistics Curriculum 2007 EDA Var</title>
		<link rel="alternate" type="text/html" href="https://wiki.socr.umich.edu/index.php?title=AP_Statistics_Curriculum_2007_EDA_Var&amp;diff=10126"/>
		<updated>2010-05-13T23:58:12Z</updated>

		<summary type="html">&lt;p&gt;ChiccoChou: /* Quartiles and IQR */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==[[AP_Statistics_Curriculum_2007 | General Advance-Placement (AP) Statistics Curriculum]] - Measures of Variation==&lt;br /&gt;
&lt;br /&gt;
===Measures of Variation and Dispersion===&lt;br /&gt;
There are many measures of (population or sample) variation, e.g., the range, the variance, the standard deviation, mean absolute deviation, etc. These are used to assess the dispersion or spread of the population.&lt;br /&gt;
&lt;br /&gt;
Suppose we are interested in the long-jump performance of some students. We can carry an experiment by randomly selecting 8 male statistics students and ask them to perform the standing long jump.  In reality every student participated, but for the ease of calculations below we will focus on these eight students.  The long jumps were as follows:&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center; width:75%&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+Long-Jump (inches) Sample Data&lt;br /&gt;
|-&lt;br /&gt;
| 60 || 64 || 68 || 74 || 76 || 78 || 80 || 106&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Range===&lt;br /&gt;
The range is the easiest measure of dispersion to calculate, yet, perhaps not the best measure. The '''Range = max - min'''. For example, for the Long Jump data, the range is calculated by:&lt;br /&gt;
&amp;lt;center&amp;gt;Range = 106 – 60 = 46.&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the range is only sensitive to the extreme values of a sample and ignores all other information. So, two completely different distributions may have the same range.&lt;br /&gt;
&lt;br /&gt;
===Quartiles and IQR===&lt;br /&gt;
The first quartile (&amp;lt;math&amp;gt;Q_1&amp;lt;/math&amp;gt;) and the third quartile (&amp;lt;math&amp;gt;Q_3&amp;lt;/math&amp;gt;) are defined values that split the dataset into ''bottom-25% vs. top-75%'' and ''bottom-75% vs. top-25%'', respectively. This the inter-quartile range (IQR), which is the difference &amp;lt;math&amp;gt;Q_3 - Q_1&amp;lt;/math&amp;gt;, represents the central 50% for the data and can be considered as a measure of data dispersion or variation. The wider the IQR, the more variant the data.&lt;br /&gt;
&lt;br /&gt;
For example, &amp;lt;math&amp;gt;Q_1=(64+68)/2=66&amp;lt;/math&amp;gt;,  &amp;lt;math&amp;gt;Q_3=(78+80)/2=79&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;IQR=Q_3-Q_1=13&amp;lt;/math&amp;gt;, for the Long-Jump data shown above. Thus we expect the middle half of all long jumps (for that population) to be between 66 and 79 inches.&lt;br /&gt;
&lt;br /&gt;
===Five-number summary===&lt;br /&gt;
The five-number summary for a dataset is the 5-tuple &amp;lt;math&amp;gt;\{min, Q_1, Q_2, Q_3, max\}&amp;lt;/math&amp;gt;, containing the sample minimum, first-quartile, second-quartile (median), third-quartile, and maximum.&lt;br /&gt;
&lt;br /&gt;
===Variance and Standard Deviation===&lt;br /&gt;
The logic behind the variance and standard deviation measures is to measure the difference between each observation and the mean (i.e., dispersion). Suppose we have ''n &amp;gt; 1'' observations, &amp;lt;math&amp;gt;\left \{ y_1, y_2, y_3, ..., y_n \right \}&amp;lt;/math&amp;gt;. The deviation of the &amp;lt;math&amp;gt;i^{th}&amp;lt;/math&amp;gt; measurement, &amp;lt;math&amp;gt;y_i&amp;lt;/math&amp;gt;, from the mean (&amp;lt;math&amp;gt;\overline{y}&amp;lt;/math&amp;gt;) is defined by &amp;lt;math&amp;gt;(y_i - \overline{y})&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Does the average of these deviations seem like a reasonable way to find an average deviation for the sample or the population? No, because the sum of all deviations is trivial:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\sum_{i=1}^n{(y_i - \overline{y})}=0.&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To solve this problem we employ different versions of the '''mean absolute deviation''':&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;{1 \over n-1}\sum_{i=1}^n{|y_i - \overline{y}|}.&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In particular, the '''variance''' is defined as:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;{1 \over n-1}\sum_{i=1}^n{(y_i - \overline{y})^2}.&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the '''standard deviation''' is defined as:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\sqrt{{1 \over n-1}\sum_{i=1}^n{(y_i - \overline{y})^2}}.&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the long-jump sample of 8 measurements, the standard deviation is:&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\sqrt{{1 \over 8-1} \left \{(60-75.75)^2 + (64-75.75)^2 + (68-75.75)^2 + (74-75.75)^2 + (76-75.75)^2 + (78-75.75)^2 + (80-75.75)^2 + (106-75.75)^2 \right \} } = 14.079.&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Activities===&lt;br /&gt;
Try to pair each of the 4 samples whose numerical summaries are reported below with one of the 4 frequency plots below. Explain your answers.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:center; width:75%&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|+Long-Jump (inches) Sample Data&lt;br /&gt;
|-&lt;br /&gt;
| Sample || Mean || Median || StdDev&lt;br /&gt;
|-&lt;br /&gt;
| A || 4.688 || 5.000 || 1.493&lt;br /&gt;
|-&lt;br /&gt;
| B || 4.000 || 4.000 || 1.633  &lt;br /&gt;
|-&lt;br /&gt;
| C || 3.933 || 4.000 || 1.387&lt;br /&gt;
|-&lt;br /&gt;
| D || 4.000 || 4.000 || 2.075&lt;br /&gt;
|} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:SOCR_EBook_Dinov_EDA_012708_Fig10.jpg|500px]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &lt;br /&gt;
===Notes===&lt;br /&gt;
*Some software packages may use &amp;lt;math&amp;gt;{1 \over n}&amp;lt;/math&amp;gt;, instead of the &amp;lt;math&amp;gt;{1 \over n-1}&amp;lt;/math&amp;gt;, which we used above. Note that for large sample-sizes this difference becomes increasingly smaller. Also, there are theoretical properties of the sample variance, as defined above (e.g., sample-variance is an unbiased estimate of the population-variance!)&lt;br /&gt;
 &lt;br /&gt;
*Most of the [http://socr.ucla.edu/htmls/SOCR_Charts.html SOCR Charts] and [http://socr.ucla.edu/htmls/SOCR_Analyses.html SOCR Analyses] compute the variance or standard deviation for the sample. You can see these examples of [[SOCR_EduMaterials_ChartsActivities | Charts Activities]] and [[SOCR_EduMaterials_AnalysesActivities | Analyses Activities]] and you can test these using [[SOCR_012708_ID_Data_HotDogs | hotdogs dataset]].&lt;br /&gt;
&lt;br /&gt;
===[[EBook_Problems_EDA_Var | Problems]]===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
* [http://www.stat.ucla.edu/%7Edinov/courses_students.dir/07/Fall/STAT13.1.dir/STAT13_notes.dir/lecture02.pdf Lecture notes on EDA]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
* SOCR Home page: http://www.socr.ucla.edu&lt;br /&gt;
&lt;br /&gt;
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=AP_Statistics_Curriculum_2007_EDA_Var}}&lt;/div&gt;</summary>
		<author><name>ChiccoChou</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.socr.umich.edu/index.php?title=AP_Statistics_Curriculum_2007_EDA_Freq&amp;diff=10125</id>
		<title>AP Statistics Curriculum 2007 EDA Freq</title>
		<link rel="alternate" type="text/html" href="https://wiki.socr.umich.edu/index.php?title=AP_Statistics_Curriculum_2007_EDA_Freq&amp;diff=10125"/>
		<updated>2010-05-13T23:17:12Z</updated>

		<summary type="html">&lt;p&gt;ChiccoChou: /* Definitions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==[[AP_Statistics_Curriculum_2007 | General Advance-Placement (AP) Statistics Curriculum]] - Summarizing data with Frequency Tables==&lt;br /&gt;
&lt;br /&gt;
===Summarizing data with Frequency Tables &amp;amp; Histograms===&lt;br /&gt;
There are two ways to describe a data set (sample from a population) - Pictorial Graphs or Tables of Numbers. Both are important for analyzing data.&lt;br /&gt;
&lt;br /&gt;
===Definitions===&lt;br /&gt;
* A '''frequency distribution''' is a display of the number (frequency) of occurrences of each value in a data set.&lt;br /&gt;
* A '''relative frequency''' distribution is a display of the percent (ratio or frequency to sample-size) of occurrences of each value in a data set.&lt;br /&gt;
* A [http://en.wikipedia.org/wiki/Percentile percentile] is the &amp;lt;u&amp;gt;value&amp;lt;/u&amp;gt; of a variable that divides the real line into two segments - the left one containing certain percent (say 13%) of the observations for the specific process, and the right interval containing the complementary percentage of observations (in this case 87%).  The 30&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; percentile is the value (measurement) bound above 30% and below 70% of the observations from a process.  &lt;br /&gt;
* The (three) '''quartiles''' are the special cases of percentiles for Q&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;=25%, Q&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;=50% (median) and Q&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;=75%.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
The table below shows the stage of disease at diagnosis of breast cancer in a random sample of 2092 US women.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Stage&lt;br /&gt;
! Frequency&lt;br /&gt;
! Relative Frequency&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| 197&lt;br /&gt;
| 0.09&lt;br /&gt;
|-&lt;br /&gt;
| I&lt;br /&gt;
| 691&lt;br /&gt;
| 0.33&lt;br /&gt;
|-&lt;br /&gt;
| II&lt;br /&gt;
| 703&lt;br /&gt;
| 0.34&lt;br /&gt;
|-&lt;br /&gt;
| III&lt;br /&gt;
| 314&lt;br /&gt;
| 0.15&lt;br /&gt;
|-&lt;br /&gt;
| IV&lt;br /&gt;
| 187&lt;br /&gt;
| 0.09&lt;br /&gt;
|-&lt;br /&gt;
| Total&lt;br /&gt;
| 2092&lt;br /&gt;
| 1.00&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Computational Resources: Internet-based SOCR Tools===&lt;br /&gt;
* [http://socr.ucla.edu/htmls/SOCR_Charts.html SOCR Charts] allows you to generate graphical representations (including frequency histograms) of a variety of datasets.&lt;br /&gt;
* The [[SOCR_EduMaterials_ChartsActivities | SOCR Charts activities]] provide usage-instructions, examples and demonstrations of how to use SOCR Charts.&lt;br /&gt;
&lt;br /&gt;
===Hands-on activities===&lt;br /&gt;
You can copy and paste the first 2 columns in the data table above in the [http://socr.ucla.edu/htmls/SOCR_Charts.html SOCR Charts] (BarChart --&amp;gt; XYPlot --&amp;gt; HistogramDemo7). You can see [[SOCR_EduMaterials_Activities_Histogram_Graphs | this SOCR Charts activity]] for help with histogram plots.&lt;br /&gt;
* The graph below illustrates the (raw) frequency histogram (using counts)&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:SOCR_EBook_Dinov_EDA_012708_Fig1.jpg|500px]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The graph below show the relative frequency histogram (using the last column of the table above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:SOCR_EBook_Dinov_EDA_012708_Fig2.jpg|500px]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===[[EBook_Problems_EDA_Freq | Problems]]===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
* [http://www.stat.ucla.edu/%7Edinov/courses_students.dir/07/Fall/STAT13.1.dir/STAT13_notes.dir/lecture02.pdf Lecture notes on EDA]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
* SOCR Home page: http://www.socr.ucla.edu&lt;br /&gt;
&lt;br /&gt;
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=AP_Statistics_Curriculum_2007_EDA_Freq}}&lt;/div&gt;</summary>
		<author><name>ChiccoChou</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.socr.umich.edu/index.php?title=AP_Statistics_Curriculum_2007_EDA_Freq&amp;diff=10124</id>
		<title>AP Statistics Curriculum 2007 EDA Freq</title>
		<link rel="alternate" type="text/html" href="https://wiki.socr.umich.edu/index.php?title=AP_Statistics_Curriculum_2007_EDA_Freq&amp;diff=10124"/>
		<updated>2010-05-13T23:15:45Z</updated>

		<summary type="html">&lt;p&gt;ChiccoChou: /* Definitions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==[[AP_Statistics_Curriculum_2007 | General Advance-Placement (AP) Statistics Curriculum]] - Summarizing data with Frequency Tables==&lt;br /&gt;
&lt;br /&gt;
===Summarizing data with Frequency Tables &amp;amp; Histograms===&lt;br /&gt;
There are two ways to describe a data set (sample from a population) - Pictorial Graphs or Tables of Numbers. Both are important for analyzing data.&lt;br /&gt;
&lt;br /&gt;
===Definitions===&lt;br /&gt;
* A '''frequency distribution''' is a display of the number (frequency) of occurrences of each value in a data set.&lt;br /&gt;
* A '''relative frequency''' distribution is a display of the percent (ratio or frequency to sample-size) of occurrences of each value in a data set.&lt;br /&gt;
* A [http://en.wikipedia.org/wiki/Percentile percentile] is the &amp;lt;u&amp;gt;value&amp;lt;/u&amp;gt; of a variable that devides the real line into two segments - the left one containing certain percent (say 13%) of the observations for the specific process, and the righ interval containing the complement peecent of observations (in this case 87%).  The 30&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; percentile is the value (measurement) that abounds above 30% and below 70% of the observations from a process.  &lt;br /&gt;
* The (three) '''quartiles''' are the special cases of percentiles for Q&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;=25%, Q&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;=50% (median) and Q&amp;lt;sub&amp;gt;3&amp;lt;/sub&amp;gt;=75%.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
The table below shows the stage of disease at diagnosis of breast cancer in a random sample of 2092 US women.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Stage&lt;br /&gt;
! Frequency&lt;br /&gt;
! Relative Frequency&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| 197&lt;br /&gt;
| 0.09&lt;br /&gt;
|-&lt;br /&gt;
| I&lt;br /&gt;
| 691&lt;br /&gt;
| 0.33&lt;br /&gt;
|-&lt;br /&gt;
| II&lt;br /&gt;
| 703&lt;br /&gt;
| 0.34&lt;br /&gt;
|-&lt;br /&gt;
| III&lt;br /&gt;
| 314&lt;br /&gt;
| 0.15&lt;br /&gt;
|-&lt;br /&gt;
| IV&lt;br /&gt;
| 187&lt;br /&gt;
| 0.09&lt;br /&gt;
|-&lt;br /&gt;
| Total&lt;br /&gt;
| 2092&lt;br /&gt;
| 1.00&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Computational Resources: Internet-based SOCR Tools===&lt;br /&gt;
* [http://socr.ucla.edu/htmls/SOCR_Charts.html SOCR Charts] allows you to generate graphical representations (including frequency histograms) of a variety of datasets.&lt;br /&gt;
* The [[SOCR_EduMaterials_ChartsActivities | SOCR Charts activities]] provide usage-instructions, examples and demonstrations of how to use SOCR Charts.&lt;br /&gt;
&lt;br /&gt;
===Hands-on activities===&lt;br /&gt;
You can copy and paste the first 2 columns in the data table above in the [http://socr.ucla.edu/htmls/SOCR_Charts.html SOCR Charts] (BarChart --&amp;gt; XYPlot --&amp;gt; HistogramDemo7). You can see [[SOCR_EduMaterials_Activities_Histogram_Graphs | this SOCR Charts activity]] for help with histogram plots.&lt;br /&gt;
* The graph below illustrates the (raw) frequency histogram (using counts)&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:SOCR_EBook_Dinov_EDA_012708_Fig1.jpg|500px]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* The graph below show the relative frequency histogram (using the last column of the table above).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;[[Image:SOCR_EBook_Dinov_EDA_012708_Fig2.jpg|500px]]&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===[[EBook_Problems_EDA_Freq | Problems]]===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===References===&lt;br /&gt;
* [http://www.stat.ucla.edu/%7Edinov/courses_students.dir/07/Fall/STAT13.1.dir/STAT13_notes.dir/lecture02.pdf Lecture notes on EDA]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
* SOCR Home page: http://www.socr.ucla.edu&lt;br /&gt;
&lt;br /&gt;
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=AP_Statistics_Curriculum_2007_EDA_Freq}}&lt;/div&gt;</summary>
		<author><name>ChiccoChou</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.socr.umich.edu/index.php?title=AP_Statistics_Curriculum_2007_IntroUses&amp;diff=10123</id>
		<title>AP Statistics Curriculum 2007 IntroUses</title>
		<link rel="alternate" type="text/html" href="https://wiki.socr.umich.edu/index.php?title=AP_Statistics_Curriculum_2007_IntroUses&amp;diff=10123"/>
		<updated>2010-05-13T23:00:19Z</updated>

		<summary type="html">&lt;p&gt;ChiccoChou: /* Loaded Questions in Surveys or Polls */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[AP_Statistics_Curriculum_2007 | General Advance-Placement (AP) Statistics Curriculum]] - Uses and Abuses of Statistics&lt;br /&gt;
&lt;br /&gt;
==Uses and Abuses of Statistics==&lt;br /&gt;
Statistics is the science of variation, randomness and chance. As such, statistics is different from the [http://en.wikipedia.org/wiki/Isaac_Newton Newtonian sciences], where the processes being studied obey exact deterministic mathematical laws and typically can be described as [http://en.wikipedia.org/wiki/Category:Equations systems]. Because statistics provides tools for data understanding where no other science can, one should be prepared to trade this new power of knowledge with uncertainty. In general, statistical analysis, inference and simulation will not provide deterministic answers and strict (e.g., yes/no, presence/absence) responses to questions involving stochastic processes. Rather, statistics will provide quantitative inference represented as long-time probability values, confidence or prediction intervals, odds, chances, etc., which may ultimately be subjected to varying interpretations.&lt;br /&gt;
&lt;br /&gt;
This possibility of multiple interpretations may be viewed by some as detrimental or inconsistent. But others consider these outcomes as beautiful, scientific and elegant responses to challenging problems that are inherently stochastic. The phrase ''Uses and Abuses of Statistics'' refers to this notion that in some cases statistical results may be used as evidence to seemingly opposite theses. However, most of the time, common [http://en.wikipedia.org/wiki/Logic principles of logic] allow us to disambiguate the obtained statistical inference. [[AP_Statistics_Curriculum_2007_IntroUses#References | Some appropriate probability and statistics quotes are provided in the references section]].&lt;br /&gt;
&lt;br /&gt;
==Approach==&lt;br /&gt;
When presented with a problem, data and statistical inference about a phenomenon, one needs to critically assess the validity of the assumptions, accuracy of the models and correctness of the interpretation of the thesis. There are many so called paradoxes, where one can easily be convinced of an erroneous conclusion, because the underlying principles are violated (e.g., [http://en.wikipedia.org/wiki/Simpson_paradox Simpson's paradox], the [http://en.wikipedia.org/wiki/Birthday_paradox Birthday paradox], etc.). Critical evaluation of the design of the experiment, data collection, measurements and validity of the analysis strategy should lead to correct inference and interpretation in most cases.&lt;br /&gt;
&lt;br /&gt;
In summary, one must:&lt;br /&gt;
* be presented with a problem&lt;br /&gt;
* critically analyze the given information&lt;br /&gt;
* design an experiment to collect data&lt;br /&gt;
* analyze the collection&lt;br /&gt;
* evaluate the experiment&lt;br /&gt;
* validate the inferences and interpretations made&lt;br /&gt;
&lt;br /&gt;
==Examples of Common Causes for Data Misinterpretation==&lt;br /&gt;
===Unrepresentative Samples===&lt;br /&gt;
These are collections of data measurement or observations that do not adequately describe the natural process or phenomenon being studied. The phrase ''garbage-in, garbage-out'' refers to this situation and implies that none of the conclusions or the inference based on such unrepresentative samples should be trusted. In general, collecting a population representative sample is a hard experimental design problem.&lt;br /&gt;
* '''Self-Selection''' - voluntary response samples, where the respondents, units or participants decide themselves whether to be included in the sample, survey or experiment.&lt;br /&gt;
* ''Non-Sampling Errors'' (e.g., non-response bias) are errors in the data collection that are not due to the process of sampling or the study design.&lt;br /&gt;
&lt;br /&gt;
===Sampling Errors===&lt;br /&gt;
Sampling errors arise from a decision to use a sample rather than measure the entire population. &lt;br /&gt;
&lt;br /&gt;
===Samples of Small Sizes===&lt;br /&gt;
Small sample sizes may significantly distort the interpretation of the data, or results, because a small-sample data [[EBook#Chapter_II:_Describing.2C_Exploring.2C_and_Comparing_Data | distribution may have completely different characteristics]] from these of the native population the sample is drawn from (e.g., center, spread, shape, etc.) For example, use the [[SOCR_EduMaterials_Activities_GeneralCentralLimitTheorem | SOCR CLT activity]] to sample small samples from varieties of distributions and compare the sample-histogram against the population distribution. Their characteristics will be mostly similar, but sometimes they will be drastically different.&lt;br /&gt;
&lt;br /&gt;
===Loaded Questions in Surveys or Polls===&lt;br /&gt;
The phrasing of questions, their intonation and emphasis may significantly affect the perception of the question (intentionally or unintentionally).&lt;br /&gt;
&lt;br /&gt;
===Misleading Graphs===&lt;br /&gt;
Look at the quantitative information represented in a chart or plot, not at the shape, orientation, relation or pattern represented by the graph.&lt;br /&gt;
* Partial Pictures&lt;br /&gt;
* Deliberate Distortions&lt;br /&gt;
* Scale breaks and axes scaling&lt;br /&gt;
&lt;br /&gt;
===Inappropriate estimates or statistics===&lt;br /&gt;
Erroneous population parameter estimates (intentionally or most likely unintentionally) may affect data collections. The source of the data and the method for parameter estimation should be carefully reviewed to avoid bias and misinterpretation of data, results and to guarantee robust inference.&lt;br /&gt;
&lt;br /&gt;
==Computational Resources: Internet-based SOCR Tools==&lt;br /&gt;
* [http://www.socr.ucla.edu/htmls/SOCR_Experiments.html SOCR Experiments]&lt;br /&gt;
* [http://www.socr.ucla.edu/htmls/SOCR_Charts.html SOCR Charts]&lt;br /&gt;
&lt;br /&gt;
==Examples &amp;amp; Hands-on Activities==&lt;br /&gt;
* [[SOCR_EduMaterials_Activities_BirthdayExperiment | Birthday Paradox I]] &lt;br /&gt;
* [[SOCR_EduMaterials_Activities_Birthday | Birthday Paradox II]] &lt;br /&gt;
&lt;br /&gt;
==[[EBook_Problems_EDA_IntroUses|Problems]]==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==References==&lt;br /&gt;
* [[SOCR_Quotes | SOCR Quotes]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
* SOCR Home page: http://www.socr.ucla.edu&lt;br /&gt;
&lt;br /&gt;
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=AP_Statistics_Curriculum_2007_IntroUses}}&lt;/div&gt;</summary>
		<author><name>ChiccoChou</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.socr.umich.edu/index.php?title=AP_Statistics_Curriculum_2007_IntroUses&amp;diff=10122</id>
		<title>AP Statistics Curriculum 2007 IntroUses</title>
		<link rel="alternate" type="text/html" href="https://wiki.socr.umich.edu/index.php?title=AP_Statistics_Curriculum_2007_IntroUses&amp;diff=10122"/>
		<updated>2010-05-13T22:55:41Z</updated>

		<summary type="html">&lt;p&gt;ChiccoChou: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[AP_Statistics_Curriculum_2007 | General Advance-Placement (AP) Statistics Curriculum]] - Uses and Abuses of Statistics&lt;br /&gt;
&lt;br /&gt;
==Uses and Abuses of Statistics==&lt;br /&gt;
Statistics is the science of variation, randomness and chance. As such, statistics is different from the [http://en.wikipedia.org/wiki/Isaac_Newton Newtonian sciences], where the processes being studied obey exact deterministic mathematical laws and typically can be described as [http://en.wikipedia.org/wiki/Category:Equations systems]. Because statistics provides tools for data understanding where no other science can, one should be prepared to trade this new power of knowledge with uncertainty. In general, statistical analysis, inference and simulation will not provide deterministic answers and strict (e.g., yes/no, presence/absence) responses to questions involving stochastic processes. Rather, statistics will provide quantitative inference represented as long-time probability values, confidence or prediction intervals, odds, chances, etc., which may ultimately be subjected to varying interpretations.&lt;br /&gt;
&lt;br /&gt;
This possibility of multiple interpretations may be viewed by some as detrimental or inconsistent. But others consider these outcomes as beautiful, scientific and elegant responses to challenging problems that are inherently stochastic. The phrase ''Uses and Abuses of Statistics'' refers to this notion that in some cases statistical results may be used as evidence to seemingly opposite theses. However, most of the time, common [http://en.wikipedia.org/wiki/Logic principles of logic] allow us to disambiguate the obtained statistical inference. [[AP_Statistics_Curriculum_2007_IntroUses#References | Some appropriate probability and statistics quotes are provided in the references section]].&lt;br /&gt;
&lt;br /&gt;
==Approach==&lt;br /&gt;
When presented with a problem, data and statistical inference about a phenomenon, one needs to critically assess the validity of the assumptions, accuracy of the models and correctness of the interpretation of the thesis. There are many so called paradoxes, where one can easily be convinced of an erroneous conclusion, because the underlying principles are violated (e.g., [http://en.wikipedia.org/wiki/Simpson_paradox Simpson's paradox], the [http://en.wikipedia.org/wiki/Birthday_paradox Birthday paradox], etc.). Critical evaluation of the design of the experiment, data collection, measurements and validity of the analysis strategy should lead to correct inference and interpretation in most cases.&lt;br /&gt;
&lt;br /&gt;
In summary, one must:&lt;br /&gt;
* be presented with a problem&lt;br /&gt;
* critically analyze the given information&lt;br /&gt;
* design an experiment to collect data&lt;br /&gt;
* analyze the collection&lt;br /&gt;
* evaluate the experiment&lt;br /&gt;
* validate the inferences and interpretations made&lt;br /&gt;
&lt;br /&gt;
==Examples of Common Causes for Data Misinterpretation==&lt;br /&gt;
===Unrepresentative Samples===&lt;br /&gt;
These are collections of data measurement or observations that do not adequately describe the natural process or phenomenon being studied. The phrase ''garbage-in, garbage-out'' refers to this situation and implies that none of the conclusions or the inference based on such unrepresentative samples should be trusted. In general, collecting a population representative sample is a hard experimental design problem.&lt;br /&gt;
* '''Self-Selection''' - voluntary response samples, where the respondents, units or participants decide themselves whether to be included in the sample, survey or experiment.&lt;br /&gt;
* ''Non-Sampling Errors'' (e.g., non-response bias) are errors in the data collection that are not due to the process of sampling or the study design.&lt;br /&gt;
&lt;br /&gt;
===Sampling Errors===&lt;br /&gt;
Sampling errors arise from a decision to use a sample rather than measure the entire population. &lt;br /&gt;
&lt;br /&gt;
===Samples of Small Sizes===&lt;br /&gt;
Small sample sizes may significantly distort the interpretation of the data, or results, because a small-sample data [[EBook#Chapter_II:_Describing.2C_Exploring.2C_and_Comparing_Data | distribution may have completely different characteristics]] from these of the native population the sample is drawn from (e.g., center, spread, shape, etc.) For example, use the [[SOCR_EduMaterials_Activities_GeneralCentralLimitTheorem | SOCR CLT activity]] to sample small samples from varieties of distributions and compare the sample-histogram against the population distribution. Their characteristics will be mostly similar, but sometimes they will be drastically different.&lt;br /&gt;
&lt;br /&gt;
===Loaded Questions in Surveys or Polls===&lt;br /&gt;
The phrasing of questions, their intonation and emphasis may significantly effect the perception of the question (intentionally or unintentionally).&lt;br /&gt;
&lt;br /&gt;
===Misleading Graphs===&lt;br /&gt;
Look at the quantitative information represented in a chart or plot, not at the shape, orientation, relation or pattern represented by the graph.&lt;br /&gt;
* Partial Pictures&lt;br /&gt;
* Deliberate Distortions&lt;br /&gt;
* Scale breaks and axes scaling&lt;br /&gt;
&lt;br /&gt;
===Inappropriate estimates or statistics===&lt;br /&gt;
Erroneous population parameter estimates (intentionally or most likely unintentionally) may affect data collections. The source of the data and the method for parameter estimation should be carefully reviewed to avoid bias and misinterpretation of data, results and to guarantee robust inference.&lt;br /&gt;
&lt;br /&gt;
==Computational Resources: Internet-based SOCR Tools==&lt;br /&gt;
* [http://www.socr.ucla.edu/htmls/SOCR_Experiments.html SOCR Experiments]&lt;br /&gt;
* [http://www.socr.ucla.edu/htmls/SOCR_Charts.html SOCR Charts]&lt;br /&gt;
&lt;br /&gt;
==Examples &amp;amp; Hands-on Activities==&lt;br /&gt;
* [[SOCR_EduMaterials_Activities_BirthdayExperiment | Birthday Paradox I]] &lt;br /&gt;
* [[SOCR_EduMaterials_Activities_Birthday | Birthday Paradox II]] &lt;br /&gt;
&lt;br /&gt;
==[[EBook_Problems_EDA_IntroUses|Problems]]==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
==References==&lt;br /&gt;
* [[SOCR_Quotes | SOCR Quotes]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
* SOCR Home page: http://www.socr.ucla.edu&lt;br /&gt;
&lt;br /&gt;
{{translate|pageName=http://wiki.stat.ucla.edu/socr/index.php?title=AP_Statistics_Curriculum_2007_IntroUses}}&lt;/div&gt;</summary>
		<author><name>ChiccoChou</name></author>
		
	</entry>
</feed>