document.write( "Question 430559: There are two sets of marbles. Both have 1,000 in them. Bag 1 has 700 blue and 300 red. Bag 2 has 300 blue and 700 red. Picking a bag at random you draw out 10 marbles with replacement. If 7 are red and 3 are blue, what is the exact probability of you picking Bag 1? \n" ); document.write( "
Algebra.Com's Answer #299148 by robertb(5830)\"\" \"About 
You can put this solution on YOUR website!
The assumptions that \r
\n" ); document.write( "\n" ); document.write( "P(7R3B|bag1) = C(10,3)[(.7)^7(.3)^3] \r
\n" ); document.write( "\n" ); document.write( "P(7R3B|bag2) = C(10,3)[(.3)^7(.7)^3]
\n" ); document.write( "
\n" ); document.write( "are wrong.\r
\n" ); document.write( "\n" ); document.write( "The experiment of drawing balls from each bag doesn't follow a binomial distribution, but a hypergeometric distribution.\r
\n" ); document.write( "\n" ); document.write( "They should be
\n" ); document.write( "P(7R3B|bag1) = \"%28%28300C7%29%2A%28700C3%29%29%2F1000C10\"\r
\n" ); document.write( "\n" ); document.write( "P(7R3B|bag2) = \"%28%28700C7%29%2A%28300C3%29%29%2F1000C10\" .
\n" ); document.write( "
\n" ); document.write( "The use of Bayes' rule is correct.
\n" ); document.write( "
\n" ); document.write( "
\n" );