Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using R Studio: In an experiment to test an animals sense of smell, animals had the choice of turning to the left or to the

Using R Studio:

In an experiment to test an animals sense of smell, animals had the choice of turning to the left or to the right at the end of a passage. There was food hidden either to the right or to the left. Of the 12 animals tested, 9 turned toward the food. We wish to test whether the animals were choosing a direction at random, or whether they were able to smell the presence of the food.

a. What is the null hypothesis?

b. Use the binomial functions in R to calculate the probability of exactly 9 out of 12 animals turning toward the food given the null hypothesis is true.

c. Make a barplot of the null distribution of the number of animals turning toward the food, with appropriate x and y axis labels.

d. What is the exact p-value according to the 2-sided binomial test? Which probabilities from the plot are included in the P value?

e. What is your conclusion from this test?

f. What is the 95% confidence interval of the proportion turning toward the food, according to the binomial test?

g. What is the agresti-coul confidence interval?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial Accounting Tools for Business Decision Making

Authors: Jerry J. Weygandt, Paul D. Kimmel, Donald E. Kieso

5th Edition

9781118560952, 1118560957, 978-0470239803

More Books

Students also viewed these Accounting questions