¬ virus infects one in every 400 pea Et the virus in a person is positive 9 on has the virus and positive 5% of loes not have the virus. (This 5% re sitive.) Let A be the event "the per- e the event "the person tests positiv

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
100%
**Understanding Conditional Probabilities in Viral Testing**

A certain virus infects **one in every 400 people**. A test used to detect the virus in a person is positive **90%** of the time if the person has the virus and positive **5%** of the time if the person does not have the virus. (This 5% result is called a false positive.) Let A be the event "the person is infected" and B be the event "the person tests positive".

The following table displays the test results for a population of 100,000 people:

|          | Positive | Negative | Totals  |
|----------|----------|----------|---------|
| **Virus**   | 225      | 25       | 250     |
| **No virus**| 4987.5   | 94762.5  | 99750   |
| **Totals**  | 5212.5   | 94787.5  | 100000  |

### Questions:
a. **Find the probability that a person has the virus given that they have tested positive**, i.e., find \( P(A | B) \). Round your answer to the nearest hundredth of a percent and do not include a percent sign.

\[ P(A \text{ if } B) = \frac{\text{Number of true positives}}{\text{Total number of positives}} = \frac{225}{5212.5} \approx 4.32\% \]

b. **Find the probability that a person does not have the virus given that they test negative**, i.e., find \( P(\text{not } A | \text{not } B) \). Round your answer to the nearest hundredth of a percent and do not include a percent sign.

\[ P(\text{not } A \text{ if not } B) = \frac{\text{Number of true negatives}}{\text{Total number of negatives}} = \frac{94762.5}{94787.5} \approx 99.97\% \]

### Explanation of the Table:

The table is divided into two main categories: individuals who have the virus and individuals who do not have the virus. For each category, there are data points on the number of positive and negative test results.

- **Virus (225 Positive, 25 Negative, 250 Total)**
  - This row indicates that among the
Transcribed Image Text:**Understanding Conditional Probabilities in Viral Testing** A certain virus infects **one in every 400 people**. A test used to detect the virus in a person is positive **90%** of the time if the person has the virus and positive **5%** of the time if the person does not have the virus. (This 5% result is called a false positive.) Let A be the event "the person is infected" and B be the event "the person tests positive". The following table displays the test results for a population of 100,000 people: | | Positive | Negative | Totals | |----------|----------|----------|---------| | **Virus** | 225 | 25 | 250 | | **No virus**| 4987.5 | 94762.5 | 99750 | | **Totals** | 5212.5 | 94787.5 | 100000 | ### Questions: a. **Find the probability that a person has the virus given that they have tested positive**, i.e., find \( P(A | B) \). Round your answer to the nearest hundredth of a percent and do not include a percent sign. \[ P(A \text{ if } B) = \frac{\text{Number of true positives}}{\text{Total number of positives}} = \frac{225}{5212.5} \approx 4.32\% \] b. **Find the probability that a person does not have the virus given that they test negative**, i.e., find \( P(\text{not } A | \text{not } B) \). Round your answer to the nearest hundredth of a percent and do not include a percent sign. \[ P(\text{not } A \text{ if not } B) = \frac{\text{Number of true negatives}}{\text{Total number of negatives}} = \frac{94762.5}{94787.5} \approx 99.97\% \] ### Explanation of the Table: The table is divided into two main categories: individuals who have the virus and individuals who do not have the virus. For each category, there are data points on the number of positive and negative test results. - **Virus (225 Positive, 25 Negative, 250 Total)** - This row indicates that among the
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman