document.write( "Question 1166513: A disease test has a false positive rate of 0.5% and a false negative rate of 12%. Compute the probability that someone who tests negative does not have the virus for the following case:
\n" );
document.write( "Using the test on a population, where the probability of someone having the disease is 6/100000. \n" );
document.write( "
Algebra.Com's Answer #852747 by CPhill(2030) You can put this solution on YOUR website! This is a classic application of **Bayes' Theorem** to find the posterior probability.\r \n" ); document.write( "\n" ); document.write( "The probability that someone who tests negative does not have the virus is approximately **99.9999%** (or **0.999999**).\r \n" ); document.write( "\n" ); document.write( "---\r \n" ); document.write( "\n" ); document.write( "## 🔬 Probability Calculation\r \n" ); document.write( "\n" ); document.write( "Let $D$ be the event that a person **Has the Disease**. \n" ); document.write( "Let $D'$ be the event that a person **Does Not Have the Disease**. \n" ); document.write( "Let $T'$ be the event that the test result is **Negative**.\r \n" ); document.write( "\n" ); document.write( "### 1. Identify the Given Probabilities\r \n" ); document.write( "\n" ); document.write( "* **Prevalence ($P(D)$):** The probability of having the disease in the population. \n" ); document.write( " $$P(D) = \frac{6}{100000} = 0.00006$$ \n" ); document.write( "* **Probability of Not Having the Disease ($P(D')$):** \n" ); document.write( " $$P(D') = 1 - P(D) = 1 - 0.00006 = 0.99994$$\r \n" ); document.write( "\n" ); document.write( "* **False Positive Rate ($FP$):** The probability of testing positive when the person does *not* have the disease. \n" ); document.write( " $$P(T|D') = 0.5\% = 0.005$$ \n" ); document.write( "* **False Negative Rate ($FN$):** The probability of testing negative when the person *does* have the disease. \n" ); document.write( " $$P(T'|D) = 12\% = 0.12$$\r \n" ); document.write( "\n" ); document.write( "### 2. Required Conditional Probabilities\r \n" ); document.write( "\n" ); document.write( "We need the probability of correctly testing negative ($P(T'|D')$): \n" ); document.write( "* **True Negative Rate ($TN$):** The probability of testing negative when the person does *not* have the disease. \n" ); document.write( " $$P(T'|D') = 1 - P(T|D') = 1 - 0.005 = 0.995$$\r \n" ); document.write( "\n" ); document.write( "### 3. Goal\r \n" ); document.write( "\n" ); document.write( "We want to compute the probability that someone who tests negative does not have the disease, $P(D'|T')$.\r \n" ); document.write( "\n" ); document.write( "$$P(D'|T') = \frac{P(T'|D') \cdot P(D')}{P(T')}$$\r \n" ); document.write( "\n" ); document.write( "### 4. Calculate the Total Probability of Testing Negative ($P(T')$)\r \n" ); document.write( "\n" ); document.write( "The Law of Total Probability states that a negative result can occur in two mutually exclusive ways: a true negative ($T'$ and $D'$) or a false negative ($T'$ and $D$).\r \n" ); document.write( "\n" ); document.write( "$$P(T') = P(T'|D') \cdot P(D') + P(T'|D) \cdot P(D)$$\r \n" ); document.write( "\n" ); document.write( "Substitute the values: \n" ); document.write( "$$P(T') = (0.995 \cdot 0.99994) + (0.12 \cdot 0.00006)$$ \n" ); document.write( "$$P(T') = 0.9949403 + 0.0000072$$ \n" ); document.write( "$$P(T') = 0.9949475$$\r \n" ); document.write( "\n" ); document.write( "### 5. Apply Bayes' Theorem\r \n" ); document.write( "\n" ); document.write( "Now, substitute $P(T')$ back into the formula for $P(D'|T')$:\r \n" ); document.write( "\n" ); document.write( "$$P(D'|T') = \frac{P(T'|D') \cdot P(D')}{P(T')}$$ \n" ); document.write( "$$P(D'|T') = \frac{0.995 \cdot 0.99994}{0.9949475}$$ \n" ); document.write( "$$P(D'|T') = \frac{0.9949403}{0.9949475}$$ \n" ); document.write( "$$P(D'|T') \approx \mathbf{0.9999927}$$\r \n" ); document.write( "\n" ); document.write( "Rounding to six decimal places, the probability is **0.999993**. \n" ); document.write( " |