Presentation order after randomization

PennController for IBEX Forums Support Presentation order after randomization

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6027
    August
    Participant

    Hi Jeremy:

    May I ask how to keep track of presentation order of all the items after we randomize the presentation order (e.g., randomize(“trials”)?

    Thanks a lot!

    Best wishes,
    August

    #6028
    Jeremy
    Keymaster

    Hi August,

    You cannot really keep track of the post-randomization order in your script (at least not with some advanced coding). However the lines in your results file will appear in the order in which the events and the trials were run. Moreover, comparing the timestamps reported for the trials’ _Start_ events will also tell you in which order they were run.

    If you want to add the running order information more directly to your results file, you can add this to your script:

    Header(
      // ... code to be run before every single trial
      newVar("runningOrder", 0).global().set( v=>v+1 )
    )
    .log( "runningOrder" , getVar("runningOrder") )

    Every line in your results file will then report a number that should increment with each new trial

    Let me know if you need more in-depth access to the running order in your script

    Jeremy

    #6042
    August
    Participant

    Thanks so much Jeremy!! I tried your codes and they work fine!

    Best wishes,
    August

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.