Propositional Evaluation Paradigm


Author
Message
M Gerathy
M Gerathy
Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)
Group: Forum Members
Posts: 17, Visits: 45
Dave - 7/21/2021
M Gerathy - 7/21/2021
Thank you very much, David. The progress bar works perfectly. I really appreciate it.

However, the script seems to have developed a bug. For a few of the trial presentations the script is sometimes (not all times) presenting the sentences with missing words.

For example, there are two stimulus sentences that are similar (Probes 19 and 23):
"It is all right to coerce one's partner into having sex when they are not willing by forcing them"
"It is all right to coerce one's partner into having sex when they are not willing by giving the other alcohol or drugs"

Monkey runs of the script present these sentences with the appropriate probes (i.e. 3 times per block, 1 for each response probe). However, the monkley run will also present the sentence:
"It is all right to coerce one's partner into having sex when they are not" as a trial i.e. 3 times per block, 1 for each response probe).

I can find no reason for this in this script. The same is true for 2-3 other sentences in the stimulus list. And its always the same sentences so I dont think its my laptop's processing power.

Do you have any advice as to why this may be happening?

Thank you very much, David.

The progress bar has no effect whatsoever on the rest (trial selection, etc.), so the bug is in your original.

> And its always the same sentences

Then check the relevant trials. For example, you'll easily spot the mistakes here:

// 15 words trial but displays 23 words stimuli
<trial 15words_true>
/ inputdevice = keyboard
/ validresponse = ("a", "l")
/ correctresponse = ("a")
/ stimulustimes = [0=cross; 500=blank, 23words_1; 790=blank, 23words_2;
                    1080=blank, 23words_3; 1370=blank, 23words_4;
                    1660=blank, 23words_5; 1950=blank, 23words_6;
                    2240=blank, 23words_7; 2530=blank, 23words_8;
                    2820=blank, 23words_9; 3110=blank, 23words_10;
                    3400=blank, 23words_11; 3690=blank, 23words_12;
                    3980=blank, 23words_13; 4270=blank, 23words_14;
                    4560=blank, 23words_15; 5060=blank; 5560 = true_probe]
/ responsetime = 5560
/ responsemessage = ("l", wrong, 2000)
/ branch = [trial.iti]
</trial>

// 15 words trial but displays 23 words stimuli
<trial 15words_false>
/ inputdevice = keyboard
/ validresponse = ("a", "l")
/ correctresponse = ("l")
/ stimulustimes = [0=cross; 500=blank, 23words_1; 790=blank, 23words_2;
                    1080=blank, 23words_3; 1370=blank, 23words_4;
                    1660=blank, 23words_5; 1950=blank, 23words_6;
                    2240=blank, 23words_7; 2530=blank, 23words_8;
                    2820=blank, 23words_9; 3110=blank, 23words_10;
                    3400=blank, 23words_11; 3690=blank, 23words_12;
                    3980=blank, 23words_13; 4270=blank, 23words_14;
                    4560=blank, 23words_15; 5060=blank; 5560 = false_probe]
/ responsetime = 5560
/ responsemessage = ("a", wrong, 2000)
/ branch = [trial.iti]
</trial>

<trial 15words_catch>
/ inputdevice = keyboard
/ validresponse = ("a", "l")
/ correctresponse = ("a")
/ stimulustimes = [0=cross; 500=blank, 23words_1; 790=blank, 23words_2;
                    1080=blank, 23words_3; 1370=blank, 23words_4;
                    1660=blank, 23words_5; 1950=blank, 23words_6;
                    2240=blank, 23words_7; 2530=blank, 23words_8;
                    2820=blank, 23words_9; 3110=blank, 23words_10;
                    3400=blank, 23words_11; 3690=blank, 23words_12;
                    3980=blank, 23words_13; 4270=blank, 23words_14;
                    4560=blank, 23words_15; 5060=blank; 5560 = catch]
/ responsetime = 5560
/ branch = [trial.iti]
</trial>

Thank you very much. David. I really appreciate it.

So obvious when you point it out. I guess I'm too close to it.

This script is so close to being done now. Thanks in large part to your help. Is it possible to ask you one more question? I am having a bug with the distribution of teh <items> for the <list> within each <block>.

In total, I have 39 items that I wish to appear as individual trials 3 times within each of the 3 PEP experimental blocks (i.e. 9 times over the total experiment). That is, each item should appear once with each of the response prompts (i.e. true, false, catch) each block, with no replacement within the blocks. However, in the data I am noting that 1) some items are being replaced within a block and 2) some items are being selected more or less than the desired number of times.

I believe I have programmed the presentation probabilities for the items and lists correctly, as well as having placed '/response = false' commands in the correct places.

Any ideas where I am going wrong, David? Or anyone else?

I have attached an updated script as I have changed how the items are labelled to aid in data extraction. Thank you for any help you can offer.


Attachments
PEP FIXED A True 23-07-21.iqx (139 views, 185.00 KB)
M Gerathy
M Gerathy
Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)
Group: Forum Members
Posts: 17, Visits: 45
M Gerathy - 7/25/2021
Dave - 7/21/2021
M Gerathy - 7/21/2021
Thank you very much, David. The progress bar works perfectly. I really appreciate it.

However, the script seems to have developed a bug. For a few of the trial presentations the script is sometimes (not all times) presenting the sentences with missing words.

For example, there are two stimulus sentences that are similar (Probes 19 and 23):
"It is all right to coerce one's partner into having sex when they are not willing by forcing them"
"It is all right to coerce one's partner into having sex when they are not willing by giving the other alcohol or drugs"

Monkey runs of the script present these sentences with the appropriate probes (i.e. 3 times per block, 1 for each response probe). However, the monkley run will also present the sentence:
"It is all right to coerce one's partner into having sex when they are not" as a trial i.e. 3 times per block, 1 for each response probe).

I can find no reason for this in this script. The same is true for 2-3 other sentences in the stimulus list. And its always the same sentences so I dont think its my laptop's processing power.

Do you have any advice as to why this may be happening?

Thank you very much, David.

The progress bar has no effect whatsoever on the rest (trial selection, etc.), so the bug is in your original.

> And its always the same sentences

Then check the relevant trials. For example, you'll easily spot the mistakes here:

