Randomization & video-slider RT every second #2939
-
Hello - I am new to coding in general, so I would really appreciate some pointers. I need to set up an online experiement where participants watch a 15-min video and continuously respond to a behavioral question, with their responses recorded every second. I have four movies that I need to randomize participants to, as well as 9 variables I need to randomly assign as well. I have been trying to get familiar with jsPsych for a while now, but I am having some trouble figuring out how to randomly assign per movie and per measure, as well as how to update the video-slider-response plug-in to capture responses every second. Any and all advice/help is welcome! Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi aschutz32, The question of how you are going to solve the randomization question partly depends on how you are going to host the experiment? One (tedious) approach would be to create a link for each version of your experiment and distribute different links to different people. Another alternative is to use a platform such as cognition.run, where it is possible to work with inter experiment conditions . Specifically, it will inject a variable in your JavaScript code that you can use to select the proper video/variables. Perhaps this is an option that also exists on other platforms but I am not aware of those. Of course it is also possible to write your own back-end code to take are of this if you have access to your own server. From what I understand, you need a video-slider-response where the position of the slider is sampled every second, right? Do you think it would also work for your purposes if it simply records the data every time the slider position has been changed. Which version of jsPsych are you using? I think this is a fun little problem to work on, but it will require adjusting the code of the plugin itself. |
Beta Was this translation helpful? Give feedback.
Hi aschutz32,
The question of how you are going to solve the randomization question partly depends on how you are going to host the experiment? One (tedious) approach would be to create a link for each version of your experiment and distribute different links to different people. Another alternative is to use a platform such as cognition.run, where it is possible to work with inter experiment conditions . Specifically, it will inject a variable in your JavaScript code that you can use to select the proper video/variables. Perhaps this is an option that also exists on other platforms but I am not aware of those. Of course it is also possible to write your own back-end code to take are of t…