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
My main idea is the same as Anna had. In my experiment I need to randomly present 100 blocks without replacement. I want every block to be presented exactly once and in a random order. "Noreplace" does not seem to work. There are always some blocks presented more than once. I also tried </defaults> / resetinterval = 0 </defaults> but maybe I am using it the wrong way or it does not help neither.
This is how (the important part of my) experiment looks like:

<defaults> / font = ("Arial", -21, 400, 0, 34)
/ txbgcolor = (250, 250, 250) / screencolor = (250, 250, 250)
/ pretrialpause = 0 / posttrialpause = 150
/endlock = true
/ resetinterval = 0
</defaults>

<text cue1>
/ numitems = 1
/ items = ("xy")
/ font = ("Arial", -37, 700, 0, 34) / position = (50,85) / color = (0, 0, 0) / area = (900,200) 
</text>

<picture pic_1>/numitems = 1 / items = ("1.jpg") / position = (50, 1) / valign = top / size=(672, 813,12)</picture>
<picture pic_2>/numitems = 1 / items = ("2.jpg") / position = (50, 1) / valign = top / size=(672, 813,12)</picture>
<picture pic_3>/numitems = 1 / items = ("3.jpg") / position = (50, 1) / valign = top / size=(672, 813,12)</picture>

<likert person_1> / numpoints = 7 / anchors = [1 = "gar nicht"; 7 = "sehr"]
    / stimulusframes = [1= pic_1, cue1]  / position = (50, 90) / anchorwidth = 6% </likert>

<likert person_2> / numpoints = 7 / anchors = [1 = "gar nicht"; 7 = "sehr"]
    / stimulusframes = [1= pic_2, cue1]  / position = (50, 90) / anchorwidth = 6% </likert>

<likert person_3> / numpoints = 7 / anchors = [1 = "gar nicht"; 7 = "sehr"]
    / stimulusframes = [1= pic_3, cue1]  / position = (50, 90) / anchorwidth = 6% </likert>
...

<block blockp1>/ trials = [1=person_1]</block>
<block blockp2>/ trials = [1=person_2]</block>
<block blockp3>/ trials = [1=person_3]</block>
...

<expt ratings>
/ blocks = [1-100= noreplace (blockp1,blockp2,blockp3,blockp4,blockp5, ..., blockp100)]
</expt>

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: 109K

How you sample blocks at the expt level *has nothing to do with* and is *completely unrelated to* how *trials may sample stimuli within those blocks*. Please see the documentation for the /resetinterval attribute for details.


Anna Halm
Anna Halm
Respected Member (376 reputation)Respected Member (376 reputation)Respected Member (376 reputation)Respected Member (376 reputation)Respected Member (376 reputation)Respected Member (376 reputation)Respected Member (376 reputation)Respected Member (376 reputation)Respected Member (376 reputation)
Group: Forum Members
Posts: 1, Visits: 1

The main idea is to chose randomly the order of blocks from a set of 4 different block within an experiment. In the end all block should have been presented. Every block contains two trails (one audio file and a set of three items). Again, all audio files and items should be show. So it's really only about the order of the blocks.


I tried to use the noreplace on a block-level. As a result, one of the three items from both blocks are chosen and the others won't show up. Am I wrong to use noreplace in this case?


<expt>
/ subjects = (1 of 2)
/ blocks = [1-4=noreplace(A1, A2, A3, A4)]
</expt>

<expt>
/ subjects = (2 of 2)
/ blocks = [1-2=noreplace(B1, B2, B3, B4)]
</expt>


Thanks a lot!


Anna


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search