From d40b5e002245826f04017bf947693e4dd5a3991b Mon Sep 17 00:00:00 2001 From: andyeisenberg Date: Sun, 11 Jan 2026 14:43:08 -0500 Subject: [PATCH] Chapter 1 answers. --- source/sec-Conditional-Probability.ptx | 443 ++++++++++++++----------- source/sec-Independent-Events.ptx | 233 +++++++++---- 2 files changed, 416 insertions(+), 260 deletions(-) diff --git a/source/sec-Conditional-Probability.ptx b/source/sec-Conditional-Probability.ptx index 490fb88..9fd380a 100644 --- a/source/sec-Conditional-Probability.ptx +++ b/source/sec-Conditional-Probability.ptx @@ -1,228 +1,295 @@
+ Conditional Probability + + Conditional Probability - - Conditional Probability +

+ Sometimes events can interact with each other. + We would like to have the language to talk about a scenario in which evidence that one event has occurred can alter our understanding of the probability of another event occurring. + We would also like to develop the mathematical tools to quantify exactly how much that probability changes. +

- - -

- Let A and B be events. - The conditional probability of A given B is - - \Pr(A \mid B) = \frac{\Pr(A\cap B)}{\Pr(B)}. - -

-
-
+ + +

+ Let A and B be events. + The conditional probability of A given B is + + \Pr(A \mid B) = \frac{\Pr(A\cap B)}{\Pr(B)}. + +

+
+
- - -

- An experiment consists of rolling a fair 6-sided die two times. - Let A be the event that the sum of the rolls is at least 10. - To find \Pr(A), we note that A = \{(4, 6), (5, 5), (5, 6), (6, 4), (6, 5), (6, 6)\}, which has 6 elements. - Since |\Omega| = 36, we have - - \Pr(A) = \frac{|A|}{|\Omega|} = \frac{6}{36} = \frac{1}{6} - . -

+ + +

+ An experiment consists of rolling a fair 6-sided die two times. + Let A be the event that the sum of the rolls is at least 10. + To find \Pr(A), we note that A = \{(4, 6), (5, 5), (5, 6), (6, 4), (6, 5), (6, 6)\}, which has 6 elements. + Since |\Omega| = 36, we have + + \Pr(A) = \frac{|A|}{|\Omega|} = \frac{6}{36} = \frac{1}{6} + . +

-

- Let B be the event that the first roll is 6. - If we pause after the first die roll seeing the value of 6, we might be more inclined to expect a sum of at least 10. - The evidence that we've already seen changes our understanding of the situation. - Since |B| = 6, \Pr(B) = \frac{6}{36} = \frac{1}{6}. - Also, A\cap B = \{(6, 4), (6, 5), (6, 6)\}, so \Pr(A\cap B) = \frac{3}{36} = \frac{1}{12}. - Finally: - - \Pr(A \mid B) = \frac{\Pr(A\cap B)}{\Pr(B)} = \frac{1/12}{1/6} = \frac{1}{2} - -

-
-
-
+

+ Let B be the event that the first roll is 6. + If we pause after the first die roll seeing the value of 6, we might be more inclined to expect a sum of at least 10. + The evidence that we've already seen changes our understanding of the situation. + Since |B| = 6, \Pr(B) = \frac{6}{36} = \frac{1}{6}. + Also, A\cap B = \{(6, 4), (6, 5), (6, 6)\}, so \Pr(A\cap B) = \frac{3}{36} = \frac{1}{12}. + Finally: + + \Pr(A \mid B) = \frac{\Pr(A\cap B)}{\Pr(B)} = \frac{1/12}{1/6} = \frac{1}{2} + + Before the experiment, we would have said there was only a \frac{1}{6} chance that the sum of the rolls is at least 10. + However, with the additional knowledge of seeing the first roll of 6, we find the probability of a sum of at least 10 to be \frac{1}{2}, substantially more likely than before. +

+ + +
- - Diagnostic Testing + + Diagnostic Testing +

+ Diagnostic tests for diseases aren't perfect. + When a test comes back positive or negative, a patient will want to understand the (conditional) probability that they have or don't have the disease based on the evidence (the diagnostic test result). +

+ + + +

+ The sensitivity of a diagnostic test is the probability that a patient who has the disease will see a positive test result. + The specificity is the probability that a patient who does not have the disease will see a negative test result. +

+
+
+ +

+ Introducing event notation, let D be the event that a patient has the disease, and let P be the event that they receive a positive test result. + Then the sensitivity of the diagnostic test is \Pr(P \mid D), and the specificity is \Pr(P^c \mid D^c). + However, when the patient takes a diagnostic test, the conditional probabilities they would be most interested in would be \Pr(D \mid P) and \Pr(D^c \mid P^c). +

+ +

+ Bayes' Theorem expresses the relationship between a conditional probability \Pr(A \mid B) and the flipped conditional probability \Pr(B \mid A). +

+ + + Bayes' Theorem (v1) + + +

+ + \Pr(B \mid A) = \frac{\Pr(A \mid B)\Pr(B)}{\Pr(A)} + +

+
+
+ +

+ For example, if a patient sees a positive diagnostic test result, they might try to calculate: + + \Pr(D \mid P) = \frac{\Pr(P \mid D)\Pr(D)}{\Pr(P)} + + It will take some work to be able to use this formula. + We likely don't have direct access to \Pr(P) or \Pr(D). +

+ +

+ Let's consider \Pr(P), the probability of receiving a positive test result. + The sensitivity \Pr(P \mid D) tells us this probability under the condition that the patient has the disease. + For a patient who doesn't have the disease, the specificity isn't quite the number we're looking for. + However, consider the complementary probability: + + \Pr(P \mid D^c) = 1 - \Pr(P^c \mid D^c) + + The total \Pr(P) can be divided into two categories: patients who have the disease and test positive, and patients who don't have the disease and test positive. + So: + + \Pr(P) \amp = \Pr(P\cap D) + \Pr(P\cap D^c) + \amp = \Pr(P\mid D)\Pr(D) + \Pr(P \mid D^c)\Pr(D^c) + \amp = \Pr(P\mid D)\Pr(D) + (1 - \Pr(P^c \mid D^c))\Pr(D^c) + \amp = (\text{sensitivity})\Pr(D) + (1 - \text{ specificity})\Pr(D^c) + + We can take this breakdown of \Pr(P) and write a new version of Bayes' Theorem: +

+ + + Bayes' Theorem (v2) + + +

+ + \Pr(B \mid A) = \frac{\Pr(A \mid B)\Pr(B)}{\Pr(A \mid B)\Pr(B) + (1 - \Pr(A^c \mid B^c))\Pr(B^c)} + +

+
+
+ +

+ We're still missing a crucial piece of information: \Pr(D), the probability (not conditioned on any evidence) that the patient has the disease. + This is often referred to as the prior, as in, our prior understanding of the probability of something before we gained some new information from evidence. + The conditional probability calculated using Bayes' Theorem is usually called the posterior (i.e., after taking evidence into account). +

+ +

+ There isn't always one single number that's reasonable to use as the prior probability. + For example, in a diagnostic testing situation, the prevalence of the diseasei.e., the proportion of the population who have the diseasemight feel like a natural number to use as the prior. + However, what prevalence should you use? During the COVID-19 pandemic, the prevalence of COVID in a particular country, state, and city might be different. + There's also the possibility of applying Bayes' Theorem multiple times to take into account multiple pieces of evidence, using the posterior probability from one application of Bayes' Theorem to play the role of the prior probability in the next. + This idea would apply if, for example, a patient took a second diagnostic test to double-check. + (Complicating the issue further, the developers of diagnostic tests often publish two or even more sets of sensitivity and specificity values, depending on whether a patient is already showing certain symptoms.) +

+ + + +

+ A 50-year old woman with no symptoms is screened for breast cancer and tests positive. + If the prevalence of breast cancer for women in her age group is 1% and the particular screening process used has a sensitivity of 90% and a specificity of 91%, what is the probability that the woman has breast cancer given her positive result? +

+
+ + +

+ Let P be the event of testing positive and D the event of having the disease. + Then the prevalence \Pr(D) is given as 1%, or 0.01. + The sensitivity is \Pr(P\mid D) = 0.9, and the specificity is \Pr(P^c\mid D^c) = 0.91. + So, according to Bayes' Theorem: + + \Pr(D\mid P) \amp = \frac{\Pr(P\mid D)\Pr(D)}{\Pr(P\mid D)\Pr(D) + (1 - \Pr(P^c\mid D^c))\Pr(D^c)} + \amp = \frac{(0.9)(0.01)}{(0.9)(0.01) + (1 - 0.91)(1 - 0.01)} + \amp \approx 0.092 + + This may seem like a surprising result. + Despite sensitivity and specificty values around 90%, it turns out a positive test result only indicates a less than 10% chance of actually having the disease. + Keep in mind that many ideas in probability and statistics can be highly counterintuitive. + It's important to be very precise with statements and calculations. +

