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?