How to Counterbalance at the Block Level


Author
Message
AAllison
AAllison
Respected Member (319 reputation)Respected Member (319 reputation)Respected Member (319 reputation)Respected Member (319 reputation)Respected Member (319 reputation)Respected Member (319 reputation)Respected Member (319 reputation)Respected Member (319 reputation)Respected Member (319 reputation)
Group: Forum Members
Posts: 6, Visits: 24

Goodevening,

 

Iwould very much appreciate your help with counterbalancing.  Here is what I need:

 

Inone version of the experiment, blocks 4-7 should appear right before block8.  In the second version, blocks 4-7should appear right after block 8. (Blocks 1-3 must always be at the beginning, and block 9 must always beat the end.  There are a total of 9blocks in the experiment.) 

 

Tobe super clear, version 1 should go: 1, 2, 3, 4, 5, 6, 7, 8, and 9. Version 2should go: 1, 2, 3, 8, 4, 5, 6, 7, and 9.


The version a participant gets should be completely random. 

 

Howdo I make this happen?

 

Letme know if you need the script and/or more information.

 

Thankyou so much for your time!

 

Ashley


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: 108K
<expt>
/ blocks = [ENTER THE 1ST BLOCK ORDER YOU NEED]
/ subjects = (1 of 2)
/ groupassignment = random
</expt>

<expt>
/ blocks = [ENTER THE 2ND BLOCK ORDER YOU NEED]
/ subjects = (2 of 2)
/ groupassignment = random
</expt>

AAllison
AAllison
Respected Member (319 reputation)Respected Member (319 reputation)Respected Member (319 reputation)Respected Member (319 reputation)Respected Member (319 reputation)Respected Member (319 reputation)Respected Member (319 reputation)Respected Member (319 reputation)Respected Member (319 reputation)
Group: Forum Members
Posts: 6, Visits: 24
Hi, Dave,

Thank you so much!

Sincerely,

Ashley
beccabos
beccabos
Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)
Group: Forum Members
Posts: 24, Visits: 59
Hi- I tried to follow these instructions to counterbalance blocks in my experiment, but it showed a single trial of the first block and then would not progress. Could you specify whether the /blocks list has to be in a different format (e.g. /blocks = [1=A; 2=B; 3=C] or if there is something else that I am missing? Thanks!
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: 108K
Precise syntax specifications for the /blocks attribute are available in the language reference for the /blocks attribute.

beccabos
beccabos
Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)
Group: Forum Members
Posts: 24, Visits: 59
Hi Dave- it isn't working and I used the correct syntax, I think. This is what I did:


<expt>
/blocks = [1=instruct; 2=choice2 ;3=choice; 4=choice3;5= end2]
/subjects = (1 of 3)
/groupassignment =  random
</expt>

<expt>
/blocks = [1=instruct; 2=choice ;3=choice2; 4=choice3;5= end2]
/subjects = (2 of 3)
/groupassignment =  random
</expt>

<expt>
/blocks = [1=instruct; 2=choice3 ;3=choice; 4=choice2;5= end2]
/subjects = (3 of 3)
/groupassignment =  random
</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: 108K
Then the syntax in your /blocks attributes is not the problem, but there's some other mistake in your script. Can't tell you what that is without you providing the relevant code.

beccabos
beccabos
Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)
Group: Forum Members
Posts: 24, Visits: 59
Hi Dave- thanks so much for your help with this- I'm at a loss. This is the rest of the script, minus instructions.


********* DEFINE BLOCKS
<block choice>
/trials = [1-20=mytrial]
</block>

<block choice2>
/trials = [1-20=mytrial2]
</block>

<block choice3>
/trials = [1-10=mytrial3]
</block>

<block instruct>
/trials = [1=instruct]
</block>

<block end2>
/trials = [1=end2]
</block>

*********
CHOICE

<list hpositionlist>
/items = (35%,65%)
/selectionmode = random
/selectionrate = always
</list>

<trial mytrial>
/ stimulusframes = [1=a,b]
/ inputdevice = mouse
/ validresponse = (a, b)
</trial>

<picture a>
/items = lista
/ size = (500,500)
/ erase = true (0,0,0)
/ select = noreplacenorepeat
/ hposition = list.hpositionlist.nextvalue
/ vposition = 50%
</picture>

<picture b>
/items = listb
/ size = (500,500)
/ erase = true (0,0,0)
/ select = noreplacenorepeat
/ hposition = list.hpositionlist.nextvalue
/ vposition = 50%
</picture>


<item lista>
/1 = "m69.bmp"
/2 = "H39.bmp"
/3= "m36.bmp"
/4 = "m61.bmp"
/5 = "H06.bmp"
/6 = "m47.bmp"
/7 = "H42.bmp"
/8 = "H52.bmp"
/9 = "m65.bmp"
/10 = "m53.bmp"
/11= "m21.bmp"
/12= "m12.bmp"
/13 = "m92.bmp"
/14 = "m35.bmp"
/15 = "H61.bmp"
/16= "m76.bmp"
/17 = "m42.bmp"
/18 ="H32.bmp"
/19 = "H69.bmp"
/20 = "m29.bmp"
</item>