// 15 words trial but displays 23 words stimuli
<trial 15words_true>
/ inputdevice = keyboard
/ validresponse = ("a", "l")
/ correctresponse = ("a")
/ stimulustimes = [0=cross; 500=blank, 23words_1; 790=blank, 23words_2;
                    1080=blank, 23words_3; 1370=blank, 23words_4;
                    1660=blank, 23words_5; 1950=blank, 23words_6;
                    2240=blank, 23words_7; 2530=blank, 23words_8;
                    2820=blank, 23words_9; 3110=blank, 23words_10;
                    3400=blank, 23words_11; 3690=blank, 23words_12;
                    3980=blank, 23words_13; 4270=blank, 23words_14;
                    4560=blank, 23words_15; 5060=blank; 5560 = true_probe]
/ responsetime = 5560
/ responsemessage = ("l", wrong, 2000)
/ branch = [trial.iti]
</trial>

// 15 words trial but displays 23 words stimuli
<trial 15words_false>
/ inputdevice = keyboard
/ validresponse = ("a", "l")
/ correctresponse = ("l")
/ stimulustimes = [0=cross; 500=blank, 23words_1; 790=blank, 23words_2;
                    1080=blank, 23words_3; 1370=blank, 23words_4;
                    1660=blank, 23words_5; 1950=blank, 23words_6;
                    2240=blank, 23words_7; 2530=blank, 23words_8;
                    2820=blank, 23words_9; 3110=blank, 23words_10;
                    3400=blank, 23words_11; 3690=blank, 23words_12;
                    3980=blank, 23words_13; 4270=blank, 23words_14;
                    4560=blank, 23words_15; 5060=blank; 5560 = false_probe]
/ responsetime = 5560
/ responsemessage = ("a", wrong, 2000)
/ branch = [trial.iti]
</trial>

<trial 15words_catch>
/ inputdevice = keyboard
/ validresponse = ("a", "l")
/ correctresponse = ("a")
/ stimulustimes = [0=cross; 500=blank, 23words_1; 790=blank, 23words_2;
                    1080=blank, 23words_3; 1370=blank, 23words_4;
                    1660=blank, 23words_5; 1950=blank, 23words_6;
                    2240=blank, 23words_7; 2530=blank, 23words_8;
                    2820=blank, 23words_9; 3110=blank, 23words_10;
                    3400=blank, 23words_11; 3690=blank, 23words_12;
                    3980=blank, 23words_13; 4270=blank, 23words_14;
                    4560=blank, 23words_15; 5060=blank; 5560 = catch]
/ responsetime = 5560
/ branch = [trial.iti]
</trial>

Thank you very much. David. I really appreciate it.

So obvious when you point it out. I guess I'm too close to it.

This script is so close to being done now. Thanks in large part to your help. Is it possible to ask you one more question? I am having a bug with the distribution of teh <items> for the <list> within each <block>.

In total, I have 39 items that I wish to appear as individual trials 3 times within each of the 3 PEP experimental blocks (i.e. 9 times over the total experiment). That is, each item should appear once with each of the response prompts (i.e. true, false, catch) each block, with no replacement within the blocks. However, in the data I am noting that 1) some items are being replaced within a block and 2) some items are being selected more or less than the desired number of times.

I believe I have programmed the presentation probabilities for the items and lists correctly, as well as having placed '/response = false' commands in the correct places.

Any ideas where I am going wrong, David? Or anyone else?

I have attached an updated script as I have changed how the items are labelled to aid in data extraction. Thank you for any help you can offer.


*not '/ response = false', I have programmed '/ replace = false'.

Apologies.
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: 12K, Visits: 98K
M Gerathy - 7/25/2021
M Gerathy - 7/25/2021
Dave - 7/21/2021
M Gerathy - 7/21/2021
Thank you very much, David. The progress bar works perfectly. I really appreciate it.

However, the script seems to have developed a bug. For a few of the trial presentations the script is sometimes (not all times) presenting the sentences with missing words.

For example, there are two stimulus sentences that are similar (Probes 19 and 23):
"It is all right to coerce one's partner into having sex when they are not willing by forcing them"
"It is all right to coerce one's partner into having sex when they are not willing by giving the other alcohol or drugs"

Monkey runs of the script present these sentences with the appropriate probes (i.e. 3 times per block, 1 for each response probe). However, the monkley run will also present the sentence:
"It is all right to coerce one's partner into having sex when they are not" as a trial i.e. 3 times per block, 1 for each response probe).

I can find no reason for this in this script. The same is true for 2-3 other sentences in the stimulus list. And its always the same sentences so I dont think its my laptop's processing power.

Do you have any advice as to why this may be happening?

Thank you very much, David.

The progress bar has no effect whatsoever on the rest (trial selection, etc.), so the bug is in your original.

> And its always the same sentences

Then check the relevant trials. For example, you'll easily spot the mistakes here:

// 15 words trial but displays 23 words stimuli
<trial 15words_true>
/ inputdevice = keyboard
/ validresponse = ("a", "l")
/ correctresponse = ("a")
/ stimulustimes = [0=cross; 500=blank, 23words_1; 790=blank, 23words_2;
                    1080=blank, 23words_3; 1370=blank, 23words_4;
                    1660=blank, 23words_5; 1950=blank, 23words_6;
                    2240=blank, 23words_7; 2530=blank, 23words_8;
                    2820=blank, 23words_9; 3110=blank, 23words_10;
                    3400=blank, 23words_11; 3690=blank, 23words_12;
                    3980=blank, 23words_13; 4270=blank, 23words_14;
                    4560=blank, 23words_15; 5060=blank; 5560 = true_probe]
/ responsetime = 5560
/ responsemessage = ("l", wrong, 2000)
/ branch = [trial.iti]
</trial>

// 15 words trial but displays 23 words stimuli
<trial 15words_false>
/ inputdevice = keyboard
/ validresponse = ("a", "l")
/ correctresponse = ("l")
/ stimulustimes = [0=cross; 500=blank, 23words_1; 790=blank, 23words_2;
                    1080=blank, 23words_3; 1370=blank, 23words_4;
                    1660=blank, 23words_5; 1950=blank, 23words_6;
                    2240=blank, 23words_7; 2530=blank, 23words_8;
                    2820=blank, 23words_9; 3110=blank, 23words_10;
                    3400=blank, 23words_11; 3690=blank, 23words_12;
                    3980=blank, 23words_13; 4270=blank, 23words_14;
                    4560=blank, 23words_15; 5060=blank; 5560 = false_probe]
