Simplify the following probability expressions if possible. Some may be as simple as possible. Recall that $P(x)$ is shorthand for $P(X = x)$.
Answer these symbolically
Answer these symbolically
Let us continue our loaded die problem from unit 2, lecture 2. There are two possible dice being used. One is fair and one is unfair. Take $D = 0$ to indicate the fair die and $D = 1$ to indicate the unfair die. The unfair die has a probability of 90\% of being chosen. The probability of a roll with the unfair die is $x / 21$, where $x$ is the value of the role. Answer the following questions symbolically. $X_i$ indicates the value of the roll on attempt $i$. The rolls are conditionally independent on the identity of the die.
[4 points] Compute $P(X_0 = 3)$?
[4 points] Compute $P(X_0, X_1 \, | \, D = 0)$?
[2 points] Compute $P(D = 0, D = 1)$?
[4 points] Compute $P(X_1 = 2,\, X_0 = 4)$?
[2 points] Describe in words what the following expression means: $$ \frac{P(X_1 = 6 \,|\, X_0 = 6)}{P(X_0 = 6)} $$
[8 points] Calculate the above quantity and summarize in words what it means.
This is relative probability of rolling a six given you've rolled a six relative to rolling a six. It is an odds ratio, although this word need not be there to be marked correct.
It is 1% more likely to get a 6 on your second roll than if your first roll was a six.
Answer Symbolically
One of the most famous applications of conditional probabilities is in medical tests. Consider a medical test for HIV. The test as a false positive rate of 2%. That means it indicates that someone has HIV when they do not. HIV has a false negative rate of 1%. That means the test indicates someone does not have HIV when in fact they do. The incidence rate of HIV is 0.3% in the US. Using this information, answer the following questions:
[2 points] Write out the definition of a false negative and false positive using probability expressions.
[2 points] Ignoring ethical concerns, if we randomly select someone, what is the probability that they have HIV?
[6 points] If we randomly test someone for HIV, what is the probability that our test will show that they have HIV?
[8 points] If a positive test indicates the presence of HIV, what is the probability that person has HIV? Is this surprising?
[10 points] Assume each test is conditionally independent on whether or not the person has HIV. What is the probability that someone has HIV after two positive tests? The probabilities for false negative and positive are the same for the two tests.
I will use $H$ to indicate HIV and $T$ to indicate test result.
$P(H = 1) = 0.003$
In [ ]: