Google Answers Logo
View Question
 
Q: quantitative / statisitcs ( Answered,   0 Comments )
Question  
Subject: quantitative / statisitcs
Category: Business and Money > Economics
Asked by: k9queen-ga
List Price: $15.00
Posted: 28 Oct 2003 07:48 PST
Expires: 27 Nov 2003 07:48 PST
Question ID: 270416
Assume that you produce computer software.  After the software is
produced you have people test it.  The people running the test have an
accuracy rate of 95%.  This means that if there is a problem that they
discover it in 95% of the cases; 5% of the time they fail to discover
it. It also means that if the  software is okay 95% of the time they
realize this but 5% of the time they declare a piece of software that
is okay to be defective.
Here now the question: Assume 10,000 units of software are tested.  Of
those that the people declare to have a problem, what proportion
really do have a problem?  Based on past experience 1% of all software
has a problem.  Show your reasoning and explain your reasoning.
Answer  
Subject: Re: quantitative / statisitcs
Answered By: elmarto-ga on 28 Oct 2003 10:25 PST
 
Hi again k9queen!
In order to answer this question, recall first the definition of
conditional probability. If A and B are events, then:

P(A/B)=P(A and B)/P(B).

Let'see the information we have from the problem. We know that, if the
software is defective, there is a 0.95 probability that the tester
will say it's defective. Call the events:

D: The software is defective
OK: The software is not defective
SD: The tester says the software is defective
SOK: The tester says the software is not defective

Then we know from the problem that:

P(SD/D) = 0.95 = P(SD and D)/P(D)

and

P(SOK/OK) = 0.95 = P(SOK and OK)/P(OK)

This is the information we have. The problem is to determine the
probability that a piece of software is defective given that the
tester said it's defective. In other words, we must find:

P(D/SD) = P(D and SD)/P(SD)

Thus we must find P(D and SD) and P(SD). Once we know those
probabilities, we get the answer by dividing them.

Obtaining P(D and SD) is easy. Recall that we know that

0.95 = P(SD and D)/P(D)

and we also know that P(D)=0.01. Therefore, P(SD and D) (which is
obviously equal to P(D and SD) ), is basically:

0.95 = P(SD and D)/0.01
0.0095 = P(SD and D)

Now we need to find P(SD). We can decompose P(SD) in the following
way:

P(SD) = P(SD/D)*P(D) + P(SD/OK)*P(OK)

As you can see, the first term of this sum is P(SD and D), while the
second term is P(SD and OK). When summing them, we get the marginal
probability P(SD), which is the number we need. From the previous
lines, we already know that the first term is 0.0095. What about
P(SD/OK)*P(OK)? Since P(SOK/OK)=0.95, then P(SD/OK)=0.05. Also, since
P(D)=0.01, then P(OK)=0.99. Therefore, P(SD/OK)*P(OK)=0.0495. So,

P(SD) = 0.0095 + 0.0495
P(SD) = 0.059

Finally,

P(D/SD) = P(D and SD)/P(SD) = 0.0095/0.059 = 0.16

So we found that a proportion 0.16 of those which are reported as
defective are actually defective.


Google search strategy
conditional probability
://www.google.com.ar/search?hl=es&ie=UTF-8&oe=UTF-8&q=conditional+probability&meta=


I hope this helps! If you have any doubts regarding my answer, please
request a clarification before rating it; otherwise I await your
clarification and final comments.

Best wishes!
elmarto
Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy