Conditionals in self=paced reading

PennController for IBEX Forums Support Conditionals in self=paced reading

This topic contains 2 replies, has 2 voices, and was last updated by Avatar mariagold 2 weeks, 3 days ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6621
    Avatar
    mariagold
    Participant

    I was wondering, before I dive into designing an experiment in pcibex, whether it was possible to add conditional(s) to a self-paced reading design?

    For example, after reading an item, one at a time – asking participants whether they wish to read the sentence again (and showing it again if they say ‘yes’, and moving forward if they say ‘no’).

    Thanks in advance!

    #6623
    Jeremy
    Jeremy
    Keymaster

    Hello,

    The particular case you are describing is easy enough to implement:

    newTrial(
        newController("DashedSentence", {s: "This is an example sentence"})
            .print()
            .log()
            .wait()
            .remove()
        ,
        newText("Do you want to read the sentence again?")
            .print()
        ,
        newButton("Yes")
            .after( newButton("No").callback(end()) )
            .print()
            .wait()
        ,
        clear()
        ,
        newController("DashedSentence", {s: "This is an example sentence"})
            .print()
            .log()
            .wait()
            .remove()
    )

    Note that this only gives the option to read the sentence again once. Giving the option to re-read it as many times as the participant wants would be a little more complicated

    Jeremy

    #6625
    Avatar
    mariagold
    Participant

    Thanks a lot!

    I only want them to be able to read the sentence one additional time, so this should definitely work.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.