<item listb>
/1 = "k31.bmp"
/2 = "c12.bmp"
/3 = "017.bmp"
/4 = "082.bmp"
/5 = "059.bmp"
/6 = "142.bmp"
/7 = "k47.bmp"
/8 = "143.bmp"
/9 = "k09.bmp"
/10 = "k65.bmp"
/11= "k31.bmp"
/12= "c12.bmp"
/13= "017.bmp"
/14= "082.bmp"
/15= "059.bmp"
/16= "142.bmp"
/17= "k47.bmp"
/18= "143.bmp"
/19= "k09.bmp"
/20 = "k65.bmp"
</item>

<trial mytrial2>
/ stimulusframes = [1=a2,b2]
/ inputdevice = mouse
/ validresponse = (a, b)
</trial>

<picture a2>
/items = lista2
/ size = (500,500)
/ erase = true (0,0,0)
/ select = noreplacenorepeat
/ hposition = list.hpositionlist2.nextvalue
/ vposition = 50%
</picture>

<picture b2>
/items = listb2
/ size = (500,500)
/ erase = true (0,0,0)
/ select = noreplacenorepeat
/ hposition = list.hpositionlist2.nextvalue
/ vposition = 50%
</picture>

<list hpositionlist2>
/items = (35%,65%)
/selectionmode = random
/selectionrate = always
</list>

<item lista2>
/1 = "m69.bmp"
/2 = "H39.bmp"
/3= "m36.bmp"
/4 = "m61.bmp"
/5 = "H06.bmp"
/6 = "m47.bmp"
/7 = "H42.bmp"
/8 = "H52.bmp"
/9 = "m65.bmp"
/10 = "m53.bmp"
/11= "m21.bmp"
/12= "m12.bmp"
/13 = "m92.bmp"
/14 = "m35.bmp"
/15 = "H61.bmp"
/16= "m76.bmp"
/17 = "m42.bmp"
/18 ="H32.bmp"
/19 = "H69.bmp"
/20 = "m29.bmp"
</item>

<item listb2>
/1 = "m87.bmp"
/2 = "m68.bmp"
/3 = "H70.bmp"
/4 = "H28.bmp"
/5 = "H25.bmp"
/6 ="m10.bmp"
/7= "m30.bmp"
/8 = "H14.bmp"
/9 = "m14.bmp"
/10 = "H37.bmp"
/11 = "H37.bmp"
/12 = "m87.bmp"
/13 = "m68.bmp"
/14 = "H70.bmp"
/15 = "H28.bmp"
/16 = "H25.bmp"
/17 ="m10.bmp"
/18= "m30.bmp"
/19 = "H14.bmp"
/20 = "m14.bmp"
</item>


*** LOOK ***
<trial mytrial3>
/ stimulusframes = [1=c,d]
/ inputdevice = mouse
/ validresponse = (a, b)
</trial>

<picture c>
/items = listc
/ size = (500,500)
/ erase = true (0,0,0)
/ select = noreplacenorepeat
/ hposition = list.hpositionlist3.nextvalue
/ vposition = 50%
</picture>

<picture d>
/items = listd
/ size = (500,500)
/ erase = true (0,0,0)
/ select = noreplacenorepeat
/ hposition = list.hpositionlist3.nextvalue
/ vposition = 50%
</picture>

<list hpositionlist3>
/items = (35%,65%)
/selectionmode = random
/selectionrate = always
</list>

<item listc>
/1 = "k31.bmp"
/2 = "c12.bmp"
/3 = "017.bmp"
/4 = "082.bmp"
/5 = "059.bmp"
/6 = "142.bmp"
/7 = "k47.bmp"
/8 = "143.bmp"
/9 = "k09.bmp"
/10 = "k65.bmp"
</item>

<item listd>
/1 = "m87.bmp"
/2 = "m68.bmp"
/3 = "H70.bmp"
/4 = "H28.bmp"
/5 = "H25.bmp"
/6 ="m10.bmp"
/7= "m30.bmp"
/8 = "H14.bmp"
/9 = "m14.bmp"
/10 = "H37.bmp"
</item>

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: 108K
Can you please *attach* (not copy & paste) the *entire script*? Thanks.

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: 108K
FWIW, look at your <trial> elements:

<trial mytrial2>
/ stimulusframes = [1=a2,b2]
/ inputdevice = mouse
/ validresponse = (a, b)
</trial>

The above trial does *not* display any objects called "a" and "b", thus

/ validresponse = (a, b)

cannot possibly work. Same here

<trial mytrial3>
/ stimulusframes = [1=c,d]
/ inputdevice = mouse
/ validresponse = (a, b)
</trial>



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search