\[\begin{align} \Pr(\text{Written by AI}) &= 1/100 \\ \Pr(\text{Predicted Positive | Written by AI}) &= 96/100 \\ \Pr(\text{Predicted Positive | Written by humans}) &= 10/100 \end{align}\]
We are looking for the probability of \(\Pr(\text{Written by AI | Predicted Positive})\). From Bayes’ rule, we know that:
\[ \Pr(\text{Written by AI | Predicted Positive}) = \frac{\Pr(\text{Predicted Positive | Written by AI}) \Pr(\text{Written by AI})}{\Pr(\text{Predicted Positive})} \]
From the above, we only need to estimate the denominator:
\[ \begin{align} \Pr(\text{Predicted Positive} &= \Pr(\text{Predicted Positive | Written by AI}) * \Pr(\text{ Written by AI}) \\ &+ \Pr(\text{Predicted Positive | Written by humans}) * \Pr(\text{ Written by humans}) \\ &= 0.96 * 0.01 + 0.1 * 0.99 = 0.1086 \end{align} \]
Plugging the numbers we get:
\[ \Pr(\text{Written by AI | Predicted Positive}) = \frac{(0.96 * 0.01)}{0.1086} = 0.088 \]