Skip to content
Discussion options

You must be logged in to vote

Hi,

I'll try to answer your specific question first, then add more info about general timing issues and information/resources.

jsPsych currently uses a function called setTimeout to control stimulus timings, and a high-accuracy/precision timestamp called performance.now to get response times. The accuracy and precision with these methods are reported here:
de Leeuw 2015: https://doi-org.ezp.lib.cam.ac.uk/10.3758/s13428-014-0458-y
de Leeuw & Motz 2016: https://doi-org.ezp.lib.cam.ac.uk/10.3758/s13428-015-0567-2
(And in some other papers that I'll link to below)

If you want to be very sure that you have accurate stimulus display times, instead of setTimeout you can use a function called req…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@kimelit
Comment options

@jodeleeuw
Comment options

@kimelit
Comment options

@jodeleeuw
Comment options

@kimelit
Comment options

Answer selected by jodeleeuw
Comment options

You must be logged in to vote
1 reply
@kimelit
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants