Reaction Times are inaccurate if the users navigate away from the page #3186
Replies: 2 comments 1 reply
-
To add: This is perhaps not the end of the world, given that when such long RTs are allowed (e.g. participant takes a break), one can use the Overall, the fact that |
Beta Was this translation helpful? Give feedback.
-
I'm hoping to eventually merge the interaction data into the main data object (#495), so that the data would contain information about focus and blur events on the document for a trial. This would give another way of measuring this. In the case that someone does navigate away, I wonder if we should replace the RT with some other value? |
Beta Was this translation helpful? Give feedback.
-
jsPsych records reaction times by recording a timestamp at the beginning of a trial and a timestamp at the moment of response, using the Performance API. This is turbo-accurate in almost all cases (I've run masking experiments that require sub-16ms precision and have produced similar results to MATLAB).
However, if a user navigates away from a page (or similar behaviour that causes the browser to introduce throttling or sleeping), the RT can be skewed. In my data, I have found a difference of 45 hours. (RT of 48 hours was expected but a RT of only 3 was recorded).
The issues is much, much larger than jsPsych - see this issue - but overall it is centered around the fact that browsers handle "tab sleep" differently in relation to the Performance API - technically performance.now() should keep ticking in all cases, but it actually doesn't for some OS/browser variations.
@jodeleeuw might be worth adding a note about this in the Timing Accuracy page.
Beta Was this translation helpful? Give feedback.
All reactions