Question

In: Statistics and Probability

How is this done in R-studio? I have been trying to figure it out but I...

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)?

Solutions

Expert Solution

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...


Related Solutions

I have an assignment that must be done on R/R studio R/RStudio - Chapter 4- Correlation...
I have an assignment that must be done on R/R studio R/RStudio - Chapter 4- Correlation and Regression Step 1 – Download and Install the R/RStudio software on your computer. The link and instructions to do that are on Blackboard under Course Information. Step 2 – Access the Data Sets in MyLab through StatCrunch. In chapter 4, a data set called “Used BMW prices 2017” is what we’ll use. Step 3 – When you open the data set in StatCrunch,...
I have done the first part of this problem, but I cannot figure out the second...
I have done the first part of this problem, but I cannot figure out the second part. I know there are several different answers already posted on Chegg for this particular problem with different acceleration and time, but I need this one specifically, with a step by step solution. Again...just PART B....the answer to Part A is 201.72 A helicopter carrying Dr. Evil takes off with a constant upward acceleration of 4.20 m/s2. Secret agent Austin Powers jumps on just...
I am trying to figure out how to calculate the sustainable earnings: Permanent Versus Transitory Earnings...
I am trying to figure out how to calculate the sustainable earnings: Permanent Versus Transitory Earnings Entrust, Inc., is a global provider of security software; it operates in one business segment involving the design, production, and sale of software products for securing digital identities and information. The consolidated statements of operations for a three-year period (all values in thousands) follows. On January 1, Year 1, the Entrust common shares traded at $10.40 per share; by year end Year 3, the...
Hello, i have this excersice in R studio Write a function in R that generates simulations...
Hello, i have this excersice in R studio Write a function in R that generates simulations of a Poisson random variable as follows: define I = [λ], and use p_i + 1 = λp_i / (i + 1) to determine F recursively. Generate a random number U, determine if X≤I by comparing if U≤F (I). If X≤I searches downwards starting at I, otherwise it searches upwards starting from I + 1. Compare the time it takes for the two algorithms...
I am trying to figure out the social security tax for the employees in this problem,...
I am trying to figure out the social security tax for the employees in this problem, becuase I have to post it all in a chart. I have tried multiplying by the 6.2 tax rate but my program says my answer is wrong. So, is there a different way to calculate social security tax or is there something that I am missing that the problem is asking me to do? I am not looking for answers, but just a clear...
I am trying to figure out the best way to solving a problem in the language...
I am trying to figure out the best way to solving a problem in the language python. I have some but have no clue if I am even going in the right direction. Here are the instructions: Write a program that calculates the shopping list for a birthday party with the minimum amount of leftovers. The program should ask the user for the number of kids attending the party. Assume each kid will cook (but not necessarily eat) 2 hot...
I have to figure this out in Excel. I have 4 columns with names in a...
I have to figure this out in Excel. I have 4 columns with names in a spreadsheet. I am trying to find the duplicates between columns and count them. Example A B C D Steve John Chris John Sarah Steve John Sarah Carl Chris Paul Paul Jenna Logan Sarah Jenna Moe Norman Joe Logan I am trying to identify the names that show up in multiple columns and count the times they show up, all in Excel. Which excel functions...
Every airline in the world is trying to figure out how best to respond to an...
Every airline in the world is trying to figure out how best to respond to an unrest in the world amid ever-evolving security threats. No airline is immune to this threat. Compare and contrast security strategies used in other countries to the procedures used here in the USA. Cite specific examples.
I am trying to figure out which test analysis to use for my research questions. I...
I am trying to figure out which test analysis to use for my research questions. I was thinking about think about multivariate because of the number of variable being addressed in the study but there is also the possibility to use univariate to address each question. What are the current levels of police satisfaction in CMPD jurisdictions? What is the public’s perception of crime in CMPD jurisdictions? Does “hot spot” policing reduce crime in CMPD jurisdictions? How does broken windows...
I am trying to figure out the probability, expected value, variance, and standard deviation for a...
I am trying to figure out the probability, expected value, variance, and standard deviation for a series of dice rolls. For example, if I roll a six-sided die in an attempt to roll a 1, and it takes me 7 rolls before a 1 appears, what are those answers? I have figured out the probability equation: P(P-1)^x where x is the number of rolls - 1 so for 7 rolls the probability would be: 1/6(1-1/6)^6 = 0.05581632... Further where I...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT