SOLUTION: aren't we suppose to divide p=0.5 by 2. since it is a two tailed test. i keep getting the wrong answer please help!! We have a coin and we would like to determine whether or not t

Algebra.Com
Question 677814: aren't we suppose to divide p=0.5 by 2. since it is a two tailed test. i keep getting the wrong answer please help!!
We have a coin and we would like to determine whether or not the coin is fair (i.e., whether the probability p of the coin landing on Heads differs from 0.5). We will flip the coin 20 times and conduct a hypothesis test of H0: p = 0.5 vs. Ha: p cannot equal to 0.5. Let X be the number of Heads that are flipped. We decide to reject the null hypothesis if X<= 4 or X>= 16.
(a) What is the probability of making a Type I Error? i got 0.1704. i dont know why i got it wrong.
(b) What is the probability of making a Type II Error if the true probability of Heads for this coin is actually 0.25? i got 0.4148. for this answer too. i do not know why i got it wrong.
please help!!

Answer by stanbon(75887)   (Show Source): You can put this solution on YOUR website!
We have a coin and we would like to determine whether or not the coin is fair (i.e., whether the probability p of the coin landing on Heads differs from 0.5). We will flip the coin 20 times and conduct a hypothesis test of H0: p = 0.5 vs. Ha: p cannot equal to 0.5. Let X be the number of Heads that are flipped. We decide to reject the null hypothesis if X<= 4 or X>= 16.
(a) What is the probability of making a Type I Error? i got 0.1704. i dont know why i got it wrong.
Comment: The prob of a Type I Error is the probability of rejecting Ho.
P(x <=4) = binomcdf(20,1/2,4) = 0.0059
P(x >=16) = 1 - binomcdf(20,1/2,15) = 0.0059
---
So P(Type I Error) = 2*0.0059 = 0.0118
-------------------------------------------
(b) What is the probability of making a Type II Error if the true probability of Heads for this coin is actually 0.25? i got 0.4148. for this answer too. i do not know why i got it wrong.
-----
Comment: The prob of Type II Error is the prob of not rejecting Ho.
P(4< x <16) = binomcdf(20,0.25,15)-binomcdf(20,0.25,4) = 0.5852
-----------------
Cheers,
Stan H.

RELATED QUESTIONS

Need help finding p-value, thank you! I can't seem to get it right! Let x be a random... (answered by stanbon)
I cannot get this answer right. my teacher has provided the answer and we have to do the... (answered by RAY100)
Hi, Can someone help me with these 2 questions, I'm a little confused as to what I am... (answered by nanaktutors@yahoo.com)
Question 5 For each of the following tobs values, determine the highest level of... (answered by CPhill)
The general equation os a quadratic polynomial is p(x)=ax(squared)+bx+c with a,b,c all... (answered by longjonsilver)
Could someone help with this please? In a two-tailed test, the test statistic is 1.5.... (answered by ewatrrr)
Okay, So, I have $7.30 in nickels, dimes & quarters. The number of dimes is 2 less than... (answered by addingup,MathTherapy)
I have a problem that when I solve it, it seems something is going wrong and I am getting (answered by jim_thompson5910)
Could you please help me with these 2 problem? They are operations on fractons. I have... (answered by stanbon,macston)