Question #347000

Question 1.12 [2, 3]


Catherine has a Gmail account and categorises her emails according to work and non-work related


emails. The probability that an email is a work-related email is 65.32%. Suppose furthermore it is


given that the probability that a work-related email received is a spam email is 15.34% and that if it


is a non-work related email that it is spam is 5.6%.


Calculate the following probabilities


a) That an email received by Catherine is a spam email.


b) Given that the email is spam what is the probability that it is a non-work-related email.

1
Expert's answer
2022-06-08T17:49:35-0400

Solution:

Let's denote given values:

P(w)=0.6532P(w)=0.6532 - probability of work-related emails;

P(nw)=1P(w)=0.3468P(nw)=1-P(w)=0.3468 - probability of non-work-related emails;

P(ws)=0.1534P(ws)=0.1534 - probability of work-related spam emails;

P(nws)=0.056P(nws)=0.056 - probability of non-work-related spam emails.

Find:

a) P(s)P(s) - probability of spam emails;

b) P(s1)P(s1) - probability of non-work-related spam emails, when received email is spam.

We will use general formula of calculation probability:

a) P(s)=NsNw+NnwP(s)=\frac{Ns}{Nw+Nnw} , (1)

NsNs - number of spam emails;

NwNw - number of work-related emails;

NnwNnw - number of non-work-related emails;

We know:

Nnws=NnwP(nws)Nnws=NnwP(nws) - number of non-work-related spam emails;

Nws=NwP(ws)Nws=NwP(ws)- number of work-related spam emails;

Ns=Nws+Nnws;Ns=Nws+Nnws;

NwNnw=P(w)P(nw;\frac{Nw}{Nnw}=\frac{P(w)}{P(nw};

So, if we put all of them to (1) formula:

P(s)=P(nw)P(nws)+P(w)P(ws)P(w)+P(nw)=0.3468×0.056+0.6532×0.15340.6532+0.3468=0.1196;P(s)=\frac{P(nw)P(nws)+P(w)P(ws)}{P(w)+P(nw)}=\frac{0.3468\times0.056+0.6532\times0.1534}{0.6532+0.3468}=0.1196; or P(s)=11.96P(s)=11.96 %.


b) P(s1)=NnwsNs=NnwsNnws+Nws;P(s1)=\frac{Nnws}{Ns}=\frac{Nnws}{Nnws+Nws};


Nws=Nnws×P(w)P(ws)P(nw)P(nws);Nws=Nnws\times\frac{P(w)P(ws)}{P(nw)P(nws)}; So,


P(s1)=P(nw)P(nws)P(nw)P(nws)+P(w)P(ws)=0.3468×0.0560.3468×0.056+0.6532×0.1534=0.1623;P(s1)=\frac{P(nw)P(nws)}{P(nw)P(nws)+P(w)P(ws)}=\frac{0.3468\times0.056}{0.3468\times0.056+0.6532\times0.1534}=0.1623;

or P(s1)=16.23P(s1)=16.23 %.

Answer:

a) P(s)=11.96P(s)=11.96 %;

b) P(s1)=16.23P(s1)=16.23 %.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS