Lab 7: A Matter of Taste

Slides

Part I: Understanding the Context of the Data

Part II: Computing on the Data

Be sure to tag your groupmates when you submit this to Gradescope!

  1. List any changes that you made to your experimental protocol from when you formulated it on Tuesday/Wednesday and when you executed it on Thursday/Friday.

  2. Create a data frame based of the data you collected, listed in the order in which it was collected, and print it out into your lab report. You can print all rows your data frame using slice(my_df, 1:100). Consult the notes “A Tool for Computing with Data” for a refresher of how to make a data frame. Does the data frame differ at all from the one that you sketched into your experimental protocol? If so, how?

  3. Create a visualization of the data you collected (not the null distribution) similar to the one you sketched in the handout. Does it look clearly in support of your claim or contrary to your claim or somewhere in between?

  4. Considering the order in which the data was collected as a numeric covariate, (i.e. 1 for the first observation, 2 for the second, etc.), compute and report its standardized mean difference. Conduct a hypothesis test to check whether run order differs significantly across your experimental groups and interpret the results.

  5. Conduct a hypothesis test to determine whether your data is consistent with the null hypothesis. Be sure to provide.

    1. The null and alternative hypotheses.
    2. The value of the observed test statistic.
    3. A visualization of the null distribution and observed test statistic with the p-value shaded in.
    4. The p-value and your conclusion (based on the \(\alpha\)-value you selected in Lab 7.1) regarding the null hypothesis and the original claim.
  6. A thought experiment: if you did not find a significant effect, speculate as to what you could change about your protocol to increase the chance that you find an effect. If you did find a significant effect, speculate as to what you would change about your protocol if you wanted to decrease the chance that you’d find an effect if you were to repeat the experiment.