Equal presentation of all all possible pairings in a dot probe task


Author
Message
satchmo496
satchmo496
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 29, Visits: 65
Hi Dave. By word pairings here, I did mean the 32 x 2 combinations represented by a <list>. Thanks much for your help. As I suspected, I had overlooked something simple here!
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
You have 32 alcohol-related words in your script.

<item alcoholimages>
/1 = "ASHAMED"
...
/32 = "WORTHLESS"
</item>

Those items are used by

<text alcoholimage>
/items = alcoholimages
/select = values.itemnumber
...
</text>


with the item to display determined by values.itemnumber. values.itemnumber, in turn, is determined via a value sampled from a <list> with 64 items:

<list filler_PIAP_items>
/items = ["1A"; "1B"; "2A"; "2B";"3A"; "3B"; "4A"; "4B"; "5A"; "5B"; "6A"; "6B"; "7A"; "7B"; "8A"; "8B"; "9A"; "9B"; "10A"; "10B"; "11A"; "11B"; "12A"; "12B"; "13A"; "13B"; "14A"; "14B"; "15A"; "15B"; "16A"; "16B"; "17A"; "17B"; "18A"; "18B"; "19A"; "19B"; "20A"; "20B"; "21A"; "21B"; "22A"; "22B"; "23A"; "23B"; "24A"; "24B"; "25A"; "25B"; "26A"; "26B"; "27A"; "27B"; "28A"; "28B"; "29A"; "29B"; "30A"; "30B"; "31A"; "31B"; "32A"; "32B";]
/poolsize=64
/itemprobabilities = [.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;.015625;]
/resetinterval = 0
</list>

<trial targets_PIAP>
/ontrialbegin = [values.selecteditem = list.PIAP_items.nextvalue]
/ontrialbegin = [if (values.selecteditem == "1A") {values.itemnumber = 1; values.alcoholposition = 1; values.alcohol_x = values.target_right_x; values.neutral_x = values.target_left_x}]
...
/ontrialbegin = [if (values.selecteditem == "32B") {values.itemnumber = 32; values.alcoholposition = 2; values.alcohol_x = values.target_left_x; values.neutral_x = values.target_right_x}]
...
</trial>

It is not entirely clear to me what exactly you consider to be "word pairings" in your script (there are none that I can discover), but to get all the 32 x 2 combinations represented by the above <list> displayed by that <trial>, you would obviously have to run it 64 times, not 16 times as you do currently. As it stands, <trial targets_PIAP> will take 16 random samples without replacement from the 64 available in <list PIAP_items>.

<block AlcoholDotProbeTask>
...
/trials = [1-64 = noreplacenorepeat(fixation_PIAP, fixation_PINP, fixation_filler_PIAP, fixation_filler_PINP)]
</block>

The exact same is true for your other trial types in the script (neutral and fillers).

satchmo496
satchmo496
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 29, Visits: 65
I am attempting to create a dot probe task (patterned off of the script for Miller et al., 2010 available in the Inquisit Task Library) with four possible trial types, each of which has 32 possible pairings of words. But, when I run this script it produces the correct number of each trial type, but it does not select equally from the 32 possible word pairings (so, e.g., in a particular trial type I might get 3 trials with one word pairing and 1 trial with another word pairing). In other scripts I've used the counter element to equalize presentation of stimuli, but using that element doesn't seem to work in this script, I assume because there are lots of other dependencies (e.g., word presentation is also balanced in terms of which side of the screen a word appears on and which side of the screen a target appears on) that interfere with the counter. I'm hoping someone has dealt with a similar issue in the past and might be able to offer some assistance. I've uploaded the full script, in zip format, for reference. Many thanks in advance and apologies if, as I suspect, there is an easy solution to this issue with which I am just not familiar!

Attachments
Dot probe.zip (140 views, 9.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search