6. The coin gives "head" with probability p. We toss this coin four times and the…
- User
- The coin gives "head" with probability p. We toss this coin four times and the results are X_1,X_2,X_3,X_4. Construct a test to verify hypothesis p=1/2 (vs. p not equal 1/2) with significance level at least 0.2. What is the probability of false acceptance if the real value is p=1?
Assistant
Okay, here are the steps to solve this problem:
-
Let X = number of heads in 4 tosses. Then X ~ Binomial(4, p)
-
Under the null hypothesis H0: p = 1/2, the expected number of heads is E(X) = 4 * 1/2 = 2
-
To construct a test with significance level at least 0.2, we need to find the critical region that contains the lowest 20% probability under H0. The critical region is {X = 0, 1, 4} since P(X ≤ 1) + P(X = 4) = 0.1875 < 0.2
-
If the real value is p = 1, then X ~ Binomial(4, 1). The probability of false acceptance is P(X = 0 or 1 or 4) = 0.0625
So in summary, the test is to reject H0 if X is 0, 1 or 4. The probability of false acceptance if the real p is 1 is 0.0625.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.