Group: Forum Members
Posts: 7,
Visits: 59
|
I am working on a task with 12 lists of 10 words each. I want to randomize the order of lists and words within a list, but want the list to be shown as a group (i.e., all 10 words of one list, then all 10 words of the next list one at a time). I am having trouble figuring out how to randomize the order of lists.
As an example, here are 2 word lists:
<item anger> /1 = "mad" /2 = "fear" /3 = "hate" /4 = "rage" /5 = "temper" /6 = "fight" /7 = "mean" /8 = "calm" /9 = "emotion" /10 = "enrage" </item>
<item bread> /1 = "butter" /2 = "food" /3 = "eat" /4 = "sandwich" /5 = "rye" /6 = "crust" /7 = "slice" /8 = "wine" /9 = "loaf" /10 = "toast" </item>
I have tried creating a list element to combine all of the lists and randomize their order at the beginning of the experiment as shown below. I get an error in the trial element for 'textLists' because I think I need to call a text element there rather than a list, but I am wondering how to put the information from an item to a list and then a text, or if there is a better approach. I would greatly appreciate any help in solving this!
<list textLists> /items = [anger; bread; cold; doctor; foot; fruit; music; sleep; slow; soft; spider; thief] /select = list.listOrder.nextvalue </list>
<trial currList> /stimulustimes = [1 = textLists; 1000 = clearscreen] /timeout = 2000 </trial>
<list allLists> /poolsize = 2 /selectionrate = always /selectionmode = random </list>
<list listOrder> </list>
<expt> / onexptbegin = [ list.listOrder.appenditem(list.allLists.nextindex); list.listOrder.appenditem(list.allLists.nextindex); </expt>
|