Question

In: Computer Science

4. Bayes Theorem - One way of thinking about Bayes theorem is that it converts a-priori...

4. Bayes Theorem - One way of thinking about Bayes theorem is that it converts a-priori probability to a-posteriori probability meaning that the probability of an event gets changed based upon actual observation or upon experimental data. Suppose you know that there are two plants that produce helicopter doors: Plant 1 produces 1000 helicopter doors per day and Plant 2 produces 4000 helicopter doors per day. The overall percentage of defective helicopter doors is 0.01%, and of all defective helicopter doors, it is observed that 50% come from Plant 1 and 50% come from Plant 2. [8 points]

(i) The a-priori probability of defective helicopter doors produced by Plant 1 is:

a. 0.0001

b. 0.5

c. 0.002

d. 0.0001 * 0.5

(ii) Probability of helicopter doors produced by Plant 1:

a. 0.5

b. 0.002

c. 0.4

d. 0.2

(iii) Probability of a helicopter door produced by Plant 1 given that the door is defective is:

a. 0.0001

b. 0.5

c. 0.002

d. 0.2 * 0.0001

Solutions

Expert Solution

ANSWER:

Given Information,

  • Doors Produced by Plant 1 = 1000 units
  • Doors Produced by Plant 2 = 4000 units
  • Overall defective doors percentage = 0.01% = 50 units
  • Defective percentage by plant 1 from overall = 50% = 25 units
  • Defective percentage by plant 2 from overall = 50% = 25 units

(i). The a-priori probability of defective helicopter doors produced by Plant 1 is?

Answer: b. 0.5

Explanation: A Priori Probability = Desired Outcome(s)/The Total Number of Outcomes

P(Defective door by Plant 1) = 25/50 = 0.5

(ii). Probability of helicopter doors produced by Plant 1?

Answer: d. 0.2

Explanation: Probability = Observed Outcome(s)/The Total Number of Outcomes

P(helicopter doors produced by Plant 1) = 1000/5000 = 0.2

(iii). Probability of a helicopter door produced by Plant 1 given that the door is defective is?

Answer: b. 0.5

Explanation:

  • P(A|B) – the probability of event A occurring, given event B has occurred
  • P(B|A) – the probability of event B occurring, given event A has occurred
  • P(A) – the probability of event A
  • P(B) – the probability of event B

Here, P(A) = Probablity of helicopter door produced by Plant 1 = 0.2

P(B) = Probablity the door is defective = 0.01

P(B|A) = Probablity that door is defective, given produced by Plant 1 = 25 / 1000 = 0.025


Related Solutions

4. Bayes Theorem - One way of thinking about Bayes theorem is that it converts a-priori...
4. Bayes Theorem - One way of thinking about Bayes theorem is that it converts a-priori probability to a-posteriori probability meaning that the probability of an event gets changed based upon actual observation or upon experimental data. Suppose you know that there are two plants that produce helicopter doors: Plant 1 produces 1000 helicopter doors per day and Plant 2 produces 4000 helicopter doors per day. The overall percentage of defective helicopter doors is 0.01%, and of all defective helicopter...
When is the Bayes' rule (not the Bayes' theorem) optimal? Explain the meaning of that by...
When is the Bayes' rule (not the Bayes' theorem) optimal? Explain the meaning of that by using a 2x2 confusion matrix
The formula I=PAT is one way of thinking about the effects of society on the environment.  ...
The formula I=PAT is one way of thinking about the effects of society on the environment.   According to this formula, which country will have the biggest effect on the natural world?             a) Singapore             b) Ghana             c) China             d) Mauritius   e) Switzerland
1. What is dependent and independent event. 2. What is the relevance of Bayes theorem in...
1. What is dependent and independent event. 2. What is the relevance of Bayes theorem in posterior probability? 3. what is the difference between discrete and continuous probability distributions?
A software company is trying to use Bayes Theorem and other rules of probability to develop...
A software company is trying to use Bayes Theorem and other rules of probability to develop an algorithm that can effectively filter out spam emails. The company’s software developers carefully examined a random sample of 5,000 emails received by its employees and found out that 1200 of the emails were spam. A closer look at the spam emails revealed that 300 of them contained the word ‘free’ in the subject line. On the other hand, only 228 of the non-spam...
A software company is trying to use Bayes Theorem and other rules of probability to develop...
A software company is trying to use Bayes Theorem and other rules of probability to develop an algorithm that can effectively filter out spam emails. The company’s software developers carefully examined a random sample of 20,000 emails received by its employees and found out that 4,400 of the emails were spam. A closer look at the spam emails revealed that 1,100 of them contained the word ‘free’ in the subject line. On the other hand, only 780 of the non-spam...
Bayesian analysis is a probabilistic classification method based on Bayes' theorem (postulated by an English Mathematician...
Bayesian analysis is a probabilistic classification method based on Bayes' theorem (postulated by an English Mathematician named Thomas Bayes). In summary, the Bayesian theory rests on the belief that the evidence about the true state of a given problem can be expressed in term of the degree of understanding of the underlying issues. That degree of understanding can in turn be expressed in terms of probability. And based on the observation, the theorem provides the relationship between the probabilities of...
Now let's use Bayes' theorem and the binomial distribution to address a Bayesian inference question. You...
Now let's use Bayes' theorem and the binomial distribution to address a Bayesian inference question. You toss a bent coin N times, obtaining a sequence of heads and tails. The coin has an unknown bias f of coming up heads. (a) If NH heads have occurred in N tosses, what is the probability distribution of f? Assume a uniform prior P(f) = 1 and make use of the following result: integral 0 to 1 f^a (1 - f)^b df =...
Now let's use Bayes' theorem and the binomial distribution to address a Bayesian inference question. You...
Now let's use Bayes' theorem and the binomial distribution to address a Bayesian inference question. You toss a bent coin N times, obtaining a sequence of heads and tails. The coin has an unknown bias f of coming up heads. (a) If NH heads have occurred in N tosses, what is the probability distribution of f? Assume a uniform prior P(f) = 1 and make use of the following result: integral 0 to 1 f^a (1 - f)^b df =...
Bayes' Theorem- drug screening The national flufferball association decides to implement a drug screening procedure to...
Bayes' Theorem- drug screening The national flufferball association decides to implement a drug screening procedure to test its athletes for illegal performance enhancing drugs. 3% of the professional flufferball players actually use performance enhancing drugs. A test for the drugs has a false positive rate of 2% and a false negative rate of 4%. In other words, a person who does not take the drugs will test positive with probability 0.02. A person who does take the drugs will test...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT