wanted noreplace on blocks but got selection of items


Author
Message
Luise
Luise
Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)
Group: Forum Members
Posts: 10, Visits: 18
Sorry...I had not read your answer before...great! I will fix those parts! Thank you very much!

Luise
Luise
Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)
Group: Forum Members
Posts: 10, Visits: 18
It is not easy to say which pictures are repeating because every time I try the experiment different pictures repeat and sometimes they repeat more than once.
Pictures that were repeated the last time I tried the experiment were:

0258_f_portrait_20150420_z

0338_f_portrait_20150505_z

0386_f_portrait_20150505_z

0556_f_portrait_20150608_z

0626_f_portrait_20150522_z

0840_f_portrait_20150615_z

0970_f_portrait_20150617_z

1076_f_portrait_20150618_z

1866_f_portrait_20151125_z

2073_f_portrait_20151110_z

2341_f_portrait_20151210_z

... in the first half of the experiment. In the second half I remembered a repetition of:

0371_f_portrait_20151106_z

2210_f_portrait_20151130_z

2170_f_portrait_20151130_z

2238_f_portrait_20151130_z

0536_f_portrait_20150427_z

0548_f_portrait_20150518_z

1920_f_portrait_20151120_z

This picture "0386_f_portrait_20150505_z" was repeated three times in the first half of the experiment. I do not think that I messed up the order or names of some pictures but that there is a more fundamental problem in my programming.
Thanks again for your time...Do you have any idea what is happening in my experiment?


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
Mistakes:

#1:
<block blockp50>/ trials = [1=person_10]</block>

#2:
/blocks = [...;
10-110= noreplace(
blockp1,blockp2,blockp3,blockp4,blockp5,blockp6,blockp7,blockp8,blockp9,blockp10,
blockp11,blockp12,blockp13,blockp14,blockp15,blockp16,blockp17,blockp18,blockp19,blockp20,
blockp21,blockp22,blockp23,blockp24,blockp25,blockp26,blockp27,blockp28,blockp29,blockp30,
blockp31,blockp32,blockp33,blockp34,blockp35,blockp36,blockp37,blockp38,blockp39,blockp40,
blockp41,blockp42,blockp43,blockp44,blockp45,blockp46,blockp47,blockp48,blockp49,blockp50,
blockp51,blockp52,blockp53,blockp54,blockp55,blockp56,blockp57,blockp58,blockp59,blockp60,
blockp61,blockp62,blockp63,blockp64,blockp65,blockp66,blockp67,blockp68,blockp69,blockp70,
blockp71,blockp72,blockp73,blockp74,blockp75,blockp76,blockp77,blockp78,blockp79,blockp80,
blockp81,blockp82,blockp83,blockp84,blockp85,blockp86,blockp87,blockp88,blockp89,blockp90,
blockp91,blockp92,blockp93,blockp94,blockp95,blockp96,blockp97,blockp98,blockp99,blockp100);
...


10 to 110 is not taking 100 samples. It is taking 101 samples which messes up the selection pool completely.

The above needs to read

10-109= noreplace(
blockp1,blockp2,blockp3,blockp4,blockp5,blockp6,blockp7,blockp8,blockp9,blockp10,
blockp11,blockp12,blockp13,blockp14,blockp15,blockp16,blockp17,blockp18,blockp19,blockp20,
blockp21,blockp22,blockp23,blockp24,blockp25,blockp26,blockp27,blockp28,blockp29,blockp30,
blockp31,blockp32,blockp33,blockp34,blockp35,blockp36,blockp37,blockp38,blockp39,blockp40,
blockp41,blockp42,blockp43,blockp44,blockp45,blockp46,blockp47,blockp48,blockp49,blockp50,
blockp51,blockp52,blockp53,blockp54,blockp55,blockp56,blockp57,blockp58,blockp59,blockp60,
blockp61,blockp62,blockp63,blockp64,blockp65,blockp66,blockp67,blockp68,blockp69,blockp70,
blockp71,blockp72,blockp73,blockp74,blockp75,blockp76,blockp77,blockp78,blockp79,blockp80,
blockp81,blockp82,blockp83,blockp84,blockp85,blockp86,blockp87,blockp88,blockp89,blockp90,
blockp91,blockp92,blockp93,blockp94,blockp95,blockp96,blockp97,blockp98,blockp99,blockp100);
...

#3: Here too

113-210=noreplace(
blockp101,blockp102,blockp103,blockp104,blockp105,blockp106,blockp107,blockp108,blockp109,blockp110,
blockp111,blockp112,blockp113,blockp114,blockp115,blockp116,blockp117,blockp118,blockp119,blockp120,
blockp121,blockp122,blockp123,blockp124,blockp125,blockp126,blockp127,blockp128,blockp129,blockp130,
blockp131,blockp132,blockp133,blockp134,blockp135,blockp136,blockp137,blockp138,blockp139,blockp140,
blockp141,blockp142,blockp143,blockp144,blockp145,blockp146,blockp147,blockp148,blockp149,blockp150,
blockp151,blockp152,blockp153,blockp154,blockp155,blockp156,blockp157,blockp158,blockp159,blockp160,
blockp161,blockp162,blockp163,blockp164,blockp165,blockp166,blockp167,blockp168,blockp169,blockp170,
blockp171,blockp172,blockp173,blockp174,blockp175,blockp176,blockp177,blockp178,blockp179,blockp180,
blockp181,blockp182,blockp183,blockp184,blockp185,blockp186,blockp187,blockp188,blockp189,blockp190,
blockp191,blockp192,blockp193,blockp194,blockp195,blockp196,blockp197);

this isn't drawing 97 samples. It's drawing 98.

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
It would be helpful if you could specify *which* pictures (by name) you think are being repeated.

Luise
Luise
Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)
Group: Forum Members
Posts: 10, Visits: 18
Hi again...thank you for your offer. I really appreciate it. I searched for mistakes and tried a few more ideas I had, but some pictures are still presented more than once and I just cannnot figure out why. So you find my script attached to this message. It would be great if you could afford to take a look at it.

Attachments
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
Go through it and see if you can spot anything along the lines outlined in the previous reply. If you can't find any (or all of the) mistakes and need a second pair of eyes, attach the script file to this thread (click +Insert -> Add File) and I'll be happy to take a look.

Luise
Luise
Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)
Group: Forum Members
Posts: 10, Visits: 18
Thank you...I will search for mistakes again then. It is good to know that in theory the way I used should work.

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
To add: You very likely have *mistakes* in your script that make you *think* a certain block is repeated.

What could those mistakes be?

#1: You have <block>s that run the wrong <likert>, i.e. something like

<block blockp5>
/ trials = [1=person_3]
</block>

#2: You have <likert>s that display the wrong <picture>, i.e., something like

<likert person_5>
...
/ stimulusframes = [1= pic_3, cue1] 
...
</likert>

and/or

#3: You have <picture>s that display the wrong item

<picture pic_5>
...
/ items = ("3.jpg")
...
</picture>




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
There is no problem here. If you have specified your noreplace() pool in the <expt>'s /blocks attribute correctly, i.e., there are 100 blocks listed and every block is only listed a single time, each block will be run exactly once. /resetinterval has nothing to do with it. /resetinterval determines whether a stimulus element's selection pool should be reset between blocks or not.

<expt>
/ blocks = [1-4 = noreplace(a,b,c,d)]
</expt>

with

<block a>
...
</block>

<block b>
...
</block>

<block c>
...
</block>

<block d>
...
</block>

will result in a random order of blocks a, b, c and d -- with each block run exactly once.

Luise
Luise
Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)Esteemed Member (2.4K reputation)
Group: Forum Members
Posts: 10, Visits: 18
Do you have any advice how to fix this problem? I´d be really greatful!


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search