Spam filter

30% of incoming email is spam. The word "free" appears in 60% of spam and 5% of legitimate mail. An email contains the word "free." What is the probability it is spam? Give your answer as a decimal (to 2 decimals).

Show hints (2)+
  1. Weight "free in spam" and "free in legit" by their base rates.
  2. Then normalize over both ways the word can appear.

Answer

Reveal answer →

0.84 (± 0.01)

Create a free account to see the full worked solution and track your progress.

Interview format: Hedge Fund Quant, Systematic & Data-Driven Trading

Related questions