Let’s solve this step by step, carefully breaking down the problem and using probabilities to find the answers. We need to determine:
- How many people tested positive (1) in all ( N ) tests.
- Of those, how many are true positives (actually ill) and how many are false positives (actually healthy).
Step 1: Understand the population and illness prevalence
- Total population: ( 1,000,000 )
- Percentage ill: ( 10% )
- Number of ill people: ( 0.1 \times 1,000,000 = 100,000 )
- Number of healthy people: ( 1,000,000 - 100,000 = 900,000 )
Step 2: Understand the test characteristics
- True positive rate (sensitivity): The test correctly identifies an ill person as ill (returns 1) with probability ( 0.8 ). Thus, the probability of a false negative (returning 0 for an ill person) is ( 1 - 0.8 = 0.2 ).
- False positive rate: The test incorrectly identifies a healthy person as ill (returns 1) with probability ( 0.1 ). Thus, the probability of a true negative (returning 0 for a healthy person) is ( 1 - 0.1 = 0.9 ).
Step 3: Define the event of testing positive ( N ) times
Each person is tested ( N ) times, and the tests are independent. We need to find the number of people who test positive (1) in all ( N ) tests. For a person to test positive ( N ) times, the test must return 1 on each of the ( N ) independent tests.
- For an ill person, the probability of testing positive on a single test is ( 0.8 ). The probability of testing positive on all ( N ) tests is:
[
P(\text{all } N \text{ tests positive} \mid \text{ill}) = 0.8^N
]
- For a healthy person, the probability of testing positive on a single test is ( 0.1 ). The probability of testing positive on all ( N ) tests is:
[
P(\text{all } N \text{ tests positive} \mid \text{healthy}) = 0.1^N
]
Step 4: Calculate the expected number of people who test positive ( N ) times
We now calculate the expected number of ill and healthy people who test positive ( N ) times, and then sum them to get the total.
-
Ill people who test positive ( N ) times (true positives):
There are ( 100,000 ) ill people, and each has a probability ( 0.8^N ) of testing positive ( N ) times. The expected number of true positives is:
[
\text{Number of true positives} = 100,000 \times 0.8^N
]
-
Healthy people who test positive ( N ) times (false positives):
There are ( 900,000 ) healthy people, and each has a probability ( 0.1^N ) of testing positive ( N ) times. The expected number of false positives is:
[
\text{Number of false positives} = 900,000 \times 0.1^N
]
-
Total people who test positive ( N ) times:
The total number of people who test positive ( N ) times is the sum of true positives and false positives:
[
\text{Total} = 100,000 \times 0.8^N + 900,000 \times 0.1^N
]
Step 5: Final answers
The answers depend on ( N ), the number of tests, and are expressed as follows:
-
Total number of people who test positive ( N ) times:
[
100,000 \times 0.8^N + 900,000 \times 0.1^N
]
-
Number of true positives (ill people who test positive ( N ) times):
[
100,000 \times 0.8^N
]
-
Number of false positives (healthy people who test positive ( N ) times):
[
900,000 \times 0.1^N
]
Step 6: Interpretation and examples
The expressions above are general and depend on ( N ). Let’s evaluate them for a few example values of ( N ) to see how the results behave:
-
For ( N = 1 ) (each person is tested once):
- True positives: ( 100,000 \times 0.8^1 = 80,000 )
- False positives: ( 900,000 \times 0.1^1 = 90,000 )
- Total positives: ( 80,000 + 90,000 = 170,000 )
-
For ( N = 2 ) (each person is tested twice):
- True positives: ( 100,000 \times 0.8^2 = 100,000 \times 0.64 = 64,000 )
- False positives: ( 900,000 \times 0.1^2 = 900,000 \times 0.01 = 9,000 )
- Total positives: ( 64,000 + 9,000 = 73,000 )
-
For ( N = 3 ) (each person is tested three times):
- True positives: ( 100,000 \times 0.8^3 = 100,000 \times 0.512 = 51,200 )
- False positives: ( 900,000 \times 0.1^3 = 900,000 \times 0.001 = 900 )
- Total positives: ( 51,200 + 900 = 52,100 )
Step 7: Observations
As ( N ) increases, the number of false positives decreases much faster than the number of true positives because ( 0.1^N ) shrinks much more rapidly than ( 0.8^N ). This means that requiring more positive tests (higher ( N )) improves the reliability of the test in identifying truly ill people, reducing the proportion of false positives among those who test positive ( N ) times.
Final Answer (General Form)
[
\boxed{
\begin{array}{l}
\text{Total people who test positive } N \text{ times: } 100,000 \times 0.8^N + 900,000 \times 0.1^N \
\text{True positives: } 100,000 \times 0.8^N \
\text{False positives: } 900,000 \times 0.1^N
\end{array}
}
]