Two sample t-test quiz
Sign in to Google to save your progress. Learn more
Email *
Set  up

There are plenty of reasons to choose your partner carefully. In much of the biological world a key reason is “evolutionary fitness” – presumably organisms evolve to choose mates that will help them make more (or healthier) children. This could, for example explain Kermit’s resistance in one of the more complex love stories of our time, as frogs and pigs are unlikely to make healthy children.

To evaluate this this idea @swierk2019, identified a males top choice out of two female wood frogs and then had them mate with the preferred or unpreferred female and counted the number of hatched eggs.

The data can be accessed from the following link:  https://raw.githubusercontent.com/ybrandvain/biostat/master/data/Swierk_Langkilde_BEHECO_1.csv

Plot the data: Start with this code. What pattern do you see? 

library(dplyr)
library(readr)
library(ggplot2)
frogs <- read_csv("https://raw.githubusercontent.com/ybrandvain/biostat/master/data/Swierk_Langkilde_BEHECO_1.csv")

ggplot(frogs, aes( x = treatment, y = hatched.eggs,  ... )) +
  geom___()   +
  stat_summary(fun.data = mean_cl_normal) 
*
Code starter
For the next bit's you'll need some code. Feel free to do it all yourself, but if you want a boot, I've got much of it started here
According to the standard interpretation, Cohen's D is
1 point
Clear selection
From this Cohens D value, we conclude that:
1 point
Clear selection
The assumptions of a two-sample t-test are (select all that apply)
1 point
Above we saw a difference in variance of 1000 between group (56118 vs 67412), how worried should you be about violating the assumption of homoscedasticity?
1 point
Clear selection
I wrote this code to generate the qq plots below
From the plot above, I think the data are
1 point
Clear selection
Say you wanted to transform. Modify this code to makeqq plots for different transformations. Which one best meets normality assumptions
1 point
Clear selection
Test!
Regardless of your view on the appropriateness of the data for the test. Conduct a classic two-sample t-test on these data using both the lm() and t.test() functions
State the null hypothesis *
State the alternative hypothesis *
Which values are in the 95% confidence interval or the difference (i.e. preferred - preferred) select all that apply
1 point
The absolute  value of t is about
1 point
Clear selection
The p-value is
1 point
Clear selection
We therefore _____ the null hypothesis
1 point
This means the null hypothesis is
1 point
Clear selection
The proportion of variance in eggs hatched explained by treatment is approximately
1 point
Clear selection
Fix mistakes
A copy of your responses will be emailed to the address you provided.
Submit
Clear form
Never submit passwords through Google Forms.
reCAPTCHA
This content is neither created nor endorsed by Google. - Terms of Service - Privacy Policy

Does this form look suspicious? Report