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]
4 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]4 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
6x+18y-(53w+x-y+29) - (6x-(1+11)<br> x=2 y=3 w=-3
Luba_88 [7]
12+54+131 - (12-(12))
197 -(12-12)
197-0
197 
7 0
3 years ago
Read 2 more answers
The factorization of x² + x + xy + y + zx + z is<br>answer meenu plz​
Juliette [100K]

Answer:

x2+x+xy+y+zx+z \\ =x(x+1+y+y+z)+z \\ =x(x+2y+z+1)+z

6 0
3 years ago
Read 2 more answers
So I’m thinking is the answer $0?
Elina [12.6K]
I agree im not the best at math but I think it is $0. Hope this helps. Sorry if im wrong.
5 0
4 years ago
Read 2 more answers
Then, the bug ran from −100 to 100. What distance did it cover? If the average speed of the bug during this run was 20 units per
asambeis [7]

Answer:

200 units.

10 minutes.

Step-by-step explanation:

Distance = 100 - (-100)

= 100 + 100

= 200 units.

Speed = distance / time

20 = 200/ t

t =  200/20

= 10 minutes.

8 0
4 years ago
Which of the following statements is not true?
alekssr [168]
A. 1 1/2 is equal to 1.5, so this is true
B. 3/4 is equal to 0.75 and 7/8 is equal to 0.875, this is true
C. -1.5 is less than both -1 and 1.5, this is false
D. 0.01 is less than 0.1, this is true

So the answer to your question is C
3 0
3 years ago
Read 2 more answers
Other questions:
  • Write four hundredths in standard form.
    9·2 answers
  • Identify the stem of the following number: 629
    15·2 answers
  • What are these values?
    7·1 answer
  • Ask Your Teacher (a) What is the difference between a sequence and a series? A sequence is an unordered list of numbers whereas
    12·1 answer
  • What is 10 2/3 rounded to the nearest half
    14·2 answers
  • 2
    14·1 answer
  • What is the slope in the equation y=4x+3
    7·2 answers
  • Write an expression that is equivalent to three over four (5z+ 16). (4 points)
    15·1 answer
  • In a group of 450 students, 250 like oranges 280 like apples and 40 dislike both<br> the fruits<br>​
    5·2 answers
  • 6 more than the quotient<br> of a number and 5
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!