Group: Administrators
Posts: 13K,
Visits: 105K
|
There are numerous mistakes in your code and there's nothing in there at all that could or would prevent sampling from the whole range of 50 items.
I'm frankly struggling to understand what certain parts of the code are even supposed to do.
<list allitems> / items = (item.practice_WM) / poolsize = 50 / selectionrate = always </list>
This doesn't make sense, neither does this
<picture practice_WM> /items = practice_WM /select =list.1selecteditems /size = (20%, 20%) </picture>
nor does any of this
<trial practice> /stimulustimes = [0=noreplacenorepeat(picture.Neutraldrinks); 1700=blank; 1800=noreplacenorepeat(picture.practice_WM); 3600=picture.mask_practice_WM] /timeout = 3900 / ontrialend = [values.actual_crowd_mean=picture.practice_WM.currentitemnumber; values.drink=0; values.crowdgender=2; values.rt = likert.practiceangerlikert.latency] / recorddata = true / branch = [return likert.practiceangerlikert] / ontrialbegin = [picture.practice_WM.currentitemnumber; values.success = false; list.allitems.reset(); list.1selecteditems.reset(); list.1selecteditems.appenditem(list.allitems.nextindex); if (list.1selecteditems.currentvalue >= 10 && list.1selecteditems.currentvalue <= 40) { values.success = true; }] </trial>
Anyway, if all you want is sampling from item numbers 10 to 40 (both inclusive), why don't you simply set up a list with item numbers 10 to 40 and sample from that list for the practice trials? I.e.
<list practiceitemnumbers> / items = (10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40) / replace = false </list>
with
<picture practice_WM> /items = practice_WM /select =list.practiceitemnumbers.nextvalue /size = (20%, 20%) </picture>
|