+
+
+
+ + + +

+ In each of the following scenarios with given events A and B, alculate \Pr(A), \Pr(B), \Pr(A\cap B), \Pr(A \mid B), and \Pr(B \mid A). +

+
+ + +

- Diagnostic tests for diseases aren't perfect. - When a test comes back positive or negative, a patient will want to understand the (conditional) probability that they have or don't have the disease based on the evidence (the diagnostic test result). + An experiment consists of rolling a fair die two times. + Let A be the event that the sum is even, and let B be the event that the second roll is higher than the first.

+
- - -

- The sensitivity of a diagnostic test is the probability that a patient who has the disease will see a positive test result. - The specificity is the probability that a patient who does not have the disease will see a negative test result. -

-
-
- +

- Introducing event notation, let D be the event that a patient has the disease, and let P be the event that they receive a positive test result. - Then the sensitivity of the diagnostic test is \Pr(P \mid D), and the specificity is \Pr(P^c \mid D^c). - However, when the patient takes a diagnostic test, the conditional probabilities they would be most interested in would be \Pr(D \mid P) and \Pr(D^c \mid P^c). -

- -

- Bayes' Theorem expresses the relationship between a conditional probability \Pr(A \mid B) and the flipped conditional probability \Pr(B \mid A). -

- - - Bayes' Theorem (v1) - - -

- - \Pr(B \mid A) = \frac{\Pr(A \mid B)\Pr(B)}{\Pr(A)} - -

-
-
- -

- For example, if a patient sees a positive diagnostic test result, they might try to calculate: - \Pr(D \mid P) = \frac{\Pr(P \mid D)\Pr(D)}{\Pr(P)} + A = \{ \amp (1, 1), (1, 3), (1, 5), (2, 2), (2, 4), (2, 6), + \amp (3, 1), (3, 3), (3, 5), (4, 2), (4, 4), (4, 6), + \amp (5, 1), (5, 3), (5, 5), (6, 2), (6, 4), (6, 6)\} + B = \{ \amp (1, 2), (1, 3), (1, 4), (1, 5), (1, 6), + \amp (2, 3), (2, 4), (2, 5), (2, 6), + \amp (3, 4), (3, 5), (3, 6), + \amp (4, 5), (4, 6), + \amp (5, 6)\} + A \cap B = \{ \amp (1, 3), (1, 5), (2, 4), (2, 6), (3, 5), (4, 6)\} - It will take some work to be able to use this formula. - We likely don't have direct access to \Pr(P) or \Pr(D). -

- -

- Let's consider \Pr(P), the probability of receiving a positive test result. - The sensitivity \Pr(P \mid D) tells us this probability under the condition that the patient has the disease. - For a patient who doesn't have the disease, the specificity isn't quite the number we're looking for. - However, consider the complementary probability: + So \Pr(A) = \frac{18}{36} = \frac{1}{2}, \Pr(B) = \frac{15}{36} = \frac{5}{12}, and \Pr(A\cap B) = \frac{6}{36} = \frac{1}{6}. + Finally: - \Pr(P \mid D^c) = 1 - \Pr(P^c \mid D^c) + \Pr(A \mid B) \amp = \frac{\Pr(A\cap B)}{\Pr(B)} = \frac{6/36}{15/36} = \frac{6}{15} = \frac{2}{5} + \Pr(B \mid A) \amp = \frac{\Pr(B\cap A)}{\Pr(A)} = \frac{6/36}{18/36} = \frac{6}{18} = \frac{1}{3} - The total \Pr(P) can be divided into two categories: patients who have the disease and test positive, and patients who don't have the disease and test positive. - So: - - \Pr(P) \amp = \Pr(P\cap D) + \Pr(P\cap D^c) - \amp = \Pr(P\mid D)\Pr(D) + \Pr(P \mid D^c)\Pr(D^c) - \amp = \Pr(P\mid D)\Pr(D) + (1 - \Pr(P^c \mid D^c))\Pr(D^c) - \amp = (\text{sensitivity})\Pr(D) + (1 - \text{ specificity})\Pr(D^c) - - We can take this breakdown of \Pr(P) and write a new version of Bayes' Theorem: +

+
+
- - Bayes' Theorem (v2) - - -

- - \Pr(B \mid A) = \frac{\Pr(A \mid B)\Pr(B)}{\Pr(A \mid B)\Pr(B) + (1 - \Pr(A^c \mid B^c))\Pr(B^c)} - -

-
-
- + +

- We're still missing a crucial piece of information: \Pr(D), the probability (not conditioned on any evidence) that the patient has the disease. - This is often referred to as the prior, as in, our prior understanding of the probability of something before we gained some new information from evidence. - The conditional probability calculated using Bayes' Theorem is usually called the posterior (i.e., after taking evidence into account). - There isn't always one single number that's reasonable to use as the prior probability. - For example, in a diagnostic testing situation, the prevalence of the diseasei.e., the proportion of the population who have the diseasemight feel like a natural number to use as the prior. - However, what prevalence should you use? During the COVID-19 pandemic, the prevalence of COVID in a particular country, state, and city might be different. - There's also the possibility of applying Bayes' Theorem multiple times to take into account multiple pieces of evidence, using the posterior probability from one application of Bayes' Theorem to play the role of the prior probability in the next. - This idea would apply if, for example, a patient took a second diagnostic test to double-check. + An experiment consists of flipping a fair coin three times. + Let A be the event that the first and second flips match. + Let B be the event that there are at least two heads.

+
- - -

- A 50-year old woman with no symptoms is screened for breast cancer and tests positive. - If the prevalence of breast cancer for women in her age group is 1% and the particular screening process used has a sensitivity of 90% and a specificity of 91%, what is the probability that the woman has breast cancer given her positive result? -

-
+ +

+ + A \amp = \{ HHH, HHT, TTH, TTT \} + B \amp = \{ HHH, HHT, HTH, THH \} + A\cap B \amp = \{HHH, HHT\} + + So \Pr(A) = \frac{4}{8} = \frac{1}{2}, \Pr(B) = \frac{4}{8} = \frac{1}{2}, and \Pr(A\cap B) = \frac{2}{8} = \frac{1}{4}. + Finally: + + \Pr(A \mid B) \amp = \frac{\Pr(A\cap B)}{\Pr(B)} = \frac{2/8}{4/8} = \frac{2}{4} = \frac{1}{2} + \Pr(B \mid A) \amp = \frac{\Pr(B\cap A)}{\Pr(A)} = \frac{2/8}{4/8} = \frac{2}{4} = \frac{1}{2} + +

+
+
+
- -

- Let P be the event of testing positive and D the event of having the disease. - Then the prevalence \Pr(D) is given as 1%, or 0.01. - The sensitivity is \Pr(P\mid D) = 0.9, and the specificity is \Pr(P^c\mid D^c) = 0.91. - So, according to Bayes' Theorem: - - \Pr(D\mid P) \amp = \frac{\Pr(P\mid D)\Pr(D)}{\Pr(P\mid D)\Pr(D) + (1 - \Pr(P^c\mid D^c))\Pr(D^c)} - \amp = \frac{(0.9)(0.01)}{(0.9)(0.01) + (1 - 0.91)(1 - 0.01)} - \amp \approx 0.092 - -

-
- -
- - +

- In each of the following scenarios with given events A and B, alculate \Pr(A), \Pr(B), \Pr(A\cap B), \Pr(A \mid B), and \Pr(B \mid A). + A diagnostic test is developed to detect a disease present in 3.2% of the population. + For a patient who has the disease, the test will accurately give a positive result 65% of the time. + When the patient does not have the disease, the test will accurately give a negative result 99.9% of the time.

- + +

- An experiment consists of rolling a fair die two times. - Let A be the event that the sum is even, and let B be the event that the second roll is higher than the first. + For a patient who receives a positive test, what is the probability they have the disease?

-
- + +

+ Let P be the event of testing positive and D the event of having the disease. + Then the prevalence \Pr(D) is given as 3.2%, or 0.032. + The sensitivity is \Pr(P\mid D) = 0.65, and the specificity is \Pr(P^c\mid D^c) = 0.999. + So, according to Bayes' Theorem: + + \Pr(D\mid P) \amp = \frac{\Pr(P\mid D)\Pr(D)}{\Pr(P\mid D)\Pr(D) + (1 - \Pr(P^c\mid D^c))\Pr(D^c)} + \amp = \frac{(0.65)(0.032)}{(0.65)(0.032) + (1 - 0.999)(1 - 0.032)} + \amp \approx 0.96 + +

+
+ + + +

- An experiment consists of flipping a fair coin three times. - Let A be the event that the first and second flips match. - Let B be the event that there are at least two heads. + For a patient who receives a negative test, what is the probability they do not have the disease?

-
-
- - +

- A diagnostic test is developed to detect a disease present in 3.2% of the population. - For a patient who has the disease, the test will accurately give a positive result 65% of the time. - When the patient does not have the disease, the test will accurately give a negative result 99.9% of the time. + + \Pr(D^c\mid P^c) \amp = \frac{\Pr(P^c\mid D^c)\Pr(D^c)}{\Pr(P^c\mid D^c)\Pr(D^c) + (1 - \Pr(P\mid D))\Pr(D)} + \amp = \frac{(0.999)(1 - 0.032)}{(0.999)(1 - 0.032) + (1 - 0.65)(0.032)} + \amp \approx 0.99 +

-
- - - - -

- For a patient who receives a positive test, what is the probability they have the disease? -

-
- - -

- TODO -

-
-
- - - - -

- For a patient who receives a negative test, what is the probability they do not have the disease? -

-
- - -

- TODO -

-
-
-
-
-
\ No newline at end of file + + + + + \ No newline at end of file diff --git a/source/sec-Independent-Events.ptx b/source/sec-Independent-Events.ptx index b0c156c..6ca3cee 100644 --- a/source/sec-Independent-Events.ptx +++ b/source/sec-Independent-Events.ptx @@ -1,81 +1,170 @@
- Independent Events + Independent Events -

- The idea of conditional probability is that knowledge of one event can change our understanding of the probability of another. - But it's also important to understand when this is not the case. -

+

+ The idea of conditional probability is that knowledge of one event can change our understanding of the probability of another. + But it's also important to understand when this is not the case. +

- - -

- Events A, B are independent if \Pr(A \mid B) = \Pr(A). -

-
-
+ + +

+ Events A, B are independent if \Pr(A \mid B) = \Pr(A). +

+
+
-

- The equation \Pr(A\mid B) = \Pr(A) very concretely says: knowledge that the event B has occurred does not change our understanding of \Pr(A). - Assuming \Pr(A) \neq 0, this is equivalent to \Pr(A\cap B) = \Pr(A)\Pr(B), since: - - \Pr(A\mid B) \amp = \Pr(A) - \frac{\Pr(A\cap B)}{\Pr(B)} \amp = \Pr(A) - \Pr(A\cap B) \amp = \Pr(A)\Pr(B) - - This latter form of the equation is often more useful in calculations. -

+

+ The equation \Pr(A\mid B) = \Pr(A) very concretely says: knowledge that the event B has occurred does not change our understanding of \Pr(A). + Assuming \Pr(A) \neq 0, this is equivalent to \Pr(A\cap B) = \Pr(A)\Pr(B), since: + + \Pr(A\mid B) \amp = \Pr(A) + \frac{\Pr(A\cap B)}{\Pr(B)} \amp = \Pr(A) + \Pr(A\cap B) \amp = \Pr(A)\Pr(B) + + This latter form of the equation is often more useful in calculations. +

- - -

- In , we considered an experiment in which we rolled a fair 6-sided die twice. - We defined events A that the sum of the rolls is at least 10 and B that the first roll is a 6, and we found that \Pr(A \mid B) \neq \Pr(A), so A and B are not independent. -

+ + +

+ In , we considered an experiment in which we rolled a fair 6-sided die twice. + We defined events A that the sum of the rolls is at least 10 and B that the first roll is a 6, and we found that \Pr(A \mid B) \neq \Pr(A), so A and B are not independent. +

-

- Now consider the event C that the sum of the rolls is 7, which sounds very similar to the event A. - We have: - - C \amp = \{(1, 6), (2, 5), (3, 4), (4, 3), (5, 2), (6, 1)\} - \Pr(C) \amp = \frac{6}{36} = \frac{1}{6} - B\cap C \amp = \{(6, 1)\} - \Pr(B\cap C) \amp = \frac{1}{36} - \text{therefore: } \Pr(C\mid B) \amp = \frac{\Pr(C\cap B)}{\Pr(B)} = \frac{1/36}{1/6} = \frac{1}{6} = \Pr(C) - - So, even though the descriptions of events A and C are very similar, the event C is independent with B, while A is not. -

-
-
+

