Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Question: Suppose that and are the events that an incoming mail \({E_1}\)message contains the words \({w_1}\) and \({w_2}\), respectively. Assuming that \({E_1}\) and \({E_2}\) are independent events and that \({E_1}\left| S \right.\) and \({E_2}\left| S \right.\) are independent events, where S is the event that an incoming message is spam, and that we have no prior knowledge regarding whether or not the message is spam, show that

\(p(S|{E_1} \cap {E_2}) = \frac{{p({E_1}|S)p({E_2}|S)}}{{p({E_1}|S)p({E_2}|S) + p({E_1}|\bar S)p({E_2}|\bar S)}}\)

Short Answer

Expert verified

Answer:

We have proved that \(p(S|{E_1} \cap {E_2}) = \frac{{p({E_1}|S)p({E_2}|S)}}{{p({E_1}|S)p({E_2}|S) + p({E_1}|\bar S)p({E_2}|\bar S)}}\)

Step by step solution

Achieve better grades quicker with Premium

  • Unlimited AI interaction
  • Study offline
  • Say goodbye to ads
  • Export flashcards

Over 22 million students worldwide already upgrade their learning with Vaia!

01

Given

\({E_1}\)and \({E_2}\) are the events that an incoming mail message contains the words \({w_1}\) and \({w_2}\), respectively

To Show: \(p(S|{E_1} \cap {E_2}) = \frac{{p({E_1}|S)p({E_2}|S)}}{{p({E_1}|S)p({E_2}|S) + p({E_1}|\bar S)p({E_2}|\bar S)}}\)

02

Formula

Generalized Bayes’ Theorem:

\(P({F_j}/E) = \frac{{P(E/{F_j})P(F)}}{{\sum\nolimits_{j = 1}^n {P(E/{F_j})P({F_j})} }}\)

03

Proof

By applying Bayes’ Theorem

\(p(S/{E_1} \cap {E_2}) = \frac{{p({E_1} \cap {E_2}/S)p(S)}}{{p({E_1} \cap {E_2}/S)p(S) + p({E_1} \cap {E_2}/\bar S)p(\bar S)}}\)

We are assuming that there is no prior knowledge whether a message is or is not a spam,

\(p(S) = p(\bar S) = 0.5\)

So, the above equation becomes

\(p(S/{E_1} \cap {E_2}) = \frac{{p({E_1} \cap {E_2}/S)}}{{p({E_1} \cap {E_2}/S) + p({E_1} \cap {E_2}/\bar S)}}\)

We have assumed the independence of \({E_1}\) and \({E_2}\)and\(S\)

So, we have

\(p({E_1} \cap {E_2}/S) = p({E_1}|S).p({E_2}|S)\)

And similarly for the S

04

Final Answer

Hence, we showed that \(p(S|{E_1} \cap {E_2}) = \frac{{p({E_1}|S)p({E_2}|S)}}{{p({E_1}|S)p({E_2}|S) + p({E_1}|\bar S)p({E_2}|\bar S)}}\)

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Question: Suppose that 4% of the patients tested in a clinic are infected with avian influenza. Furthermore, suppose that when a blood test for avian influenza is given, 97% of the patients infected with avian influenza test positive and that 2% of the patients not infected with avian influenza test positive. What is the probability that:

a) a patient testing positive for avian influenza with this test is infected with it?

b) a patient testing positive for avian influenza with this test is not infected with it?

c) a patient testing negative for avian influenza with this test is infected with it?

d) a patient testing negative for avian influenza with this test is not infected with it?

Question:

(a) To determine the probability that a player who has buys a mega million ticket and megaplier wins \( 5000000.

(b)To determine the probability that a player who has buys a mega million ticket and megaplier wins \) 30000.

(c)To determine the probability that a player who has buys a mega million ticket and megaplier wins \( 20

(d) To determine the probability that a player who has buys a mega million ticket and megaplier wins \) 8.

Question: What is the probability that a five-card poker hand does not contain the queen of hearts?

Question: What is the probability that a five-card poker hand contain the two of diamonds, three of spades, the six of hearts, the ten of clubs, and the king of hearts.

Question: Find the probability of selecting none of the correct six integers in a lottery, where the order in which these integers are selected does not matter, from the positive integers not exceeding

(a) 40.

(b) 48.

(c) 56.

(d) 64.

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free