Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. A student in the STATS 210 class writes down the following for answering a question related to hypothesis testing in the case when
2. A student in the STATS 210 class writes down the following for answering a question related to hypothesis testing in the case when the only observation that is available for the random variable X is x. X ~ Binomial (20, p), 0 x) = 2(1 P(X x 1)) = 2(1 Fx(x 1)) = 2 (1pbinom(x 1, 20, 0.2)) Answer the following questions: (a) Provide a short justification in which to explain why the equations above can be used in the case when x = 8. For x = 8, run the command in R for computing the p-value. Quote your answer to 5 decimal places. (b) Give an example of a value for x, 0 < x < 20, such that the p-value is smaller than the one computed in part (a). Justify your selection. Run the necessary command in R in order to confirm that p-value computed with the value of x that you propose is smaller than the p-value calculated in part (a). B
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