In: Statistics and Probability
How is this done in R-studio? I have been trying to figure it out but I am getting more and more confused.
While imprisoned by the Germans during World War II, the English mathematician John Kerrich tossed a coin 10,000 times and obtained 5067 heads. Let p be the probability of a head on a single toss. We wish to check if the data are consistent with the hypothesis that the coin was fair.
a) Set up the hypotheses. Why should the alternative be
two-sided?
b) Calculate the p-value. Can you reject H0 at the 0.05 level? Justify your answer.
c) If you reject the null hypothesis what does that mean?
d) Find a 95% confidence interval for the proportion of heads for Kerrich’s coin. Is this consistent to the significance test in part (b)?
hii... although I am trying to provide the detailed answer but if you have any doubt please ask by comment. please like the answer. thanks...