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

Consider again the conditions of Example 2.3.4 in this section, in which an item was selected at random from a batch of manufactured items and was found to be defective.For which values ofi(i=1,2,3) is the posterior probability that the item was produced by machineMilarger than the prior probability that the item was producedby machineMi?

Short Answer

Expert verified

For\(\left( {i = 3} \right)\), the posterior probability that the item was produced by machine \({M_i}\) larger than the prior probability that the item was produced by machine \({M_i}\)

Step by step solution

01

Given information

The number of different machines used for producing a large batch of similar manufactured products is 3, labelled by\({M_1},{M_2},{M_3}\).

20% of the items were produced by machine 1, 30% of the items were produced by machine 2, and 50% of the products were produced by machine 3.

And also said that 1% of items are defectively made by machine 1, 2% of the products are defectively made by machine 2 and 3% of products are defectively made by machine 3.

One item was selected at random from a batch of manufactured items and found to be defective.

As given in the example 2.3.4, we know that\({B_i}\)is the event of selecting an item, produced by machine\({M_i}\;Where\;i = \left( {1,2,3} \right)\). And A be the event of selecting a defective item.

So, we know,

\(P\left( {{B_1}} \right) = 0.20\),\(P\left( {{B_2}} \right) = 0.30\),\(P\left( {{B_3}} \right) = 0.50\)

And also know that the probability of an item produced by machine\({M_i}\), will be defective. That is,

\(P\left( {A|{B_1}} \right) = 0.01\),\(P\left( {A|{B_2}} \right) = 0.02\),\(P\left( {A|{B_3}} \right) = 0.03\)

And the probability that a randomly chosen defective item is produced by machine 2 is, \(P\left( {{B_2}|A} \right) = 0.26\)

02

Compute the probabilities for machines 1 and 2

Now we have to calculate theprobabilities that the randomly selected item is manufacturedby machine 1 and machine 2. And the posterior probability for machine 2 is already given that is 0.26

So,

\(\begin{aligned}{}P\left( {{B_1}|A} \right) &= \frac{{P\left( {{B_1}} \right)P\left( {A|{B_2}} \right)}}{{\sum\limits_{i = 1}^3 {P\left( {{B_i}} \right)P\left( {A|{B_i}} \right)} }}\\ &= \frac{{0.2 \times 0.01}}{{\left( {0.2 \times 0.01} \right) + \left( {0.3 \times 0.02} \right) + \left( {0.5 \times 0.03} \right)}}\\ &= 0.086\end{aligned}\)

And,

\(\begin{aligned}{}P\left( {{B_3}|A} \right) &= \frac{{P\left( {{B_3}} \right)P\left( {A|{B_3}} \right)}}{{\sum\limits_{i = 1}^3 {P\left( {{B_i}} \right)P\left( {A|{B_i}} \right)} }}\\ &= \frac{{0.5 \times 0.03}}{{\left( {0.2 \times 0.01} \right) + \left( {0.3 \times 0.02} \right) + \left( {0.5 \times 0.03} \right)}}\\ &= 0.65\end{aligned}\)

So, we can see that the probability of the defected item is from machine 2 is 0.08 and from machine 3 that is 0.65.

03

Denote the prior andposterior probabilities

In the probability theory the prior probabilities are the probabilities to know prior to obtaining some additional data or information. And posterior probabilities are the probabilities of events after obtaining the additional data.

Here\({\bf{P}}\left( {{{\bf{B}}_{\bf{1}}}} \right){\bf{,P}}\left( {{{\bf{B}}_{\bf{2}}}} \right)\;{\bf{and}}\;{\bf{P}}\left( {{{\bf{B}}_{\bf{3}}}} \right)\)are the prior probabilities and\({\bf{P}}\left( {{{\bf{B}}_{\bf{1}}}{\bf{|A}}} \right){\bf{,P}}\left( {{{\bf{B}}_{\bf{2}}}{\bf{|A}}} \right)\;{\bf{and}}\;{\bf{P}}\left( {{{\bf{B}}_{\bf{3}}}{\bf{|A}}} \right)\)are the posterior probabilities.

04

Calculate the larger posterior probabilities values

We can clearly see that the posterior probability for machine 3, that is \(\left( {i = 3} \right)\)is larger than its prior probability that is \(P\left( {{B_3}|A} \right) > P\left( {{B_3}} \right)\). As machine 3 produced a large proportion of items so the probability of getting a defective item also increases for machine 3.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

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

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

A new test has been devised for detecting a particular type of cancer. If the test is applied to a person who has this type of cancer, the probability that the person will have a positive reaction is 0.95 and the probability that the person will have a negative reaction is 0.05. If the test is applied to a person who does not have this type of cancer, the probability that the person will have a positive reaction is 0.05 and the probability that the person will have a negative reaction is 0.95. Suppose that in the general population, one person out of every 100,000 people has this type of cancer. If a person selected at random has a positive reaction to the test, what is the probability that he has this type of cancer?

Consider again the three different conditions (a), (b), and (c) given in Exercise 2, but suppose now that p < 1/2. For which of these three conditions is there the greatest probability that gambler A will win the initial fortune of gambler B before he loses his own initial fortune?

Suppose that the probability of a head on any toss of a certain coin isp(0<p <1), and suppose that the coin is tossed repeatedly. LetXndenote the total number ofheads that have been obtained on the firstntosses, and letYn=nโˆ’Xndenote the total number of tails on the firstntosses. Suppose that the tosses are stopped as soon as a numbernis reached such that eitherXn=Yn+3 orYn=Xn+3. Determine the probability thatXn=Yn+3when the tosses are stopped.

Consider the World Series of baseball, as described in Exercise 16 of Sec. 2.2. If there is probability p that team A will win any particular game, what is the probability that it will be necessary to play seven games in order to determine the winner of the Series?

Consider again the conditions of Example 2.3.5, in which the phenotype of an individual was observed and found to be the dominant trait. For which values ofi,(i=1, . . . ,6) is the posterior probability that the parents have the genotypes of event\({{\bf{B}}_{\bf{i}}}\)smaller than the prior probability that the parents have the genotypes of event\({{\bf{B}}_{\bf{i}}}\)?

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