Trial Type, Response Time and Error Rate

We are interested in trial type, switch or no-switch, and its effect on reaction time and error rate.

Sophia Angleton
03-16-2025

I want to look at the interaction effects between switch trials, or when someone is switching from one task instruction to another, and no-switch trials, or when someone is doing one task repeatedly. I am doing this by looking at switch costs, represented through differences in response time.

What the variables mean:
  • Task: 1 is parity (odd or even) , 2 is size (bigger or smaller than 5)

  • rt: response time

  • Error: 0 = no error, 1 = yes error

  • Trial type: 1 = switch trials, or when someone is switching from one task instruction to another, and 0 = no-switch trials, or when someone is doing one task repeatedly

First Visualization

By Reaction Time

By Error

Lets look at this by error.

Interpretation

Trial Type on Reaction Time

We see that there is a difference in reaction time by trial types, where people tend to have a shorter reaction time in no-switch trials compared to switch trials. However, we see that there are two outliers, meaning that there are two subjects who had an unusually high mean response time in switch trials than others. This may contribute to skewing our switch trial mean response time to be longer than it should be. This is what we expect to see according to previous understanding of trial type and response time.

Trial Type on Error Rate

We see that error rate does change from no-switch to switch trials, where no-switch trials seem to lead to lower average error rates by subject, and vice versa for switch trials. We see an outlier in the no-switch trial where one subject had unusually high error rates when completing no-switch trials which may be skewing the plot higher in overall error rate for the no-switch trial type. This is what we expect to see according to previous undersanding of trial type and error rate.