Answer:
The probability that a message is spam, given that it contains the word "text", is 73.69%
Step-by-step explanation:
We define the events:
A= messages are identified as spam
B= the word "text" is contained in the messages
Hence,
P(A)=13.40%
P(B)=7.01%
P(B|A)=38.55%
The conditional probability of the Bayes theorem is given by:
[tex]P(A|B)=\frac{P(A)P(B|A)}{P(B)}[/tex]
Then,
[tex]P(A|B)=\frac{13.40*38.55}{7.01} [/tex] =73.69%