document.write( "Question 1177086: A consumer goods company recruits several graduating students from universities each year. Concerned about the high cost of training new employees, the company instituted a review of attrition among new recruits. Over five years, 30% of new recruits came from a local university, and the balance came from a more distant universities. Of the new recruits, 20% of those who were students from a local university resigned within two years, while 45% of other students resigned. Given that a student resigned within two years, what is the probability that she hired from
\n" ); document.write( "a) a local university?
\n" ); document.write( "b) a more distant university?
\n" ); document.write( "

Algebra.Com's Answer #850526 by CPhill(1959)\"\" \"About 
You can put this solution on YOUR website!
Absolutely, let's break down this problem using Bayes' Theorem.\r
\n" ); document.write( "\n" ); document.write( "**Understanding the Problem**\r
\n" ); document.write( "\n" ); document.write( "* **Events:**
\n" ); document.write( " * L: Recruited from a local university.
\n" ); document.write( " * D: Recruited from a distant university.
\n" ); document.write( " * R: Resigned within two years.
\n" ); document.write( "* **Given Probabilities:**
\n" ); document.write( " * P(L) = 0.30 (30% from local)
\n" ); document.write( " * P(D) = 0.70 (70% from distant)
\n" ); document.write( " * P(R|L) = 0.20 (20% of local resigned)
\n" ); document.write( " * P(R|D) = 0.45 (45% of distant resigned)\r
\n" ); document.write( "\n" ); document.write( "**What We Need to Find**\r
\n" ); document.write( "\n" ); document.write( "* a) P(L|R): Probability of being from a local university given resignation.
\n" ); document.write( "* b) P(D|R): Probability of being from a distant university given resignation.\r
\n" ); document.write( "\n" ); document.write( "**Applying Bayes' Theorem**\r
\n" ); document.write( "\n" ); document.write( "Bayes' Theorem states: P(A|B) = [P(B|A) * P(A)] / P(B)\r
\n" ); document.write( "\n" ); document.write( "In our case:\r
\n" ); document.write( "\n" ); document.write( "* P(L|R) = [P(R|L) * P(L)] / P(R)
\n" ); document.write( "* P(D|R) = [P(R|D) * P(D)] / P(R)\r
\n" ); document.write( "\n" ); document.write( "**Calculating P(R) (Total Probability of Resignation)**\r
\n" ); document.write( "\n" ); document.write( "We need to find the overall probability of resignation, P(R). We can do this using the law of total probability:\r
\n" ); document.write( "\n" ); document.write( "* P(R) = P(R|L) * P(L) + P(R|D) * P(D)
\n" ); document.write( "* P(R) = (0.20 * 0.30) + (0.45 * 0.70)
\n" ); document.write( "* P(R) = 0.06 + 0.315
\n" ); document.write( "* P(R) = 0.375\r
\n" ); document.write( "\n" ); document.write( "**Solving for a) P(L|R)**\r
\n" ); document.write( "\n" ); document.write( "* P(L|R) = [P(R|L) * P(L)] / P(R)
\n" ); document.write( "* P(L|R) = (0.20 * 0.30) / 0.375
\n" ); document.write( "* P(L|R) = 0.06 / 0.375
\n" ); document.write( "* P(L|R) = 0.16\r
\n" ); document.write( "\n" ); document.write( "**Solving for b) P(D|R)**\r
\n" ); document.write( "\n" ); document.write( "* P(D|R) = [P(R|D) * P(D)] / P(R)
\n" ); document.write( "* P(D|R) = (0.45 * 0.70) / 0.375
\n" ); document.write( "* P(D|R) = 0.315 / 0.375
\n" ); document.write( "* P(D|R) = 0.84\r
\n" ); document.write( "\n" ); document.write( "**Answers**\r
\n" ); document.write( "\n" ); document.write( "* a) The probability that a student who resigned within two years was hired from a local university is 0.16 or 16%.
\n" ); document.write( "* b) The probability that a student who resigned within two years was hired from a distant university is 0.84 or 84%.
\n" ); document.write( "
\n" ); document.write( "
\n" );