# Question: Refer to the description in Exercise 10 71 There were 22

Refer to the description in Exercise 10.71. There were 22 trials with only cockroaches (no robots) that went under one shelter. In 16 of these 22 trials, the group chose the darker shelter, and in 6 of the 22 the group chose the lighter shelter.

There were 28 trials with a mixture of real cockroaches and robots that all went under one shelter. In 11 of these trials, the group chose the darker shelter, and in 17 the group chose the lighter shelter. The robot cockroaches were programmed to choose the lighter shelter (as well as preferring groups).

Is the introduction of robot cockroaches associated with the type of shelter when the group went under one shelter? Assume cock roaches were randomly sampled from some meaningful population of cockroaches.

a. Use the chi-square test to see whether the presence or absence of robots is associated with whether they went under the darker or the brighter shelter. Use a significance level of 0.05

b. Do Fisher's Exact Test with the data. If your software does not do Fisher's Exact Test, search the Internet for a Fisher's Exact Test calculator and use it. Report the p-value and your conclusion.

c. Compare the p-values for parts a and b. Which do you think is the more accurate procedure? The p-values that result from the two methods in this question are closer than the p-values in the previous question. Why do you think that is?

There were 28 trials with a mixture of real cockroaches and robots that all went under one shelter. In 11 of these trials, the group chose the darker shelter, and in 17 the group chose the lighter shelter. The robot cockroaches were programmed to choose the lighter shelter (as well as preferring groups).

Is the introduction of robot cockroaches associated with the type of shelter when the group went under one shelter? Assume cock roaches were randomly sampled from some meaningful population of cockroaches.

a. Use the chi-square test to see whether the presence or absence of robots is associated with whether they went under the darker or the brighter shelter. Use a significance level of 0.05

b. Do Fisher's Exact Test with the data. If your software does not do Fisher's Exact Test, search the Internet for a Fisher's Exact Test calculator and use it. Report the p-value and your conclusion.

c. Compare the p-values for parts a and b. Which do you think is the more accurate procedure? The p-values that result from the two methods in this question are closer than the p-values in the previous question. Why do you think that is?

**View Solution:**## Answer to relevant Questions

In July 2013, Jeff Witmer obtained a data set from the Tampa Bay Times after the Zimmerman case was decided. Zimmerman shot and killed Trayvon Martin (an unarmed black teenager) and was acquitted. The data set concerns ...Use the data from Exercise 11.7 and find Bonferroni-corrected intervals for all three comparisons assuming an overall confidence level of 95%, that is, an individual confidence level of 98.33%. Then state whether the means ...Test the hypothesis that people with different marital statuses differ in mean systolic blood pressure, using a significance level of 0.05. Refer to the StatCrunch output from NHANES data. a. Write the null and alternative ...John Carlson and Paul McMurray collected data on baseball player run-times. Players were required to run 50 yards and were timed in seconds (pitchers did not have to run). Assume that the distribution of each population ...StatCrunch surveyed users on happiness. Each respondent scored herself or himself between 1 (least happy) and 100 (most happy). We would like to determine whether age category has an effect on happiness for users of ...Post your question