Spam or not? A Bayesian posterior from one word
At an inbox, 30 percent of incoming email is spam. The word "free" appears in 60 percent of spam messages but only 10 percent of legitimate (ham) messages. A new email arrives containing the word "free."
Using Bayes' rule, what is the probability that this email is spam?
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
Which coin did I grab? A Bayesian posteriorFair die or loaded die? A Bayesian posteriorWhich urn? A Bayesian posterior from two drawsFaulty machine? A Bayesian posterior from one defectBayesian updating for a Poisson rate, the Gamma conjugate
All questions →