Probability Solutions for Week 7 Tutorials
Probability Solutions for Week 7 Tutorials
The probability that a blue ball came from the first urn is found using \(p(U1|B) = \frac{p(B|U1)p(U1)}{p(B|U1)p(U1) + p(B|U2)p(U2)}\). With \(p(B|U1) = \frac{12}{19}\), \(p(U1) = p(U2) = 0.5\), and \(p(B|U2) = \frac{8}{27}\), this formulates to \(p(U1|B) \approx 68.1%\).
The probability of obtaining exactly seven heads in ten tosses of a biased coin (with heads probability 0.7) is calculated using the binomial distribution formula. Seven heads can be obtained in \(\binom{10}{7} = 120\) different ways, thus the probability \(p(E7) = 120 \times (0.7)^7 \times (0.3)^3 \approx 0.267\) or 26.7% .
The student answers both questions independently despite question-specific conditions: for one question with two eliminable choices, \(p(E) = \frac{1}{3}\), and the other with uniform choice, \(p(F) = \frac{1}{5}\). Their joint probability, \(p(E \cap F) = \frac{1}{3} \times \frac{1}{5} = \frac{1}{15}\), reflects the principle of event independence in probability space .
To verify the independence of events E and F when rolling two fair dice, calculate and compare \(p(E \cap F)\) and \(p(E)p(F)\). Here, \(E\) is the event of the red die showing 2, and \(F\) is the event of the green die showing 4 or 5. We find \(p(E) = \frac{1}{6}\), \(p(F) = \frac{1}{3}\), and \(p(E \cap F) = \frac{1}{18}\). Since \(p(E \cap F) = p(E)p(F)\), the events are independent .
Calculate the complement of obtaining no heads using the rule \(1 - p(E0)\). With \(p(E0)\) being the probability of zero heads, \((0.3)^{10} \approx 0.000006\), the probability for at least one head is \(1 - 0.000006 \approx 99.999994%\).
By recognizing that \(E = (E \cap F) \cup (E \cap F^c)\), and using set complement properties, derive \(p(E|F) = \frac{p(E) - p(E|F)p(F)}{1 - p(F)}\), addressing the scenario where considering p(F) diminishes overlap with p(E) in p-space .
Bayes' theorem is applied by calculating \(p(E|A) = \frac{p(A|E)p(E)}{p(A|E)p(E) + p(A|F)p(F)}\), where \(p(A|E)\) is the true positive rate, \(p(E)\) the disease prevalence, \(p(A|F)\) the false positive rate, and \(p(F)\) the non-prevalence. Substituting given values gives \(p(E|A) = 0.1422\) or approximately 14.4% .
The probability of obtaining no heads when a biased coin (with heads probability 0.7) is tossed ten times is calculated using the binomial formula for p = 0.3 for tails. This scenario is equivalent to getting tails every time, \(p(E0) = (0.3)^{10} \approx 0.000006\).
Bayesian inference calculates post-test probability by \(p(E|A) = \frac{p(A|E)p(E)}{p(A|E)p(E) + p(A|F)p(F)}\), given \(p(A|E)=0.99\), \(p(E)=0.005\), \(p(A|F)=0.03\), \(p(F)=0.995\). The calculated probability reveals significant influence of low disease prevalence despite observed positivity \(\approx 14.22%\).
Calculating this probability helps to understand the student's overall performance risk. When two questions are probabilistically independent with different success chances, the probability neither is answered correctly is \(1 - \left(\text{probability for 0 correct} + \text{probability for 1 correct}\right)\). This approach uses complement rules and direct calculation to find \(p(E \cap F) = \frac{8}{15}\).