Skip to main content
added 663 characters in body
Source Link
Sextus Empiricus
  • 86.5k
  • 6
  • 115
  • 302

You wrongly assume

$$\begin{array}{}P(\text{positive test given infected}) & =& 1 - P(\text{positive test given not infected}) \\ &=& 1-0.002 \\&=& 0.998 \end{array}$$

You are only given the information $P(\text{positive test given not infected}) = 0.002$ but not $P(\text{positive test given infected}) = 0.998$.


So yourYour first half of the reasoning seems correct.

$$\begin{array}{}P(\text{not infected | positive}) &=& \frac{P(\text{positive | not infected})\cdot P(\text{not infected})}{P(\text{positive})} \\ &=& \frac{0.002 \cdot 0.976}{0.068} \\ &=& 0.0287 \end{array}$$


However we get strange values when we try to deduce $P(\text{positive | infected})$ from

$$\begin{array}{rcl}P(\text{infected | positive}) &=& \frac{P(\text{positive | infected})\cdot P(\text{ infected})}{P(\text{positive})} \\ 0.9713&=& \frac{? \cdot 0.024}{0.068} \end{array}$$

or alternatively from

$$\begin{array}{} P(\text{pos}) &=& P(\text{pos | $\neg$ inf})\cdot P(\text{$\neg$ inf}) + P(\text{pos | inf})\cdot P(\text{ inf})\\ 0.068 &=& 0.002 \frac{40}{41} + P(\text{pos | inf}) \frac{1}{41} \end{array}$$$$\begin{array}{rcl} P(\text{pos}) &=& P(\text{pos | $\neg$ inf})\cdot P(\text{$\neg$ inf}) + P(\text{pos | inf})\cdot P(\text{ inf})\\ 0.068 &=& 0.002 \frac{40}{41} + P(\text{pos | inf}) \frac{1}{41} \end{array}$$

or

$$P(\text{pos | inf}) = 0.068 \cdot 41 - 0.002\cdot 40 = 2.708$$

Which is not possible. Intuitively we can see this more directly... If only 1 in 41 people are sick (2.43 %)then it is strange to find that 6.8% of the tests are positive. The percentage of positive tests is much higher than the people that are sick.

This can be explained in two ways:

  • The false positive rate is not correct (it should be much higher and somewhere close to this 6.8%).

    The false positive rate is not correct (it should be much higher and somewhere close to this 6.8%).

    However, if this is a realistic example about Covid-19 testing then the false positive rate is probably not so high (unless something went very wrong).

  • Among the people that are performing tests there are a higher

    Among the people that are performing tests there are a higher proportion of sick people (higher than 1 in 41).

    proportion of sick people (higher than 1 in 41).

    If you would know that $P(\text{pos | $\neg$ inf}) = 0.002$ and $P(\text{pos | inf}) = 0.998$ then you could deduce the prior $P(\text{$\neg$ inf})$ and $P(\text{inf})$ from

    $$\begin{array}{rccccccc} \underbrace{P(\text{pos})}_{0.068} &=& \underbrace{P(\text{pos | $\neg$ inf})}_{0.002}\cdot P(\text{$\neg$ inf}) + \underbrace{P(\text{pos | inf})}_{0.998}\cdot \underbrace{P(\text{ inf})}_{1-P(\text{$\neg$ inf})}\\ \end{array}$$

    which leads to

    $$P(\text{$\neg$ inf}) = \frac{0.998-0.068}{0.996} \approx 0.934$$

    and

    $$P(\text{$\neg$ inf| pos}) = \frac{0.002 \cdot \frac{0.998-0.068}{0.996}}{0.068} \approx 0.0275 $$

You wrongly assume

$$\begin{array}{}P(\text{positive test given infected}) & =& 1 - P(\text{positive test given not infected}) \\ &=& 1-0.002 \\&=& 0.998 \end{array}$$

You are only given the information $P(\text{positive test given not infected}) = 0.002$ but not $P(\text{positive test given infected}) = 0.998$.


So your first half of the reasoning seems correct.

$$\begin{array}{}P(\text{not infected | positive}) &=& \frac{P(\text{positive | not infected})\cdot P(\text{not infected})}{P(\text{positive})} \\ &=& \frac{0.002 \cdot 0.976}{0.068} \\ &=& 0.0287 \end{array}$$


However we get strange values when we try to deduce $P(\text{positive | infected})$ from

$$\begin{array}{rcl}P(\text{infected | positive}) &=& \frac{P(\text{positive | infected})\cdot P(\text{ infected})}{P(\text{positive})} \\ 0.9713&=& \frac{? \cdot 0.024}{0.068} \end{array}$$

or alternatively from

$$\begin{array}{} P(\text{pos}) &=& P(\text{pos | $\neg$ inf})\cdot P(\text{$\neg$ inf}) + P(\text{pos | inf})\cdot P(\text{ inf})\\ 0.068 &=& 0.002 \frac{40}{41} + P(\text{pos | inf}) \frac{1}{41} \end{array}$$

or

$$P(\text{pos | inf}) = 0.068 \cdot 41 - 0.002\cdot 40 = 2.708$$

Which is not possible. Intuitively we can see this more directly... If only 1 in 41 people are sick (2.43 %)then it is strange to find that 6.8% of the tests are positive. The percentage of positive tests is much higher than the people that are sick.

This can be explained in two ways:

  • The false positive rate is not correct (it should be much higher and somewhere close to this 6.8%).
  • Among the people that are performing tests there are a higher proportion of sick people (higher than 1 in 41).

Your first half of the reasoning seems correct.

$$\begin{array}{}P(\text{not infected | positive}) &=& \frac{P(\text{positive | not infected})\cdot P(\text{not infected})}{P(\text{positive})} \\ &=& \frac{0.002 \cdot 0.976}{0.068} \\ &=& 0.0287 \end{array}$$


However we get strange values when we try to deduce $P(\text{positive | infected})$ from

$$\begin{array}{rcl}P(\text{infected | positive}) &=& \frac{P(\text{positive | infected})\cdot P(\text{ infected})}{P(\text{positive})} \\ 0.9713&=& \frac{? \cdot 0.024}{0.068} \end{array}$$

or alternatively from

$$\begin{array}{rcl} P(\text{pos}) &=& P(\text{pos | $\neg$ inf})\cdot P(\text{$\neg$ inf}) + P(\text{pos | inf})\cdot P(\text{ inf})\\ 0.068 &=& 0.002 \frac{40}{41} + P(\text{pos | inf}) \frac{1}{41} \end{array}$$

or

$$P(\text{pos | inf}) = 0.068 \cdot 41 - 0.002\cdot 40 = 2.708$$

Which is not possible. Intuitively we can see this more directly... If only 1 in 41 people are sick (2.43 %)then it is strange to find that 6.8% of the tests are positive. The percentage of positive tests is much higher than the people that are sick.

This can be explained in two ways:

  • The false positive rate is not correct (it should be much higher and somewhere close to this 6.8%).

    However, if this is a realistic example about Covid-19 testing then the false positive rate is probably not so high (unless something went very wrong).

  • Among the people that are performing tests there are a higher proportion of sick people (higher than 1 in 41).

    If you would know that $P(\text{pos | $\neg$ inf}) = 0.002$ and $P(\text{pos | inf}) = 0.998$ then you could deduce the prior $P(\text{$\neg$ inf})$ and $P(\text{inf})$ from

    $$\begin{array}{rccccccc} \underbrace{P(\text{pos})}_{0.068} &=& \underbrace{P(\text{pos | $\neg$ inf})}_{0.002}\cdot P(\text{$\neg$ inf}) + \underbrace{P(\text{pos | inf})}_{0.998}\cdot \underbrace{P(\text{ inf})}_{1-P(\text{$\neg$ inf})}\\ \end{array}$$

    which leads to

    $$P(\text{$\neg$ inf}) = \frac{0.998-0.068}{0.996} \approx 0.934$$

    and

    $$P(\text{$\neg$ inf| pos}) = \frac{0.002 \cdot \frac{0.998-0.068}{0.996}}{0.068} \approx 0.0275 $$

Source Link
Sextus Empiricus
  • 86.5k
  • 6
  • 115
  • 302

You wrongly assume

$$\begin{array}{}P(\text{positive test given infected}) & =& 1 - P(\text{positive test given not infected}) \\ &=& 1-0.002 \\&=& 0.998 \end{array}$$

You are only given the information $P(\text{positive test given not infected}) = 0.002$ but not $P(\text{positive test given infected}) = 0.998$.


So your first half of the reasoning seems correct.

$$\begin{array}{}P(\text{not infected | positive}) &=& \frac{P(\text{positive | not infected})\cdot P(\text{not infected})}{P(\text{positive})} \\ &=& \frac{0.002 \cdot 0.976}{0.068} \\ &=& 0.0287 \end{array}$$


However we get strange values when we try to deduce $P(\text{positive | infected})$ from

$$\begin{array}{rcl}P(\text{infected | positive}) &=& \frac{P(\text{positive | infected})\cdot P(\text{ infected})}{P(\text{positive})} \\ 0.9713&=& \frac{? \cdot 0.024}{0.068} \end{array}$$

or alternatively from

$$\begin{array}{} P(\text{pos}) &=& P(\text{pos | $\neg$ inf})\cdot P(\text{$\neg$ inf}) + P(\text{pos | inf})\cdot P(\text{ inf})\\ 0.068 &=& 0.002 \frac{40}{41} + P(\text{pos | inf}) \frac{1}{41} \end{array}$$

or

$$P(\text{pos | inf}) = 0.068 \cdot 41 - 0.002\cdot 40 = 2.708$$

Which is not possible. Intuitively we can see this more directly... If only 1 in 41 people are sick (2.43 %)then it is strange to find that 6.8% of the tests are positive. The percentage of positive tests is much higher than the people that are sick.

This can be explained in two ways:

  • The false positive rate is not correct (it should be much higher and somewhere close to this 6.8%).
  • Among the people that are performing tests there are a higher proportion of sick people (higher than 1 in 41).