document.write( "Question 81424: An electronic toy manufacturer uses a particular kind of quality test to check the toys. The test indicates defects in 85% of defective toys, but it also indicates defects in 2% of nondefective toys. The test indicates that toy A is defective. If 5% of toys have defects, what is the probability that toy A has a defect? \n" ); document.write( "
Algebra.Com's Answer #58318 by stanbon(75887)![]() ![]() ![]() You can put this solution on YOUR website! An electronic toy manufacturer uses a particular kind of quality test to check the toys. The test indicates defects in 85% of defective toys, but it also indicates defects in 2% of nondefective toys. The test indicates that toy A is defective. If 5% of toys have defects, what is the probability that toy A has a defect? \n" ); document.write( "------------ \n" ); document.write( "Let D be defective and D' be non defective: \n" ); document.write( "The Problem is a Bayes problem. \n" ); document.write( "------- \n" ); document.write( "P(D) = P(D and D) + P(D and D') \n" ); document.write( "=P(D)*P(D|D) + P(D)*P(D|D') \n" ); document.write( "=P(D)[P(D|D)+P(D|D')] \n" ); document.write( "=0.05[0.85+P(D|D')] \n" ); document.write( "Need to find P(D|D') \n" ); document.write( "--------- \n" ); document.write( "P(D|D') = [P(D and D')/P(D')] = [P(D'|D)P(D)/P(D')] = [0.02*0.05/0.95]=0.0010526... \n" ); document.write( "--------- \n" ); document.write( "Put that is the P(D) line up above to get: \n" ); document.write( "P(D)=0.05[0.85+0.0010526]= 0.05(0.8510526)=0.0426 \n" ); document.write( "--------- \n" ); document.write( "P(a randomly selected item is defective is defective )= 0.0426 \n" ); document.write( "========== \n" ); document.write( "Cheers, \n" ); document.write( "Stan H. \n" ); document.write( " |