Question
Please use R programming language for the following questions. For all hypothesis testing, state null and alternative hypotheses and a 1-2 sentence conclusion based on
Please use R programming language for the following questions. For all hypothesis testing, state null and alternative hypotheses and a 1-2 sentence conclusion based on test results.
1)Suppose we have conducted an experiment with 27 successes out of 78 trials.
a)Report a point estimate of the sample proportion and a 95% confidence interval.
b)Report a 90% confidence interval. How does it compare to the 95% confidence interval? Interpret the intervals and the differences between the two.
c)Test the null hypothesis that the true sample proportion is 0.5 with a two-sided alternative. Interpret your findings.
d) Suppose we have conducted a second experiment with 29 successes out of 88 trials. Construct and interpret an appropriate test for whether the proportions from our two studies are equal.
Please share the output and code.
* I posted these questions earlier in cheggs as well. The code did not run effectively.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started