/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Problem 72 Refer to the description in exer... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

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; Halloy et al. 2007 ) $$ \begin{array}{lcc} & \text { All under One Shelter } \\ \hline & \text { Cockroaches Only } & \text { Robots Also } \\ \hline \text { Darker } & 16 & 11 \\ \text { Lighter } & 6 & 17 \\ \hline \end{array} $$ Is the introduction of robot cockroaches associated with the type of shelter when the group went under one shelter? Assume cockroaches 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 \(\mathrm{p}\) -values for parts a and \(\mathrm{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?

Short Answer

Expert verified
The conclusion about whether the type of cockroach (real or robot) is associated with shelter preference (darker or lighter) would depend on the comparison of the p-values obtained from both tests with the significance level (0.05). If p-value < 0.05, we reject the null hypothesis, i.e., the type of cockroach and shelter preference are associated. Conversely, if p-value >= 0.05, we fail to reject the null hypothesis and presume that both variables are independent.

Step by step solution

01

Setting Up the Hypotheses

The null hypothesis H0: Cockroach preference for shelter is independent of the presence or absence of robot cockroaches. The alternative hypothesis H1: Cockroach preference for shelter is dependent on the presence or absence of robot cockroaches.
02

Compute Expected Frequencies

Under the null hypothesis, the expected frequencies for each cell can be calculated using formula, \[Expected Frequency = (Row Total * Column Total) / Grand Total \]
03

Compute Chi-Square Test Statistic

The chi-square statistic is calculated using the formula: \[X^2 = \sum \frac{(Observed Frequency - Expected Frequency)^2}{Expected Frequency}\]. This step results in a test statistic that must be compared with a chi-square distribution with 1 degree of freedom (because (2-1) * (2-1)). The p-value is obtained and compared with the significance level of 0.05.
04

Fisher's Exact Test

The Fisher's exact test is performed. Fisher's exact test is used in the analysis of contingency tables when sample sizes are small. The test is usually performed through a statistical software or Fisher's exact test calculator available online.
05

Compare p-values and Conclude

The findings from chi-square test and Fisher's exact test are compared to draw a conclusion about the association of the type of cockroaches and preference of shelter type.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with 91Ó°ÊÓ!

Key Concepts

These are the key concepts you need to understand to accurately answer the question.

Null Hypothesis
The null hypothesis is a fundamental concept in hypothesis testing, where it serves as the default assumption that there is no difference or no association between two measured phenomena. In the context of our exercise, the null hypothesis (H_0) asserts that the real cockroaches' shelter choice is independent of whether robot cockroaches are present or not. This means that the observed difference in the preference for darker or lighter shelters with and without the robots could be due to random chance rather than a real effect of the robot cockroaches.

To test this hypothesis, one performs a statistical test to examine the observed data against what we would expect to happen if the null hypothesis were true. If the test shows a low probability that the observed outcomes are due to chance (a result deemed statistically significant), we may reject the null hypothesis in favor of the alternative hypothesis (H_1), which suggests that there is indeed an association.
Expected Frequencies
In the realm of chi-square tests, expected frequencies play a vital role. They represent the theoretical frequency of occurrences in each category if the null hypothesis were true - that is, if no difference exists between groups or no association is present between variables. The calculation involves taking the product of the corresponding row and column totals and then dividing by the grand total of all observations.

For instance, to calculate the expected frequency of cockroaches choosing a darker shelter when only cockroaches are present, one would multiply the total number of trials with only cockroaches by the total number of times any group chose the darker shelter, then divide by the overall number of trials. This figure is crucial because in the chi-square test, the observed frequencies are compared to these expected frequencies to understand if the deviations are likely due to random variation or if they point to a meaningful phenomenon.
Fisher's Exact Test
Fisher's exact test is an alternative to the chi-square test, particularly useful when dealing with small sample sizes or when the expected frequencies in a contingency table are very low, typically less than 5. Unlike the chi-square test, it doesn't rely on approximations and instead calculates an exact p-value based on the hypergeometric distribution.

The test works well for 2x2 contingency tables and considers all possible distributions of the data that are as extreme as the observed distribution in terms of probability. While it can be computationally intensive for larger tables, for small datasets, it provides a more accurate assessment regarding the null hypothesis. With the increasing availability of computational resources and software, applying Fisher's exact test has become a convenient and reliable method to assess statistical significance in scenarios where the chi-square test might not be appropriate.
Statistical Significance
Statistical significance is a determination about the non-randomness of the observed result. It is evaluated using a p-value, which measures the probability of obtaining an observation at least as extreme as the one observed if the null hypothesis is true. A p-value lower than the chosen significance threshold (commonly set at 0.05) signals that the observed data are unlikely under the null hypothesis, and thus we may consider our results statistically significant.

In our exercise, we compare the p-value from the chi-square test to the significance level of 0.05. If the p-value is lower, we have grounds to reject the null hypothesis, which would indicate an association between the presence of robot cockroaches and the choice of shelter by the cockroaches. It is vital, however, to interpret p-values carefully since they do not measure the size or importance of an effect, only how likely the effect is under the null hypothesis.
Contingency Table Analysis
Contingency table analysis is a method to analyze the relationship between two categorical variables. Our exercise involves a 2x2 contingency table, showing frequencies of shelter choices (darker or lighter) with two different conditions (presence or absence of robot cockroaches).

In such an analysis, one tabulates the observations into a table format, which organizes the data to highlight discrepancies between observed and expected frequencies under the null hypothesis. For each cell in the contingency table, the expected frequency is calculated based on the total observations of rows and columns, as stated previously. Analyzing these tables with chi-square tests or Fisher's exact test allows researchers to probe the evidence for independence or association between the variables, providing a visual and statistical way to understand and interpret complex data sets.

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Exercise \(10.11\) on artery disease in mummies indicated that 9 out of 16 mummies showed heart disease (hardening of the arteries). Test the hypothesis that the population proportion of mummies with hardening of the arteries is not the same as in the modern United States (that it is not \(40 \%\) ). Use a significance level of \(0.05\).

See exercise \(10.21\) for an explanation of playing with the dreidel. This time the family used a plastic dreidel and got the following outcomes. The four outcomes are believed to be equally likely (that is, has a uniform probability distribution). Determine whether the plastic dreidel does not follow the uniform distribution using a significance level of \(0.05\). $$ \begin{array}{cccc} \text { gimmel } & \text { hey } & \text { nun } & \text { shin } \\ 11 & 9 & 11 & 9 \end{array} $$

The Perry Preschool Project data presented in exercise \(10.39\) (Schweinhart et al. 2005) can be divided to see whether the preschool attendance effect is different for males and females. The table shows a summary of the data for females, and the figure shows Minitab output that you may use. $$ \begin{array}{|lcc|} \hline & \text { Preschool } & \text { No Preschool } \\ \hline \text { HS Grad } & 21 & 8 \\ \hline \text { HS Grad No } & 4 & 17 \\ \hline \end{array} $$ a. Find the graduation rate for those females who went to preschool, and compare it with the graduation rate for females who did not go to preschool. b. Test the hypothesis that preschool and graduation rate are associated, using a significance level of \(0.05\).

Fill in the blank by choosing one of the options given: Chi-square goodness- of-fit data are often summarized with (one row or one column of observed counts-but not both, or at least two rows and at least two columns of observed counts).

In a 2016 article published in the Journal of American College Health, Heller et al. surveyed a sample of students at an urban community college. Students' ages and frequency of alcohol use per month are recorded in the following table. Because some of the expected counts are less than 5, we should combine some groups. For this question, combine the frequencies \(10-29\) days and Every day into one group. Label this group \(10+\) days and show your new table. Then test the new table to see whether there is an association between age group and alcohol use using a significance level of \(0.05\). Assume this is a random sample of students from this college. $$ \begin{array}{lcccc} \hline & & \text { Alcohol Use } \\ \text { Age } & \text { None } & \text { 1-9 days } & \text { 10-29 days } & \text { Every day } \\ \hline 18-20 & 182 & 100 & 27 & 4 \\ \hline 21-24 & 142 & 109 & 35 & 4 \\ \hline 25-29 & 49 & 41 & 5 & 2 \\ \hline 30+ & 76 & 32 & 8 & 2 \end{array} $$

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.