/ responsetime = 5560
/ responsemessage = ("a", wrong, 2000)
/ branch = [trial.iti]
</trial>

<trial 15words_catch>
/ inputdevice = keyboard
/ validresponse = ("a", "l")
/ correctresponse = ("a")
/ stimulustimes = [0=cross; 500=blank, 23words_1; 790=blank, 23words_2;
                    1080=blank, 23words_3; 1370=blank, 23words_4;
                    1660=blank, 23words_5; 1950=blank, 23words_6;
                    2240=blank, 23words_7; 2530=blank, 23words_8;
                    2820=blank, 23words_9; 3110=blank, 23words_10;
                    3400=blank, 23words_11; 3690=blank, 23words_12;
                    3980=blank, 23words_13; 4270=blank, 23words_14;
                    4560=blank, 23words_15; 5060=blank; 5560 = catch]
/ responsetime = 5560
/ branch = [trial.iti]
</trial>

Thank you very much. David. I really appreciate it.

So obvious when you point it out. I guess I'm too close to it.

This script is so close to being done now. Thanks in large part to your help. Is it possible to ask you one more question? I am having a bug with the distribution of teh <items> for the <list> within each <block>.

In total, I have 39 items that I wish to appear as individual trials 3 times within each of the 3 PEP experimental blocks (i.e. 9 times over the total experiment). That is, each item should appear once with each of the response prompts (i.e. true, false, catch) each block, with no replacement within the blocks. However, in the data I am noting that 1) some items are being replaced within a block and 2) some items are being selected more or less than the desired number of times.

I believe I have programmed the presentation probabilities for the items and lists correctly, as well as having placed '/response = false' commands in the correct places.

Any ideas where I am going wrong, David? Or anyone else?

I have attached an updated script as I have changed how the items are labelled to aid in data extraction. Thank you for any help you can offer.


*not '/ response = false', I have programmed '/ replace = false'.

Apologies.

Can you explain your math here and how that's supposed to correspond to

> In total, I have 39 items that I wish to appear as individual trials 3 times within each of the 3 PEP experimental blocks (i.e. 9 times over the total experiment).
> That is, each item should appear once with each of the response prompts (i.e. true, false, catch) each block, with no replacement within the blocks.

? Because I don't get it.

<list pep_1>
/ items = (list.true_probes.nextvalue,
         list.false_probes.nextvalue,
         list.catch.nextvalue)
/ itemprobabilities = (.3333333333333333333333, .3333333333333333333333, .3333333333333333333333)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>

<list pep_2>
/ items = (list.true_probes.nextvalue,
         list.false_probes.nextvalue,
         list.catch.nextvalue)
/ itemprobabilities = (.3333333333333333333333, .3333333333333333333333, .3333333333333333333333)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>

<list pep_3>
/ items = (list.true_probes.nextvalue,
         list.false_probes.nextvalue,
         list.catch.nextvalue)
/ itemprobabilities = (.3333333333333333333333, .3333333333333333333333, .3333333333333333333333)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>


<list true_probes>
/ items = (trial.4words_1_true,
         trial.4words_37_true,
         trial.5words_19_true,
         trial.6words_10_true,
         trial.6words_12_true,
         trial.7words_3_true,
         trial.7words_21_true,
         trial.7words_31_true,
         trial.7words_34_true,
         trial.8words_23_true,
         trial.9words_20_true,
         trial.9words_28_true,
         trial.9words_39_true,
         trial.10words_6_true,
         trial.10words_11_true,
         trial.11words_4_true,
         trial.11words_5_true,
         trial.11words_14_true,
         trial.11words_15_true,
         trial.11words_16_true,
         trial.11words_25_true,
         trial.12words_2_true,
         trial.12words_7_true,
         trial.14words_17_true,
         trial.14words_24_true,
         trial.14words_27_true,
         trial.15words_13_true,
         trial.15words_26_true,
         trial.15words_35_true,
         trial.15words_36_true,
         trial.16words_9_true,
         trial.16words_18_true,
         trial.16words_29_true,
         trial.16words_32_true,
         trial.18words_22_true,
         trial.18words_33_true,
         trial.19words_30_true,
         trial.20words_8_true,
         trial.23words_38_true)
/ itemprobabilities = (.02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>

<list false_probes>
/ items = (trial.4words_1_false,
         trial.4words_37_false,
         trial.5words_19_false,
         trial.6words_10_false,
         trial.6words_12_false,
         trial.7words_3_false,
         trial.7words_21_false,
         trial.7words_31_false,
         trial.7words_34_false,
         trial.8words_23_false,
         trial.9words_20_false,
         trial.9words_28_false,
         trial.9words_39_false,
         trial.10words_6_false,
         trial.10words_11_false,
         trial.11words_4_false,
         trial.11words_5_false,
         trial.11words_14_false,
         trial.11words_15_false,
         trial.11words_16_false,
         trial.11words_25_false,
         trial.12words_2_false,
         trial.12words_7_false,
         trial.14words_17_false,
         trial.14words_24_false,
         trial.14words_27_false,
         trial.15words_13_false,
         trial.15words_26_false,
         trial.15words_35_false,
         trial.15words_36_false,
         trial.16words_9_false,
         trial.16words_18_false,
         trial.16words_29_false,
         trial.16words_32_false,
         trial.18words_22_false,
         trial.18words_33_false,
         trial.19words_30_false,
         trial.20words_8_false,
         trial.23words_38_false)
/ itemprobabilities = (.02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>

<list catch>
/ items = (trial.4words_1_catch,
         trial.4words_37_catch,
         trial.5words_19_catch,
         trial.6words_10_catch,
         trial.6words_12_catch,
         trial.7words_3_catch,
         trial.7words_21_catch,
         trial.7words_31_catch,
         trial.7words_34_catch,
         trial.8words_23_catch,
         trial.9words_20_catch,
         trial.9words_28_catch,
         trial.9words_39_catch,
         trial.10words_6_catch,
         trial.10words_11_catch,
         trial.11words_4_catch,
         trial.11words_5_catch,
         trial.11words_14_catch,
         trial.11words_15_catch,
         trial.11words_16_catch,
         trial.11words_25_catch,
         trial.12words_2_catch,
         trial.12words_7_catch,
         trial.14words_17_catch,
         trial.14words_24_catch,
         trial.14words_27_catch,
         trial.15words_13_catch,
         trial.15words_26_catch,
         trial.15words_35_catch,
         trial.15words_36_catch,
         trial.16words_9_catch,
         trial.16words_18_catch,
         trial.16words_29_catch,
         trial.16words_32_catch,
         trial.18words_22_catch,
         trial.18words_33_catch,
         trial.19words_30_catch,
         trial.20words_8_catch,
         trial.23words_38_catch)
/ itemprobabilities = (.02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>

Edited 3 Years Ago by Dave
M Gerathy
M Gerathy
Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)
Group: Forum Members
Posts: 17, Visits: 45
Dave - 7/26/2021
M Gerathy - 7/25/2021
M Gerathy - 7/25/2021
Dave - 7/21/2021
M Gerathy - 7/21/2021
Thank you very much, David. The progress bar works perfectly. I really appreciate it.

However, the script seems to have developed a bug. For a few of the trial presentations the script is sometimes (not all times) presenting the sentences with missing words.

For example, there are two stimulus sentences that are similar (Probes 19 and 23):
"It is all right to coerce one's partner into having sex when they are not willing by forcing them"
"It is all right to coerce one's partner into having sex when they are not willing by giving the other alcohol or drugs"

Monkey runs of the script present these sentences with the appropriate probes (i.e. 3 times per block, 1 for each response probe). However, the monkley run will also present the sentence:
"It is all right to coerce one's partner into having sex when they are not" as a trial i.e. 3 times per block, 1 for each response probe).

I can find no reason for this in this script. The same is true for 2-3 other sentences in the stimulus list. And its always the same sentences so I dont think its my laptop's processing power.

Do you have any advice as to why this may be happening?

Thank you very much, David.

The progress bar has no effect whatsoever on the rest (trial selection, etc.), so the bug is in your original.

> And its always the same sentences

Then check the relevant trials. For example, you'll easily spot the mistakes here:

// 15 words trial but displays 23 words stimuli
<trial 15words_true>
/ inputdevice = keyboard
/ validresponse = ("a", "l")
/ correctresponse = ("a")
/ stimulustimes = [0=cross; 500=blank, 23words_1; 790=blank, 23words_2;
                    1080=blank, 23words_3; 1370=blank, 23words_4;
                    1660=blank, 23words_5; 1950=blank, 23words_6;
                    2240=blank, 23words_7; 2530=blank, 23words_8;
                    2820=blank, 23words_9; 3110=blank, 23words_10;
                    3400=blank, 23words_11; 3690=blank, 23words_12;
                    3980=blank, 23words_13; 4270=blank, 23words_14;
                    4560=blank, 23words_15; 5060=blank; 5560 = true_probe]
/ responsetime = 5560
/ responsemessage = ("l", wrong, 2000)
/ branch = [trial.iti]
</trial>

// 15 words trial but displays 23 words stimuli
<trial 15words_false>
/ inputdevice = keyboard
/ validresponse = ("a", "l")
/ correctresponse = ("l")
/ stimulustimes = [0=cross; 500=blank, 23words_1; 790=blank, 23words_2;
                    1080=blank, 23words_3; 1370=blank, 23words_4;
                    1660=blank, 23words_5; 1950=blank, 23words_6;
                    2240=blank, 23words_7; 2530=blank, 23words_8;
                    2820=blank, 23words_9; 3110=blank, 23words_10;
                    3400=blank, 23words_11; 3690=blank, 23words_12;
                    3980=blank, 23words_13; 4270=blank, 23words_14;
                    4560=blank, 23words_15; 5060=blank; 5560 = false_probe]
/ responsetime = 5560
/ responsemessage = ("a", wrong, 2000)
/ branch = [trial.iti]
</trial>

<trial 15words_catch>
/ inputdevice = keyboard
/ validresponse = ("a", "l")
/ correctresponse = ("a")
/ stimulustimes = [0=cross; 500=blank, 23words_1; 790=blank, 23words_2;
                    1080=blank, 23words_3; 1370=blank, 23words_4;
                    1660=blank, 23words_5; 1950=blank, 23words_6;
                    2240=blank, 23words_7; 2530=blank, 23words_8;
                    2820=blank, 23words_9; 3110=blank, 23words_10;
                    3400=blank, 23words_11; 3690=blank, 23words_12;
                    3980=blank, 23words_13; 4270=blank, 23words_14;
                    4560=blank, 23words_15; 5060=blank; 5560 = catch]
/ responsetime = 5560
/ branch = [trial.iti]
</trial>

Thank you very much. David. I really appreciate it.

So obvious when you point it out. I guess I'm too close to it.

This script is so close to being done now. Thanks in large part to your help. Is it possible to ask you one more question? I am having a bug with the distribution of teh <items> for the <list> within each <block>.

In total, I have 39 items that I wish to appear as individual trials 3 times within each of the 3 PEP experimental blocks (i.e. 9 times over the total experiment). That is, each item should appear once with each of the response prompts (i.e. true, false, catch) each block, with no replacement within the blocks. However, in the data I am noting that 1) some items are being replaced within a block and 2) some items are being selected more or less than the desired number of times.

I believe I have programmed the presentation probabilities for the items and lists correctly, as well as having placed '/response = false' commands in the correct places.

Any ideas where I am going wrong, David? Or anyone else?

I have attached an updated script as I have changed how the items are labelled to aid in data extraction. Thank you for any help you can offer.


*not '/ response = false', I have programmed '/ replace = false'.

Apologies.

Can you explain your math here and how that's supposed to correspond to

> In total, I have 39 items that I wish to appear as individual trials 3 times within each of the 3 PEP experimental blocks (i.e. 9 times over the total experiment).
> That is, each item should appear once with each of the response prompts (i.e. true, false, catch) each block, with no replacement within the blocks.

? Because I don't get it.

<list pep_1>
/ items = (list.true_probes.nextvalue,
         list.false_probes.nextvalue,
         list.catch.nextvalue)
/ itemprobabilities = (.3333333333333333333333, .3333333333333333333333, .3333333333333333333333)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>

<list pep_2>
/ items = (list.true_probes.nextvalue,
         list.false_probes.nextvalue,
         list.catch.nextvalue)
/ itemprobabilities = (.3333333333333333333333, .3333333333333333333333, .3333333333333333333333)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>

