Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Timed Responses

In my experiment there are three different response results but only one type of keyboard response. Additionally, people are able to have unlimited responses in every trial. I would like to separate the responses into bins per se. For example, the participant only hits the space bar as a correct and accepted response but can do this a countless amount of times. These responses could either be correct, somewhat-correct, or incorrect based on time of responding (using the spacebar). Would this be done by using the keyboard_response item?

Comments

  • Hi @KerAnn ,


    Are you running your experiment online or locally?

    Also, when does a trial end? You say that participants can press space bar for a countless number of times, but I assume that there is some type of timeout then?


    Cheers,


    Lotje

    Did you like my answer? Feel free to Buy Me A Coffee :)

  • edited January 2021

    Hi @Ivanderlinden, thanks for your questions!

    The experiment will be ran fully online as of right now. The trials end at three different times (this is a timing study). The trials end at 4s, 8s, and 16s (which is defined using the block_loop items) and within these confounds the participants can hit the spacebar as many times as they desire.

    Thank you,

    Kerry Buckhaults

  • Hi @KerAnn ,


    I think you could do the following:

    • Wrap a loop-sequence combination around your keyboard_response item
    • Set the number of repetitions of this new loop to something very high, like 1000x
    • Use the break-if statement of this loop to break the loop when a certain criterion is met
    • This criterion (here: the time passed) could be set and evaluated with some lines of javascript inline code.

    I attached an example experiment. Hope this helps!


    Cheers,


    Lotje


    Did you like my answer? Feel free to Buy Me A Coffee :)

Sign In or Register to comment.