Question #328079

According to IT department of leading financial firm, 50% of emails received by their employees are spam. They are planning to install a software which filters the spam emails. A reputable cybersecurity brand has launched a software which claims to detect 99% of spam emails. However, they have also reported 5% as the chance of detecting a nonspam email as spam. If an email is detected as spam, what is the probability of it in fact being a non-spam email? 


1
Expert's answer
2022-04-14T03:14:46-0400

Let the event A is that the email is detected as spam,

B1 - the email is a spam email,

B2 - the email is not a spam email.

50% of emails are spam,

P(B1)=P(B2)=0.5,P(AB1)=0.99,P(AB2)=0.05.P(B_1) =P(B_2)=0.5,\\ P(A|B_1)=0.99,P(A|B_2)=0.05.

The sought probability we'll find using Bayes theorem:

P(B2A)==P(AB2)P(B2)P(AB1)P(B1)+P(AB2)P(B2)==0.050.50.990.5+0.050.5=0.0250.52=5104=0.0481.P(B_2|A)=\\ =\cfrac{P(A|B_2)\cdot P(B_2)}{P(A|B_1)\cdot P(B_1)+P(A|B_2)\cdot P(B_2)}=\\ =\cfrac{0.05\cdot0.5} {0.99\cdot0.5+0.05\cdot0.5} =\cfrac{0.025}{0.52} =\cfrac{5}{104}=0.0481.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS