Probability question -- A test to see if a coin is fair....

  • Thread starter Thread starter Mr Davis 97
  • Start date Start date
  • Tags Tags
    Probability Test
AI Thread Summary
To determine if a coin is fair, the P-value for obtaining 4 heads in 5 flips is calculated using the binomial distribution. The initial calculation of 0.15625 is incorrect; the correct P-value is 3/16. This value is derived by summing the probabilities of getting 4 or more heads, specifically P(4) and P(5). The discussion highlights the importance of understanding that the P-value reflects the probability of obtaining the observed outcome or a more extreme one. This approach emphasizes the need for clarity in defining what constitutes an extreme outcome in hypothesis testing.
Mr Davis 97
Messages
1,461
Reaction score
44

Homework Statement


[/B]
You want to see if a coin is fair. You flip it 5 times and count the number of heads. If H is the number of heads obtained in five flips of the coin, what is the P-value of the test when H equals 4?

Homework Equations


None

The Attempt at a Solution



To solve this problem, I thought that it would be correct to use the binomial PDF, to answer the question "If the probability of getting heads is .5, then what are the chances of getting 4 heads in 5 flips?" This gives .15625, which is not the right P-value. The correct answer is 3/16, but how do I get this value? What probability distribution to I use to obtain this P-value?
 
Physics news on Phys.org
The p-value is not the probability of landing on the exact outcome. It is the probability of obtaining that or a more extreme outcome. I would also disagree on how the "correct" answer has chosen to define an outcome as extreme (getting 1 head is as extreme as getting 4, getting 0 is as extreme as getting 5 - you would typically not design a test which broke the symmetry).
 
Mr Davis 97 said:

Homework Statement


[/B]
You want to see if a coin is fair. You flip it 5 times and count the number of heads. If H is the number of heads obtained in five flips of the coin, what is the P-value of the test when H equals 4?

Homework Equations


None

The Attempt at a Solution



To solve this problem, I thought that it would be correct to use the binomial PDF, to answer the question "If the probability of getting heads is .5, then what are the chances of getting 4 heads in 5 flips?" This gives .15625, which is not the right P-value. The correct answer is 3/16, but how do I get this value? What probability distribution to I use to obtain this P-value?

For binomial(5, 1/2), they take p-value = P(4) + P(5) = (5/32) + (1/32) = 3/16, so they take p-value = P(4 or more heads).
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top