document.write( "Question 974803: How do you apply the Bayes' Theorem? Thank you. \r
\n" ); document.write( "\n" ); document.write( "Use Bayes Theorem for the following
\n" ); document.write( "In the current second year class of a top ranked US university, all students come from three states in the US . Kansas, Illinois, and Ohio supply respectively 40%, 50%, and 10% of the students. The failure rate of students is 4%, 2%, and 6% respectively.\r
\n" ); document.write( "\n" ); document.write( "What is the probability that a student chosen at random will fail?
\n" ); document.write( "Given that a student fails , what is the probability that he or she came form Kansas?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #596618 by solver91311(24713)\"\" \"About 
You can put this solution on YOUR website!
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let denote the event that a randomly chosen student comes from state where and 1 represents Kansas, 2 represents Illinois, and 3 represents Ohio. Let represent the event that a randomly chosen student will fail. We are given the following infomation:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If a student is from Kansas, then the probability that student will fail is 0.04. That is to say: . By the same analysis, we have, overall:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "To answer the first question, we use the following:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The arithmetic is left as an exercise for the student.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Second question: Given that has occurred, we then want to calculate the conditional probability of . By Bayes' Theorem:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The rest is arithmetic.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "John
\n" ); document.write( "
\n" ); document.write( "My calculator said it, I believe it, that settles it\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );