document.write( "Question 971749: Toss the coin three times. If the coin lands either all heads or all tails, reject H0:p=1/2. (The p denotes the chance for the coin to land on heads.) \r
\n" ); document.write( "\n" ); document.write( "(a) What is the probability of a Type I error for this procedure?\r
\n" ); document.write( "\n" ); document.write( "(b) If p = 3/4, what is the probability of a Type II error for this procedure?
\n" ); document.write( "

Algebra.Com's Answer #594159 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
reject Ho when Ho is true. For all heads or tails it is (1/2)^3, so it is 0.25 altogether. \r
\n" ); document.write( "\n" ); document.write( "Accept Ho when it is false. Probability of all heads is 27/64 and all tails is (1/64). Everything else is 36/64. We are not rejecting a null hypothesis when we should, and the probability is 0.5625\r
\n" ); document.write( "\n" ); document.write( "Do a tree diagram
\n" ); document.write( " ;;;;;;;;;3/4
\n" ); document.write( "3/4;; 3/4 ;;;1/4
\n" ); document.write( " ;;;;1/4 ;;;3/4
\n" ); document.write( " ;;;;;;;; 1/4\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " ;;;1/4
\n" ); document.write( "1/4 ;;;;3/4 ;;;3/4
\n" ); document.write( " ;;;;; 1/4 ;;;3/4
\n" ); document.write( " ;;;;1/4\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );