PennController for IBEX › Forums › Support › Fillers that are consistent across different groups
- This topic has 5 replies, 2 voices, and was last updated 4 years, 4 months ago by doroahn.
-
AuthorPosts
-
May 6, 2020 at 9:59 pm #5202doroahnParticipant
Hi Jeremy,
I have a question about filler items that are consistent across groups. I have a single csv file with a Group column (with 12 groups) for the target items.
The filler items are consistent across groups, and I am wondering if there is a way for me to have them show up consistently regardless of group, without having to make 12 copies of the filler items with different group assignments.I did find this older post (https://www.pcibex.net/forums/topic/group-columns-distribution/) but making a separate csv file for filler items and deleting the Group column resulted in an error (for missing the Group column). Maybe that’s because I have only one Template() call and don’t have specific csv designations? If that’s the problem, could you let me know how I would do that if I want to shuffle target and filler items?
Thank you so much!!
The relevant part of my script is below:
Template( variable => newTrial("experiment", //newTimer(500) // .start() //.wait() //, newText("s1", variable.Sentence1) .settings.css("font-size", "20pt") .center() .print() , newKey(" ") //this is just a key Press .log() .wait() , getText("s1") .remove() , newText("s2", variable.Sentence2) .settings.css("font-size", "20pt") .center() .print() , newKey(" ") .log() .wait() , getText("s2") .remove() , (variable.Question.length>0? newText("q", variable.Question) .settings.css("font-size", "16pt") .center() .print() :null) , (variable.Question.length>0? newDropDown("question") .settings.css("font-size", "16pt") .add(variable.Answer1) .add(variable.Answer2) .shuffle() // Randomly order the options in the list (Pronoun1 and Pronoun2) //.once() // Disable the list after the first selection .print() .wait() .log() // Make sure to log the participant's selection : null) , (variable.Question.length>0? newText("<p></p>") .print() :null) , (variable.Question.length>0? newButton("Next") .print() .wait() : null) , (variable.Question.length===0? newText("<p></p>") .print() :null) , (variable.Question.length===0? newButton("Next") .print() .wait() : null) ) // .log( "ID" , getVar("ID") ) .log( "Item" , variable.Item ) .log( "Pronoun" , variable.Pronoun ) .log( "Group" , variable.Group ) .log( "Type" , variable.Type) )
May 6, 2020 at 10:11 pm #5203doroahnParticipantHi again,
Sorry I just saw this post (https://www.pcibex.net/forums/topic/mixing-fillers-and-items/) after posting my question.
At first I thought the solution for mine would be different in my case because I have a single Template() call, but please let me know if this is not the case.
Thanks!May 7, 2020 at 12:12 pm #5204JeremyKeymasterHi,
The solution should indeed be the same—as you saw on the other topic, the table used for the filler items does not have a group column and yet it just works. You just want to make sure you use two Template commands to use the two different tables, as illustrated on the other topic.
Jeremy
May 7, 2020 at 4:11 pm #5207doroahnParticipantHi Jeremy,
Thanks so much! I was getting an error for missing the Group column in the filler csv at the start of the survey when I tried this last night, even with two separate Template commands. But I’ll try this again!
May 7, 2020 at 4:15 pm #5208JeremyKeymasterSome errors are not fatal: as long as you know what triggers them (eg. the intentional absence of a Group column in the filler table) but you are still able to run the experiment and collect the data you need, it’s ok to ignore them (your participants won’t see them once you’re ready for data collection and use DebugOff()). Just make sure you don’t overlook other errors when skipping them over.
Jeremy
May 7, 2020 at 4:26 pm #5209doroahnParticipantGot it! Thank you so much for your time!!
-
AuthorPosts
- You must be logged in to reply to this topic.