<list pep_3>
/ items = (list.true_probes.nextvalue,
         list.false_probes.nextvalue,
         list.catch.nextvalue)
/ itemprobabilities = (.3333333333333333333333, .3333333333333333333333, .3333333333333333333333)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>


<list true_probes>
/ items = (trial.4words_1_true,
         trial.4words_37_true,
         trial.5words_19_true,
         trial.6words_10_true,
         trial.6words_12_true,
         trial.7words_3_true,
         trial.7words_21_true,
         trial.7words_31_true,
         trial.7words_34_true,
         trial.8words_23_true,
         trial.9words_20_true,
         trial.9words_28_true,
         trial.9words_39_true,
         trial.10words_6_true,
         trial.10words_11_true,
         trial.11words_4_true,
         trial.11words_5_true,
         trial.11words_14_true,
         trial.11words_15_true,
         trial.11words_16_true,
         trial.11words_25_true,
         trial.12words_2_true,
         trial.12words_7_true,
         trial.14words_17_true,
         trial.14words_24_true,
         trial.14words_27_true,
         trial.15words_13_true,
         trial.15words_26_true,
         trial.15words_35_true,
         trial.15words_36_true,
         trial.16words_9_true,
         trial.16words_18_true,
         trial.16words_29_true,
         trial.16words_32_true,
         trial.18words_22_true,
         trial.18words_33_true,
         trial.19words_30_true,
         trial.20words_8_true,
         trial.23words_38_true)
/ itemprobabilities = (.02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>

<list false_probes>
/ items = (trial.4words_1_false,
         trial.4words_37_false,
         trial.5words_19_false,
         trial.6words_10_false,
         trial.6words_12_false,
         trial.7words_3_false,
         trial.7words_21_false,
         trial.7words_31_false,
         trial.7words_34_false,
         trial.8words_23_false,
         trial.9words_20_false,
         trial.9words_28_false,
         trial.9words_39_false,
         trial.10words_6_false,
         trial.10words_11_false,
         trial.11words_4_false,
         trial.11words_5_false,
         trial.11words_14_false,
         trial.11words_15_false,
         trial.11words_16_false,
         trial.11words_25_false,
         trial.12words_2_false,
         trial.12words_7_false,
         trial.14words_17_false,
         trial.14words_24_false,
         trial.14words_27_false,
         trial.15words_13_false,
         trial.15words_26_false,
         trial.15words_35_false,
         trial.15words_36_false,
         trial.16words_9_false,
         trial.16words_18_false,
         trial.16words_29_false,
         trial.16words_32_false,
         trial.18words_22_false,
         trial.18words_33_false,
         trial.19words_30_false,
         trial.20words_8_false,
         trial.23words_38_false)
/ itemprobabilities = (.02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>

<list catch>
/ items = (trial.4words_1_catch,
         trial.4words_37_catch,
         trial.5words_19_catch,
         trial.6words_10_catch,
         trial.6words_12_catch,
         trial.7words_3_catch,
         trial.7words_21_catch,
         trial.7words_31_catch,
         trial.7words_34_catch,
         trial.8words_23_catch,
         trial.9words_20_catch,
         trial.9words_28_catch,
         trial.9words_39_catch,
         trial.10words_6_catch,
         trial.10words_11_catch,
         trial.11words_4_catch,
         trial.11words_5_catch,
         trial.11words_14_catch,
         trial.11words_15_catch,
         trial.11words_16_catch,
         trial.11words_25_catch,
         trial.12words_2_catch,
         trial.12words_7_catch,
         trial.14words_17_catch,
         trial.14words_24_catch,
         trial.14words_27_catch,
         trial.15words_13_catch,
         trial.15words_26_catch,
         trial.15words_35_catch,
         trial.15words_36_catch,
         trial.16words_9_catch,
         trial.16words_18_catch,
         trial.16words_29_catch,
         trial.16words_32_catch,
         trial.18words_22_catch,
         trial.18words_33_catch,
         trial.19words_30_catch,
         trial.20words_8_catch,
         trial.23words_38_catch)
/ itemprobabilities = (.02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>

Thanks for getting back to me David.

This is how I think it works though, I suspect I have got the mechanics wrong:

Each list (i.e. 1 for each of the different response probes) has 39 trials (i.e. 1 for each of the 39 different stimulus items), which are coded to be selected with equal probability. Each block contains 3 lists (therefore 39*3 = 117 trials per block), which are also coded to be selected with equal probability. I was of the belief that this would then code the program to select 1 trial from each list for all 39 different stimulus items, resulting in 3 presentations of each stimulus item (i.e. 1 for each of the response probes) per block, for 3 blocks and therefore 9 total presentations (i.e. 3 for each list type) of each stimulus item over the entire experiment.

Is this at all helpful?

Thank you again, David.
M Gerathy
M Gerathy
Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)
Group: Forum Members
Posts: 17, Visits: 45
M Gerathy - 7/27/2021
Dave - 7/26/2021
M Gerathy - 7/25/2021
M Gerathy - 7/25/2021
Dave - 7/21/2021
M Gerathy - 7/21/2021
Thank you very much, David. The progress bar works perfectly. I really appreciate it.

However, the script seems to have developed a bug. For a few of the trial presentations the script is sometimes (not all times) presenting the sentences with missing words.

For example, there are two stimulus sentences that are similar (Probes 19 and 23):
"It is all right to coerce one's partner into having sex when they are not willing by forcing them"
"It is all right to coerce one's partner into having sex when they are not willing by giving the other alcohol or drugs"

Monkey runs of the script present these sentences with the appropriate probes (i.e. 3 times per block, 1 for each response probe). However, the monkley run will also present the sentence:
"It is all right to coerce one's partner into having sex when they are not" as a trial i.e. 3 times per block, 1 for each response probe).

I can find no reason for this in this script. The same is true for 2-3 other sentences in the stimulus list. And its always the same sentences so I dont think its my laptop's processing power.

Do you have any advice as to why this may be happening?

Thank you very much, David.

The progress bar has no effect whatsoever on the rest (trial selection, etc.), so the bug is in your original.

> And its always the same sentences

Then check the relevant trials. For example, you'll easily spot the mistakes here:

// 15 words trial but displays 23 words stimuli
<trial 15words_true>
/ inputdevice = keyboard
/ validresponse = ("a", "l")
/ correctresponse = ("a")
/ stimulustimes = [0=cross; 500=blank, 23words_1; 790=blank, 23words_2;
                    1080=blank, 23words_3; 1370=blank, 23words_4;
                    1660=blank, 23words_5; 1950=blank, 23words_6;
                    2240=blank, 23words_7; 2530=blank, 23words_8;
                    2820=blank, 23words_9; 3110=blank, 23words_10;
                    3400=blank, 23words_11; 3690=blank, 23words_12;
                    3980=blank, 23words_13; 4270=blank, 23words_14;
                    4560=blank, 23words_15; 5060=blank; 5560 = true_probe]
/ responsetime = 5560
/ responsemessage = ("l", wrong, 2000)
/ branch = [trial.iti]
</trial>

// 15 words trial but displays 23 words stimuli
<trial 15words_false>
/ inputdevice = keyboard
/ validresponse = ("a", "l")
/ correctresponse = ("l")
/ stimulustimes = [0=cross; 500=blank, 23words_1; 790=blank, 23words_2;
                    1080=blank, 23words_3; 1370=blank, 23words_4;
                    1660=blank, 23words_5; 1950=blank, 23words_6;
                    2240=blank, 23words_7; 2530=blank, 23words_8;
                    2820=blank, 23words_9; 3110=blank, 23words_10;
                    3400=blank, 23words_11; 3690=blank, 23words_12;
                    3980=blank, 23words_13; 4270=blank, 23words_14;
                    4560=blank, 23words_15; 5060=blank; 5560 = false_probe]
/ responsetime = 5560
/ responsemessage = ("a", wrong, 2000)
/ branch = [trial.iti]
</trial>

<trial 15words_catch>
/ inputdevice = keyboard
/ validresponse = ("a", "l")
/ correctresponse = ("a")
/ stimulustimes = [0=cross; 500=blank, 23words_1; 790=blank, 23words_2;
                    1080=blank, 23words_3; 1370=blank, 23words_4;
                    1660=blank, 23words_5; 1950=blank, 23words_6;
                    2240=blank, 23words_7; 2530=blank, 23words_8;
                    2820=blank, 23words_9; 3110=blank, 23words_10;
                    3400=blank, 23words_11; 3690=blank, 23words_12;
                    3980=blank, 23words_13; 4270=blank, 23words_14;
                    4560=blank, 23words_15; 5060=blank; 5560 = catch]
/ responsetime = 5560
/ branch = [trial.iti]
</trial>

Thank you very much. David. I really appreciate it.

So obvious when you point it out. I guess I'm too close to it.

This script is so close to being done now. Thanks in large part to your help. Is it possible to ask you one more question? I am having a bug with the distribution of teh <items> for the <list> within each <block>.

In total, I have 39 items that I wish to appear as individual trials 3 times within each of the 3 PEP experimental blocks (i.e. 9 times over the total experiment). That is, each item should appear once with each of the response prompts (i.e. true, false, catch) each block, with no replacement within the blocks. However, in the data I am noting that 1) some items are being replaced within a block and 2) some items are being selected more or less than the desired number of times.

I believe I have programmed the presentation probabilities for the items and lists correctly, as well as having placed '/response = false' commands in the correct places.

Any ideas where I am going wrong, David? Or anyone else?

I have attached an updated script as I have changed how the items are labelled to aid in data extraction. Thank you for any help you can offer.


*not '/ response = false', I have programmed '/ replace = false'.

Apologies.

Can you explain your math here and how that's supposed to correspond to

> In total, I have 39 items that I wish to appear as individual trials 3 times within each of the 3 PEP experimental blocks (i.e. 9 times over the total experiment).
> That is, each item should appear once with each of the response prompts (i.e. true, false, catch) each block, with no replacement within the blocks.

? Because I don't get it.

<list pep_1>
/ items = (list.true_probes.nextvalue,
         list.false_probes.nextvalue,
         list.catch.nextvalue)
/ itemprobabilities = (.3333333333333333333333, .3333333333333333333333, .3333333333333333333333)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>

<list pep_2>
/ items = (list.true_probes.nextvalue,
         list.false_probes.nextvalue,
         list.catch.nextvalue)
/ itemprobabilities = (.3333333333333333333333, .3333333333333333333333, .3333333333333333333333)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>

<list pep_3>
/ items = (list.true_probes.nextvalue,
         list.false_probes.nextvalue,
         list.catch.nextvalue)
/ itemprobabilities = (.3333333333333333333333, .3333333333333333333333, .3333333333333333333333)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>


<list true_probes>
/ items = (trial.4words_1_true,
         trial.4words_37_true,
         trial.5words_19_true,
         trial.6words_10_true,
         trial.6words_12_true,
         trial.7words_3_true,
         trial.7words_21_true,
         trial.7words_31_true,
         trial.7words_34_true,
         trial.8words_23_true,
         trial.9words_20_true,
         trial.9words_28_true,
         trial.9words_39_true,
         trial.10words_6_true,
         trial.10words_11_true,
         trial.11words_4_true,
         trial.11words_5_true,
         trial.11words_14_true,
         trial.11words_15_true,
         trial.11words_16_true,
         trial.11words_25_true,
         trial.12words_2_true,
         trial.12words_7_true,
         trial.14words_17_true,
         trial.14words_24_true,
         trial.14words_27_true,
         trial.15words_13_true,
         trial.15words_26_true,
         trial.15words_35_true,
         trial.15words_36_true,
         trial.16words_9_true,
         trial.16words_18_true,
         trial.16words_29_true,
         trial.16words_32_true,
         trial.18words_22_true,
         trial.18words_33_true,
         trial.19words_30_true,
         trial.20words_8_true,
         trial.23words_38_true)
/ itemprobabilities = (.02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>

<list false_probes>
/ items = (trial.4words_1_false,
         trial.4words_37_false,
         trial.5words_19_false,
         trial.6words_10_false,
         trial.6words_12_false,
         trial.7words_3_false,
         trial.7words_21_false,
         trial.7words_31_false,
         trial.7words_34_false,
         trial.8words_23_false,
         trial.9words_20_false,
         trial.9words_28_false,
         trial.9words_39_false,
         trial.10words_6_false,
         trial.10words_11_false,
         trial.11words_4_false,
         trial.11words_5_false,
         trial.11words_14_false,
         trial.11words_15_false,
         trial.11words_16_false,
         trial.11words_25_false,
         trial.12words_2_false,
         trial.12words_7_false,
         trial.14words_17_false,
         trial.14words_24_false,
         trial.14words_27_false,
         trial.15words_13_false,
         trial.15words_26_false,
         trial.15words_35_false,
         trial.15words_36_false,
         trial.16words_9_false,
         trial.16words_18_false,
         trial.16words_29_false,
         trial.16words_32_false,
         trial.18words_22_false,
         trial.18words_33_false,
         trial.19words_30_false,
         trial.20words_8_false,
         trial.23words_38_false)
/ itemprobabilities = (.02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>

<list catch>
/ items = (trial.4words_1_catch,
         trial.4words_37_catch,
         trial.5words_19_catch,
         trial.6words_10_catch,
         trial.6words_12_catch,
         trial.7words_3_catch,
         trial.7words_21_catch,
         trial.7words_31_catch,
         trial.7words_34_catch,
         trial.8words_23_catch,
         trial.9words_20_catch,
         trial.9words_28_catch,
         trial.9words_39_catch,
         trial.10words_6_catch,
         trial.10words_11_catch,
         trial.11words_4_catch,
         trial.11words_5_catch,
         trial.11words_14_catch,
         trial.11words_15_catch,
         trial.11words_16_catch,
         trial.11words_25_catch,
         trial.12words_2_catch,
         trial.12words_7_catch,
         trial.14words_17_catch,
         trial.14words_24_catch,
         trial.14words_27_catch,
         trial.15words_13_catch,
         trial.15words_26_catch,
         trial.15words_35_catch,
         trial.15words_36_catch,
         trial.16words_9_catch,
         trial.16words_18_catch,
         trial.16words_29_catch,
         trial.16words_32_catch,
         trial.18words_22_catch,
         trial.18words_33_catch,
         trial.19words_30_catch,
         trial.20words_8_catch,
         trial.23words_38_catch)
/ itemprobabilities = (.02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>

Thanks for getting back to me David.

This is how I think it works though, I suspect I have got the mechanics wrong:

Each list (i.e. 1 for each of the different response probes) has 39 trials (i.e. 1 for each of the 39 different stimulus items), which are coded to be selected with equal probability. Each block contains 3 lists (therefore 39*3 = 117 trials per block), which are also coded to be selected with equal probability. I was of the belief that this would then code the program to select 1 trial from each list for all 39 different stimulus items, resulting in 3 presentations of each stimulus item (i.e. 1 for each of the response probes) per block, for 3 blocks and therefore 9 total presentations (i.e. 3 for each list type) of each stimulus item over the entire experiment.

Is this at all helpful?

Thank you again, David.

Also, I was of the belief that the '/ replace = false' command would restrict the selection of each trial the 3 different lists to once per block. 
M Gerathy
M Gerathy
Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)
Group: Forum Members
Posts: 17, Visits: 45
For example, each block's data would record one presentation each of:
trial.8words_23_true
trial.8words_23_false
trial.8words_23_catch

with the same being true for all the other stimulus items.
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: 12K, Visits: 98K
M Gerathy - 7/27/2021
For example, each block's data would record one presentation each of:
trial.8words_23_true
trial.8words_23_false
trial.8words_23_catch

with the same being true for all the other stimulus items.

Let's consider the 1st block (the others are identical, so that's sufficient).

You take 117 samples from list.pep_1 per

<block pep_1>
...
/ trials = [1 = one_second; 2-118 = list.pep_1]
...
</block>

The pep_1 list has a poolsize of 117 and will sample from its three sublists in equal proportions (specifying /itemprobabities here is not strictly necessary), yielding 39 samples from list.true_probes, 39 from list.false_probes, and 39 from list.catch.

<list pep_1>
/ items = (list.true_probes.nextvalue,
    list.false_probes.nextvalue,
    list.catch.nextvalue)
/ itemprobabilities = (.3333333333333333333333, .3333333333333333333333, .3333333333333333333333)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>


That's all fine and makes sense. What does NOT make sense is the configuration of your sublists.

<list true_probes>
/ items = (trial.4words_1_true,
         trial.4words_37_true,
         trial.5words_19_true,
         trial.6words_10_true,
         trial.6words_12_true,
         trial.7words_3_true,
         trial.7words_21_true,
         trial.7words_31_true,
         trial.7words_34_true,
         trial.8words_23_true,
         trial.9words_20_true,
         trial.9words_28_true,
         trial.9words_39_true,
         trial.10words_6_true,
         trial.10words_11_true,
         trial.11words_4_true,
         trial.11words_5_true,
         trial.11words_14_true,
         trial.11words_15_true,
         trial.11words_16_true,
         trial.11words_25_true,
         trial.12words_2_true,
         trial.12words_7_true,
         trial.14words_17_true,
         trial.14words_24_true,
         trial.14words_27_true,
         trial.15words_13_true,
         trial.15words_26_true,
         trial.15words_35_true,
         trial.15words_36_true,
         trial.16words_9_true,
         trial.16words_18_true,
         trial.16words_29_true,
         trial.16words_32_true,
         trial.18words_22_true,
         trial.18words_33_true,
         trial.19words_30_true,
         trial.20words_8_true,
         trial.23words_38_true)
/ itemprobabilities = (.02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564,
                     .02564102564102564102564)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>


These you've also set to a poolsize of 117, and per their /itemprobabilities you effectively populate those lists with three instances of each trial. So, spelled out, the list's contents actually look something like this:

<list true_probes>
/ items = (trial.4words_1_true, trial.4words_1_true, trial.4words_1_true,
         trial.4words_37_true, trial.4words_37_true, trial.4words_37_true,
         trial.5words_19_true, trial.5words_19_true, trial.5words_19_true,
         trial.6words_10_true, trial.6words_10_true, trial.6words_10_true,
         trial.6words_12_true, trial.6words_12_true, trial.6words_12_true,
            ...
         trial.18words_22_true, trial.18words_22_true, trial.18words_22_true,
         trial.18words_33_true, trial.18words_33_true, trial.18words_33_true,
         trial.19words_30_true, trial.19words_30_true, trial.19words_30_true,
         trial.20words_8_true, trial.20words_8_true, trial.20words_8_true,
         trial.23words_38_true, trial.23words_38_true, trial.23words_38_true)
/ selectionmode = random
/ replace = false
</list>


Per block, you sample 39 of those 117 trial objects, and there is no reason whatsoever why the first block should not sample 2 instances of trial.5words_19_true, and no instance of trial.20words_8_true. The exact same thing applies to list.false_probes and list.catch. The script is behaving exactly like you told it to behave.

If you want

> each block's data would record one presentation each of:
> trial.8words_23_true
> trial.8words_23_false
>trial.8words_23_catch
>
> with the same being true for all the other stimulus items.

then clearly you ought to set up things like this:


<list pep_1>
/ items = (list.true_probes.nextvalue,
         list.false_probes.nextvalue,
         list.catch.nextvalue)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>

<list pep_2>
/ items = (list.true_probes.nextvalue,
         list.false_probes.nextvalue,
         list.catch.nextvalue)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>

<list pep_3>
/ items = (list.true_probes.nextvalue,
         list.false_probes.nextvalue,
         list.catch.nextvalue)
/ poolsize = 117
/ selectionmode = random
/ replace = false
</list>


<list true_probes>
/ items = (trial.4words_1_true,
         trial.4words_37_true,
         trial.5words_19_true,
         trial.6words_10_true,
         trial.6words_12_true,
         trial.7words_3_true,
         trial.7words_21_true,
         trial.7words_31_true,
         trial.7words_34_true,
         trial.8words_23_true,
         trial.9words_20_true,
         trial.9words_28_true,
         trial.9words_39_true,
         trial.10words_6_true,
         trial.10words_11_true,
         trial.11words_4_true,
         trial.11words_5_true,
         trial.11words_14_true,
         trial.11words_15_true,
         trial.11words_16_true,
         trial.11words_25_true,
         trial.12words_2_true,
         trial.12words_7_true,
         trial.14words_17_true,
         trial.14words_24_true,
         trial.14words_27_true,
         trial.15words_13_true,
         trial.15words_26_true,
         trial.15words_35_true,
         trial.15words_36_true,
         trial.16words_9_true,
         trial.16words_18_true,
         trial.16words_29_true,
         trial.16words_32_true,
         trial.18words_22_true,
         trial.18words_33_true,
         trial.19words_30_true,
         trial.20words_8_true,
         trial.23words_38_true)
/ selectionmode = random
/ replace = false
</list>

<list false_probes>
/ items = (trial.4words_1_false,
         trial.4words_37_false,
         trial.5words_19_false,
         trial.6words_10_false,
         trial.6words_12_false,
         trial.7words_3_false,
         trial.7words_21_false,
         trial.7words_31_false,
         trial.7words_34_false,
         trial.8words_23_false,
         trial.9words_20_false,
         trial.9words_28_false,
         trial.9words_39_false,
         trial.10words_6_false,
         trial.10words_11_false,
         trial.11words_4_false,
         trial.11words_5_false,
         trial.11words_14_false,
         trial.11words_15_false,
         trial.11words_16_false,
         trial.11words_25_false,
         trial.12words_2_false,
         trial.12words_7_false,
         trial.14words_17_false,
         trial.14words_24_false,
         trial.14words_27_false,
         trial.15words_13_false,
         trial.15words_26_false,
         trial.15words_35_false,
         trial.15words_36_false,
         trial.16words_9_false,
         trial.16words_18_false,
         trial.16words_29_false,
         trial.16words_32_false,
         trial.18words_22_false,
         trial.18words_33_false,
         trial.19words_30_false,
         trial.20words_8_false,
         trial.23words_38_false)
/ selectionmode = random
/ replace = false
</list>

<list catch>
/ items = (trial.4words_1_catch,
         trial.4words_37_catch,
         trial.5words_19_catch,
         trial.6words_10_catch,
         trial.6words_12_catch,
         trial.7words_3_catch,
         trial.7words_21_catch,
         trial.7words_31_catch,
         trial.7words_34_catch,
         trial.8words_23_catch,
         trial.9words_20_catch,
         trial.9words_28_catch,
         trial.9words_39_catch,
         trial.10words_6_catch,
         trial.10words_11_catch,
         trial.11words_4_catch,
         trial.11words_5_catch,
         trial.11words_14_catch,
         trial.11words_15_catch,
         trial.11words_16_catch,
         trial.11words_25_catch,
         trial.12words_2_catch,
         trial.12words_7_catch,
         trial.14words_17_catch,
         trial.14words_24_catch,
         trial.14words_27_catch,
         trial.15words_13_catch,
         trial.15words_26_catch,
         trial.15words_35_catch,
         trial.15words_36_catch,
         trial.16words_9_catch,
         trial.16words_18_catch,
         trial.16words_29_catch,
         trial.16words_32_catch,
         trial.18words_22_catch,
         trial.18words_33_catch,
         trial.19words_30_catch,
         trial.20words_8_catch,
         trial.23words_38_catch)
/ selectionmode = random
/ replace = false
</list>



M Gerathy
M Gerathy
Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)
Group: Forum Members
Posts: 17, Visits: 45

Thank you very much, David. Clearly I need to spend some more time learning the software.

The project is now completely ready to run.
M Gerathy
M Gerathy
Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)Respected Member (316 reputation)
Group: Forum Members
Posts: 17, Visits: 45
M Gerathy - 7/29/2021

Thank you very much, David. Clearly I need to spend some more time learning the software.

The project is now completely ready to run.

I'm so sorry, David but I have instituted your changes and I am still experiencing the same problems (i.e. items presented less or more than the desired 9 times over the experiment, and being replaced into the list within each PEP block). I apologise, but at my level of understanding of the software I dont know where else to look to solve the problem.

Thank you very much again.

Matt.
Attachments
PEP FIXED A True 23-07-21.iqx (129 views, 181.00 KB)
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: 12K, Visits: 98K
M Gerathy - 7/30/2021
M Gerathy - 7/29/2021

Thank you very much, David. Clearly I need to spend some more time learning the software.

The project is now completely ready to run.

I'm so sorry, David but I have instituted your changes and I am still experiencing the same problems (i.e. items presented less or more than the desired 9 times over the experiment, and being replaced into the list within each PEP block). I apologise, but at my level of understanding of the software I dont know where else to look to solve the problem.

Thank you very much again.

Matt.

Maybe you should provide some data and point out exactly what you mean. It's not clear because *item* selection has nothing whatsoever to do with lists in your script. Your lists perform *trial* selection.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search