For this homework assignment, we will continue to work with the dataset used in workshop 5 fake dataset.

Make sure you start a new RProject from scratch (call it homework_5 or something), as many of the steps will be similar but not identical to those we performed in workshop 5.

Researchers noticed that the software they used to measure reaction time had a systematic error. Specifically, all reaction times that are larger than 800ms was actually 200ms larger than they should be. For example, if a particular trial was recorded as 1000ms, it actually should be corrected to 800ms.

  1. Fix all of the reaction time trials so that these incorrect values are corrected, preserving the incorrect values in the dataset so that we can compare values if needed.

  2. How many trials needed to be fixed?

After correcting for this error, the researchers next want to exclude all reaction time values that are 1.5 standard deviations lower or higher than the global mean (i.e. the mean regardless of condition).

  1. Remove all such outliers. How many trials of data were excluded because they were too low, and how many were excluded because they were too high?

  2. Filter out the outliers, as well as those who did not provide a response for the enjoyment level question.

Now, answer the following research questions, providing justification for how you drew your conclusions:

  1. Do male participants have faster reaction times that female participants?

  2. Did participants in the video games condition have faster reaction times than those in the TV condition?

  3. Is there an interaction between sex and condition? If yes, describe the interaction.

  4. Consider the enjoyment level scale. Scores of 1-3 are considered to have “not enjoyed the activity”, 5-7 is considered “enjoyed the activity”, and 4 is considered “neutral”. Is there a relationship between enjoyment and participant’s reaction time?