A Matter of Taste
Part II: Computing on the Data
Question 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.
Question 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 tutorials from the beginning of the semester for a refresher on 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?
Question 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?
Question 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.
Question 5
Conduct a hypothesis test to determine whether your data is consistent with the null hypothesis. Be sure to provide.
- The null and alternative hypotheses.
- The value of the observed test statistic.
- A visualization of the null distribution and observed test statistic with the p-value shaded in.
- The p-value and your conclusion (based on the \(\alpha\)-value you selected in Part I) regarding the null hypothesis and the original claim.
Question 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.
Last Question
Will you ensure that your submission to Gradescope…
- is of a pdf generated from a qmd file,
- has all of your code visible to readers,
- and assigns each of the questions to all pages that show your work for that question?
(This one is easy! Just answer “yes” or “no”)