Note: Your answers to the questions below should follow the expectations for homework found here. Due date is on the Dates page.

Cricket Behavior

Crickets Fighting

Rudin et al. (2017; Behavioral Ecology) were interested in behaviors related to the physical dominance of crickets. Specifically, they hypothesized that “subordinate” crickets would “explore their surroundings” significantly less than “dominant” crickets. To explain this, they staged a number of “fights” among crickets to identify “dominant” and “subordinate” crickets. Following this, dominant and subordinate crickets were randomly placed in separate “arenas” where their activities were monitored, including recording the “relative amount of exploring” (no units, but larger numbers mean more exploration). Their data are in Crickets.csv (data, metadata). Load these data into R and construct tables of 2-Sample t-Test results (use t.test() and assume that the group variances are equal), ANOVA results (use anova() with an lm() object), and summary of coefficients (use summary() with an lm() object). [Note that you should have three appropriately labeled tables that you will refer to when answering the questions below.]

  1. Show and then explain why the p-values for the 2-Sample t-Test, the ANOVA table, and the slope (in the summary of coefficients table) are all the same. [Hint: You will need to discuss the H0 and HA for each p-value and explain how they are equivalent.]
  2. What overall conclusion about group means is made from these p-values?
  3. Show and then explain why the mean of the “first” group in the 2-Sample t-Test is equal to one of the coefficients from the linear model (be specific about which coefficient). [Hint: You will need to discuss how factors are coded in R and how an intercept is defined.]
  4. Show and then explain why the difference in means from the 2-Sample t-Test is equal to one of the coefficients from the linear model (be specific about which coefficient). [Hint: Again, you will need to discuss how factors are coded in R and how a slope is defined.]
  5. Show and then explain why the df from the 2-Sample equals one of the df in the ANOVA table (again, be specific about which one). [Hint: You will need to discuss how these df are computed.]
  6. Show how the 2-Sample t-Test test statistic is related to the F test statistic in the ANOVA table. [Hint: The answer is in Section 1.8 of the reading. You can just state this as a fact without explanation.]
  7. Use the formula for the t-test statistic (i.e., in Section 1.1 of the reading) and the results for the t-test test statistic from R to “back-calculate” a value for sp2. [Note that this algebraic manipulation needs to be done by hand. Leave space to show your work or show your work on an attached page.]
  8. What value in the ANOVA table does your result for sp2 equal?