PennController for IBEX › Forums › Support › Priming experiment with pseudorandomization
Tagged: pseudo-randomization
- This topic has 2 replies, 2 voices, and was last updated 3 years ago by
Da_Ri_.
-
AuthorPosts
-
November 19, 2022 at 11:59 am #9720
Da_Ri_ParticipantI 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,fThen, 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,fThis 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 3 years ago by
Da_Ri_.
November 22, 2022 at 7:13 pm #9727
JeremyKeymasterHi,
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-targetcorrespond to single trials. As far as I understand, a single trial in your experiment has the following structure:- Show a prime word
- Show a target word
- Show a post-target word (filler trials only)
My suggestion is you add a column after
targetin your table for the third word, and simply leave it empty for the target trials. Then, in thenewTrialcommand insideTemplate, 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
November 22, 2022 at 10:50 pm #9728
Da_Ri_ParticipantThank you so much! I’ll try it.
-
This topic was modified 3 years ago by
-
AuthorPosts
- You must be logged in to reply to this topic.