1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
taurus [48]
3 years ago
15

An e-mail filter is planned to separate valid e-mails from spam. The word free occurs in 60% of the spam messages and only 4% of

the valid messages. Also, 20% of the messages are spam.
1. Determine the following probabilities:
a. The message contains free.
b. The message is spam given that it contains free.
c. The message is valid given that it does not contain free.
Mathematics
1 answer:
ANEK [815]3 years ago
4 0

Answer:

(a) 0.152

(b) 0.789

(c) 0.906

Step-by-step explanation:

Let's denote the events as follows:

<em>F</em> = The word free occurs in an email

<em>S</em> = The email is spam

<em>V</em> = The email is valid.

The information provided to us are:

  • The probability of the word free occurring in a spam message is,             P(F|S)=0.60
  • The probability of the word free occurring in a valid message is,             P(F|V)=0.04
  • The probability of spam messages is,

        P(S)=0.20

First let's compute the probability of valid messages:

P (V) = 1 - P(S)\\=1-0.20\\=0.80

(a)

To compute the probability of messages that contains the word free use the rule of total probability.

The rule of total probability is:

P(A)=P(A|B)P(B)+P(A|B^{c})P(B^{c})

The probability that a message contains the word free is:

P(F)=P(F|S)P(S)+P(F|V)P(V)\\=(0.60*0.20)+(0.04*0.80)\\=0.152\\

The probability of a message containing the word free is 0.152

(b)

To compute the probability of messages that are spam given that they contain the word free use the Bayes' Theorem.

The Bayes' theorem is used to determine the probability of an event based on the fact that another event has already occurred. That is,

P(A|B)=\frac{P(B|A)P(A)}{P(B)}

The probability that a message is spam provided that it contains free is:

P(S|F)=\frac{P(F|S)P(S)}{P(F)}\\=\frac{0.60*0.20}{0.152} \\=0.78947\\

The probability that a message is spam provided that it contains free is approximately 0.789.

(c)

To compute the probability of messages that are valid given that they do not contain the word free use the Bayes' Theorem. That is,

P(A|B)=\frac{P(B|A)P(A)}{P(B)}

The probability that a message is valid provided that it does not contain free is:

P(V|F^{c})=\frac{P(F^{c}|V)P(V)}{P(F^{c})} \\=\frac{(1-P(F|V))P(V)}{1-P(F)}\\=\frac{(1-0.04)*0.80}{1-0.152} \\=0.90566

The probability that a message is valid provided that it does not contain free is approximately 0.906.

You might be interested in
Who is square<br> root 3​
BARSIC [14]

Answer:

Square root of 3 = 1.7321

7 0
3 years ago
Read 2 more answers
Hey can you somebody help me with this problem
irina [24]

Step-by-step explanation:

sinx=20/36

x=sin-¹20/36

x=34

4 0
3 years ago
I am a 3-digit number. If you switch my first and last digits, I decrease by 297. Also, my
malfutka [58]

Answer:

  • 865

Step-by-step explanation:

Let the 3-digit number is <u>abc</u> = 100a + 10b + c.

<u>We have:</u>

  • 100a + 10b + c - 100c - 10b - a = 297
  • b = a - 6
  • a = 2c - 2

<u>Simplify the first equation:</u>

  • 99a - 99c = 297
  • a - c = 3
  • a = c + 3

<u>Solve for c by substitution:</u>

  • 2c - 2 = c + 3
  • 2c - c = 3 + 2
  • c = 5

<u>Find a:</u>

  • a = 3 + 5 = 8

<u>Find b:</u>

  • b = 8 - 2 = 6

<u>The number is:</u>

  • 865
3 0
3 years ago
180537.5 what is it simplified??
olga_2 [115]
180537.5 simplified is 180538
6 0
3 years ago
Malia buys 2 loaves of bread priced at $2.46 per loaf and 2 pound of cheese priced at
aleksandrvk [35]
She spent $19.88 on cheese and bread
7 0
2 years ago
Other questions:
  • Help fast please!!! <br> Find the values of x and y.
    9·2 answers
  • Below are two parallel lines with a third line intersecting them
    10·1 answer
  • Which statement is an example of the transitive property of congruence?
    8·1 answer
  • The table shows Mitch’s record for the last thirty par-3 holes he has played.
    7·1 answer
  • Period - Integrated Math 1) 1 1 55 56 SR 59 60 61 62 63 64 65 66 SR 59 60 61 62 63 64 65 55 36 ST SR 59 60 61 62 63 64 65 605 SS
    14·1 answer
  • Is this right? Im trying to finish all of my work!!
    15·1 answer
  • Hey umm how do you make your stressed mom feel better?
    14·2 answers
  • PLS HELP WILL MARK BRAINLIEST. IF GOTTEN RIGHT SHOW WORK
    9·1 answer
  • A food store makes a 11–pound mixture of peanuts, almonds, and raisins. The cost of peanuts is $1.50 per pound, almonds cost $3.
    6·1 answer
  • The answer the answer
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!