I have a set of 10000 elements to buy; I want to do some quality assurance activity in order to avoid to buy invalid elements. I have an automatic test that provides the probability of correctness of an element; moreover I know that the test gives a 20% of false positive and a 30 % of false negative.(adsbygoogle = window.adsbygoogle || []).push({});

1)Suppose that I have an element of which the test estimate a probability of correctness of 75%; which is the posterior probability?

I’m afraid I’m unable to apply the Bayesian theorem because I do not know the number of correct elements. My instinct tells me to count the frequency in the past in which an element was really correct when the estimated probability by the tool was less or equal then 75%; suppose that such frequency is 50%. Consequently, my instinct will say that an element of which the test estimate a probability of correctness of 75% has a posterior probability to be correct of 50%. Am I right???

2) Suppose that I cannot check all the elements by eye but I need to use the automatic test to prioritize the elements to check; suppose that I run the automatic test on all the elements and then I order the elements according to the probability of correctness provided by the test; suppose that I’ve analyzed all the elements with a probability of correctness lower 70%; how to calculate the probability that there is an incorrect elements in the remaining ones (i.e. the ones with a probability of correctness higher than 70%)???

Please help me!

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Bayesian or not Bayesian,this is my problem

**Physics Forums | Science Articles, Homework Help, Discussion**