Priming experiment with pseudorandomization

PennController for IBEX Forums Support Priming experiment with pseudorandomization

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9720
    Da_Ri_
    Participant

    I am trying to make a priming experiment with pseudorandomized-ordered items. The item order I am trying to make is something like filler-filler-filler-prime-target-filler-filler-filler-prime-target-filler-filler-filler. . . . In other words, three filler items appear before and after each prime-target pair. I am not sure how I can do this because my csv file has two rows ‘prime’ and ‘target’ as below.

    
    group,prime,target,pairtype,condition,correct
    A,prime1A,target1A,target,noun.noun,f
    A,prime2A,target2A,target,noun.noun,f
    A,prime3A,target3A,target,noun.noun,f
    A,prime4A,target4A,target,noun.noun,f
    A,prime5A,target5A,target,noun.noun,f
    

    Then, I would have to put filler items as below:

    
    group,prime,target,pairtype,condition,correct
    A,filler1A,filler1A,filler,filler,f
    A,filler2A,filler2A,filler,filler,f
    A,filler3A,filler3A,filler,filler,f
    A,filler4A,filler4A,filler,filler,f
    A,filler5A,filler5A,filler,filler,f
    

    This format does not allow me to insert three fillers before and after a prime-target pair. It allows me to insert two or four filler items before and after a prime-target pair but not four.

    Any idea helps. Thank you so much.

    • This topic was modified 1 year, 3 months ago by Da_Ri_.
    #9727
    Jeremy
    Keymaster

    Hi,

    Looking at your question and your tables, I think that you are talking about presenting several stimuli within a *single* trial, and that your subsequences prime-target correspond to single trials. As far as I understand, a single trial in your experiment has the following structure:

    1. Show a prime word
    2. Show a target word
    3. Show a post-target word (filler trials only)

    My suggestion is you add a column after target in your table for the third word, and simply leave it empty for the target trials. Then, in the newTrial command inside Template, you include the third stimulus only for the filler items. The basic idea would be something like this:

    Table:

    group,prime,target,post,pairtype,condition,correct
    A,prime1A,target1A,,target,noun.noun,f
    A,prime2A,target2A,,target,noun.noun,f
    A,prime3A,target3A,,target,noun.noun,f
    A,prime4A,target4A,,target,noun.noun,f
    A,prime5A,target5A,,target,noun.noun,f
    A,filler1A,filler1A,filler1A,filler,filler,f
    A,filler2A,filler2A,filler2A,filler,filler,f
    A,filler3A,filler3A,filler3A,filler,filler,f
    A,filler4A,filler4A,filler4A,filler,filler,f
    A,filler5A,filler5A,filler5A,filler,filler,f
    

    Script:

    Template( "mytable.csv" , row =>
      newTrial( row.condition ,
        newText( "prime", row.prime ).print(),
        newTimer(1000).start().wait(),
        getText( "prime" ).remove()
        ,
        newText( "target", row.target ).print(),
        newTimer(1000).start().wait(),
        getText( "target" ).remove()
        ,
        ...( row.condition=="filler" ? [
              newText( "post", row.post ).print(),
              newTimer(1000).start().wait(),
              getText( "post" ).remove()
        ] : [] )
        // ...
      )
      .log("pairtype",row.pairtype)
      // ...
    )

    Jeremy

    #9728
    Da_Ri_
    Participant

    Thank you so much! I’ll try it.

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