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
Are the equations 3x=−9 and 4x=−12 equivalent? Explain.
pochemuha

Answer:

Step-by-step explanation:

ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff

4 0
3 years ago
A raindrop falls at 200m per minute. how long will it take a raindrop to travel 6000m?
Kryger [21]
The first thing you should know is that by definition:
 d = v * t
 Where
 d: distance
 v: speed
 t: time
 We then have to clear the time:
 t = (d) / (v)
 Substituting the values:
 t = (6000) / (200)
 t = 30 minutes
 Answer: 
 It will take a raindrop to travel 6000m about: 
 t = 30 minutes
5 0
4 years ago
What is 1.8 repeating as a mixed number
zhuklara [117]
1 8/10 is the answer
7 0
3 years ago
Read 2 more answers
A triangle has sides with lengths of 8 inches, 15 inches, and 17 inches. Is it a right triangle?
In-s [12.5K]

Answer:

Yes

Step-by-step explanation:

A square plus b square equal c square

3 0
3 years ago
Read 2 more answers
Please help with these problems!!!
nataly862011 [7]

Answer:

12345678901234567890

3 0
3 years ago
Other questions:
  • Why do we divide by 4
    5·1 answer
  • Which measure is usually the least useful in describing the data for a stem-and-leaf plot? range median mode mean
    14·1 answer
  • Is 2 thirds equivalent to 6 tenths
    7·2 answers
  • Can I get some help with 4) and 5) plz
    11·1 answer
  • What is the solution set of |x – 4| + 7 = 4?
    9·1 answer
  • When I was 6 my sister was half my age<br><br> Now I'm 70 how old is my sister?
    15·2 answers
  • 2 taps A and B can fill a swimming pool in 3 hours. If turned on alone, it takes tap A 5 hours less than tap B to fill the same
    14·1 answer
  • Write the inverse of the equation in f '(x) notation<br> X + 5y = 15
    8·1 answer
  • Which three side lengths best describe the triangle in the diagram
    6·2 answers
  • Given the graph, which coordinate point is NOT a solution?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!