Howdy, Stranger!

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

Supported by

Memory recall task

Hi,

So I have to put together an experiment for an assignment - my group decided to replicate a memory recall task where participants are presented with a sequence of words - one of which being in a different colour. The aim is to test whether that word is remembered more often than the other words. It's my first time using Opensesame and although I have started to understand the basics i'm still clueless as to how I would make this experiment work.

Could I use text input for the participant's response and if so how does the logger work with this type of input? Any advice would be greatly appreciated as I have a hit a wall with this experiment and have no idea how to continue.

Thanks in advance.

Comments

  • Hi Jess,

    Could I use text input for the participant's response and if so how does the logger work with this type of input?

    The first option that comes to mind is to use a form_text_input item to let participants freely enter their response. Then you can specify the name of a variable, say memory_response , and then the logger will simply log the response under that name.

    Does that clear things up?

    Cheers!

    Sebastiaan

  • Thanks for this question and response as I am working on a similar thing.

    I am wondering if this could be adapted such that you apply code to determine if the participant input response is correct and if it is create a score of the total correct responses.

    I am assuming that you would use code in an inline script incorporating an If statement with conditions??

  • Hi Jarrod,

    You can make use of the responses object. Say that the form saves the response as memory_response and you have defined the correct response as correct_response , then the following script should do the trick:

    responses.add(
        response=var.memory_response,
        correct=1 if var.memory_response == var.correct_response else 0
    )
    

    This should be in the Run phase of an inline_script .

    See also:

    Cheers!

    Sebastiaan

Sign In or Register to comment.