+ Now consider the event C that the sum of the rolls is 7, which sounds very similar to the event A. + We have: + + C \amp = \{(1, 6), (2, 5), (3, 4), (4, 3), (5, 2), (6, 1)\} + \Pr(C) \amp = \frac{6}{36} = \frac{1}{6} + B\cap C \amp = \{(6, 1)\} + \Pr(B\cap C) \amp = \frac{1}{36} + \text{therefore: } \Pr(C\mid B) \amp = \frac{\Pr(C\cap B)}{\Pr(B)} = \frac{1/36}{1/6} = \frac{1}{6} = \Pr(C) + + So, even though the descriptions of events A and C are very similar, the event C is independent with B, while A is not. +

+
+
- - - -

- An experiment consists of rolling a fair die two times. - Let A be the event that the sum is even, and let B be the event that the second roll is higher than the first. - Are A and B independent? -

-
-
+ + + +

+ An experiment consists of rolling a fair die two times. + Let A be the event that the sum is even, and let B be the event that the second roll is higher than the first. + Are A and B independent? +

+
- - -

- An experiment consists of flipping a fair coin three times. - Let A be the event that the first and second flips match. - Let B be the event that there are at least two heads. - Are A and B independent? -

-
-
+ +

+ + A = \{ \amp (1, 1), (1, 3), (1, 5), (2, 2), (2, 4), (2, 6), + \amp (3, 1), (3, 3), (3, 5), (4, 2), (4, 4), (4, 6), + \amp (5, 1), (5, 3), (5, 5), (6, 2), (6, 4), (6, 6)\} + B = \{ \amp (1, 2), (1, 3), (1, 4), (1, 5), (1, 6), + \amp (2, 3), (2, 4), (2, 5), (2, 6), + \amp (3, 4), (3, 5), (3, 6), + \amp (4, 5), (4, 6), + \amp (5, 6)\} + A \cap B = \{ \amp (1, 3), (1, 5), (2, 4), (2, 6), (3, 5), (4, 6)\} + + So \Pr(A) = \frac{18}{36} = \frac{1}{2}, \Pr(B) = \frac{15}{36} = \frac{5}{12}, and \Pr(A\cap B) = \frac{6}{36} = \frac{1}{6}. + Finally: + + \Pr(A \mid B) \amp = \frac{\Pr(A\cap B)}{\Pr(B)} = \frac{6/36}{15/36} = \frac{6}{15} = \frac{2}{5} \neq \Pr(A), + + so A and B are not independent. +

+
+
- - -

- Let A = \{1, 2, 3\} and B = \{3, 4, 5\} be events in the sample space \Omega = \{1, 2, 3, 4, 5, 6\}. - Create a probability distribution for \Omega so that A, B are independent. -

-
-
-
-
\ No newline at end of file + + +

+ An experiment consists of flipping a fair coin three times. + Let A be the event that the first and second flips match. + Let B be the event that there are at least two heads. + Are A and B independent? +

+
+ + +

+ + A \amp = \{ HHH, HHT, TTH, TTT \} + B \amp = \{ HHH, HHT, HTH, THH \} + A\cap B \amp = \{HHH, HHT\} + + So \Pr(A) = \frac{4}{8} = \frac{1}{2}, \Pr(B) = \frac{4}{8} = \frac{1}{2}, and \Pr(A\cap B) = \frac{2}{8} = \frac{1}{4}. + Finally: + + \Pr(A \mid B) \amp = \frac{\Pr(A\cap B)}{\Pr(B)} = \frac{2/8}{4/8} = \frac{2}{4} = \frac{1}{2} = \Pr(A), + + so A and B are independent. +

+
+
+ + + +

+ Let A = \{1, 2, 3\} and B = \{3, 4, 5\} be events in the sample space \Omega = \{1, 2, 3, 4, 5, 6\}. + Create a probability distribution for \Omega so that A, B are independent. +

+
+ + + + Example Distribution + + + + x + \Pr(x) + + + + 1 + 0.1 + + + + 2 + 0.2 + + + + 3 + 0.2 + + + + 4 + 0.1 + + + + 5 + 0.1 + + + + 6 + 0.3 + + +
+ +

+ Now \Pr(A) = 0.5, \Pr(B) = 0.4, and + + \Pr(A\cap B) = 0.2 = (0.5)(0.4) = \Pr(A)\Pr(B), + + so A and B are independent. +

+
+
+ + \ No newline at end of file