-
An individual has 3 different email accounts.
- Most of her messages, in fact 70%, come into account #1,
- whereas come into account #2
- and the remaining into account #3.
-
Of the messages into account #1, only 1% are spam,
- whereas the corresponding percentages for accounts #2
- and #3 are and , respectively.
-
What is the probability that a randomly selected message is spam?
-
To answer this question, let’s first establish some notation:
- message is from account for
- message is spam
-
Then the given percentages imply that
-
We have
-
Now it is simply a matter of substituting into the equation for the law of total probability:
- In the long run,
- of this individual’s messages will be spam.