Suppose we toss a coin 100 times and get 48 heads. Clearly pˆ = X¯ = 0.48
A) Derive the (large sample) confidence interval for p, assuming the confidence level is 90%
B) Test whether it is a fair coin assuming the significance level α = 0.05.
Please write down the null hypothesis, the alternative hypothesis and the test statistics.
Part a)
p̂ = 48 / 100 = 0.48
p̂ = 1 - p̂ = 0.52
n = 100
p̂ ± Z(α/2) √( (p * q) / n)
0.48 ± Z(0.1/2) √( (0.48 * 0.52) / 100)
Z(α/2) = Z(0.1/2) = 1.645
Lower Limit = 0.48 - Z(0.1) √( (0.48 * 0.52) / 100) = 0.3978
upper Limit = 0.48 + Z(0.1) √( (0.48 * 0.52) / 100) = 0.5622
90% Confidence interval is ( 0.3978 , 0.5622
)
( 0.3978 < P < 0.5622 )
To Test :-
H0 :- P = 0.5 ( A coin is fair )
H1 :- P ≠ 0.5 ( A coin is biased )
P0 = 0.5
q0 = 1 - P0 = 0.5
n = 100
P = X / n = 48/100 = 0.48
Test Statistic :-
Z = ( P - P0 ) / ( √((P0 * q0)/n)
Z = ( 0.48 - 0.5 ) / ( √(( 0.5 * 0.5) /100))
Z = -0.4
Test Criteria :-
Reject null hypothesis if Z < -Z(α/2)
Z(α/2) = Z(0.05/2) = 1.96
Z > -Z(α/2) = -0.4 > -1.96, hence we fail to reject the null
hypothesis
Conclusion :- We Fail to Reject H0
Decision based on P value
P value = 2 * P ( Z > -0.4 )
P value = 0.6892
Reject null hypothesis if P value < α = 0.05
Since P value = 0.6892 > 0.05, hence we fail to reject the null
hypothesis
Conclusion :- We Fail to Reject H0
There is sufficient evidence to support the claim that the coin in fair.
Suppose we toss a coin 100 times and get 48 heads. Clearly pˆ = X¯ =...
You toss a coin four times and get no heads. The p-value for the null hypothesis that the coin is fair is: Question options: 10% 25% 5% 6.25%
An experimenter flips a coin 100 times and gets 62 heads. We wish to test the claim that the coin is fair (i.e. a coin is fair if a heads shows up 50% of the time). Test if the coin is fair or unfair at a 0.05 level of significance. Calculate the z test statistic for this study. Enter as a number, round to 2 decimal places.
2. Suppose we want to test whether a coin is fair (that is, the probability of heads is p = .5). We toss the coin 1000 times, and record the number of heads. Let T denote the number of heads divided by 1000. Consider a test that rejects the null hypothesis that p=.5 if T > c. (a) Write down a formula for P(T>c) assuming p = 0.5. (This formula may be compli- cated, but try to give an explicit...
4. Toss a fair coin 6 times and let X denote the number of heads that appear. Compute P(X ≤ 4). If the coin has probability p of landing heads, compute P(X ≤ 3) 4. Toss a fair coin 6 times and let X denote the number of heads that appear. Compute P(X 4). If the coin has probability p of landing heads, compute P(X < 3).
Brayden tosses a coin 500 times. of those 500 times, he observes heads a total of 416 times. Calculations show that the probability of this occurring by chance is less than 0.01, assuming the coin is fair. Determine the meaning of the significance level Select the correct answer below: O We expect that 416 of every 500 coin tosses will result in heads. O At the 0.01 level of significance, the coin is likely not a fair coin O There...
How many times do you need to toss a fair coin in order to get 100 heads with probability at least 0.9?
Suppose that I toss a fair coin 100 times. Write 'p-hat' for the proportion of Heads in the 100 tosses. What is the approximate probability that p-hat is greater than 0.6? 0.460 0.023 0.540 We can't do the problem because we don't know the probability that the coin lands Heads uppermost 0.977
An experimenter flips a coin 100 times and gets 44 heads. Test the claim that the coin is fair against the two-sided claim that it is not fair at the level α=.01
Test the claim that your coin is fair, using a 5% level of significance. Use the Chi-Square Goodness of Fit Test. Toss a coin at least 12 times (why?). a) What is n? What are the number of Tails and Heads? These are the Observed frequencies. b) What are the Expected frequencies? c) What is the Null Hypothesis H0? d) What is the Alternative Hypothesis H1? e) Is this a left, right, or two-tailed test? f) Chi-Square Test Statistic =?...
A coin is tossed 70 times and 33 heads are observed. Would we infer that this is a fair coin? Use a 92% level confidence interval to base your inference. a) The sample statistic for the proportion of heads is: b) The standard error in this estimate is c) The correct z* value for a 92% level confidence interval is d) The lower limit of the confidence interval is e) The upper limit of the confidence interval is