The five most common words appearing in spam emails are shipping!, today!, here!, available, and fingertips! (Andy Greenberg, “The Most Common Words In Spam Email,” Forbes website, March 17, 2010). Many spam filters separate spam from ham (email not considered to be spam) through application of Bayes’ theorem. Suppose that for one email account, 1 in every 10 messages is spam and the proportions of spam messages that have the five most common words in spam email are given below. shipping! .051 today! .045 here! .034 available .014 fingertips! .014 Also suppose that the proportions of ham messages that have these words are shipping! .0015 today! .0022 here! .0022 available .0041 fingertips! .0011 a. If a message includes the word shipping!, what is the probability the message is spam? If a message includes the word shipping!, what is the probability the message is ham? Should messages that include the word shipping! be flagged as spam? b. If a message includes the word today!, what is the probability the message is spam? If a message includes the word here!, what is the probability the message is spam? Which of these two words is a stronger indicator that a message is spam? Why? c. If a message includes the word available, what is the probability the message is spam? If a message includes the word fingertips!, what is the probability the message is spam? Which of these two words is a stronger indicator that a message is spam? Why? d. What insights do the results of parts (b) and (c) yield about what enables a spam filter that uses Bayes’ theorem to work effectively?
The five most common words appearing in spam emails are shipping!, today!, here!,
available, and fingertips! (Andy Greenberg, “The Most Common Words In Spam Email,”
Forbes website, March 17, 2010). Many spam filters separate spam from ham (email not
considered to be spam) through application of Bayes’ theorem. Suppose that for one email
account, 1 in every 10 messages is spam and the proportions of spam messages that have
the five most common words in spam email are given below.
shipping! .051
today! .045
here! .034
available .014
fingertips! .014
Also suppose that the proportions of ham messages that have these words are
shipping! .0015
today! .0022
here! .0022
available .0041
fingertips! .0011
a. If a message includes the word shipping!, what is the
If a message includes the word shipping!, what is the probability the message is ham?
Should messages that include the word shipping! be flagged as spam?
b. If a message includes the word today!, what is the probability the message is spam? If
a message includes the word here!, what is the probability the message is spam? Which
of these two words is a stronger indicator that a message is spam? Why?
c. If a message includes the word available, what is the probability the message is spam?
If a message includes the word fingertips!, what is the probability the message is spam?
Which of these two words is a stronger indicator that a message is spam? Why?
d. What insights do the results of parts (b) and (c) yield about what enables a spam filter
that uses Bayes’ theorem to work effectively?
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 7 images