selecting with counter and repeating prior to moving to next selection


selecting with counter and repeating prior to moving to next selection...
Author
Message
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

Have a <counter> containing your 4 subject items:


<counter mysubjects>
/ items = (1,2,3,4)
/ select = noreplace
/ selectionrate = block
/ resetinterval = 0
</counter>


Run four blocks of trials (one for each subject) in random order, with 40 trials each (8 behaviors x 5). Done.


~Dave


Teresa
Teresa
Respected Member (305 reputation)Respected Member (305 reputation)Respected Member (305 reputation)Respected Member (305 reputation)Respected Member (305 reputation)Respected Member (305 reputation)Respected Member (305 reputation)Respected Member (305 reputation)Respected Member (305 reputation)
Group: Forum Members
Posts: 3, Visits: 1

Hi all,


I am currently attempting to present subject and behavior object pairs. There are four subjects and eight behaviors. Each subject should be presented with each of the eight behaviors five different times (for a total of 40 behaviors paired with each subject). I would like to randomly select one of the 4 subjects and then have that subject repeat 40 times with the behaviors randomly selected before the program moved to the next subject.


I've figured out how to pair it so that the 8 behaviors are randomly selected and paired with each subject, but only with sequential subject ordering. I can't figure out how to randomly select the order of the four subjects.


My current code:


<counter subjectselector>
/items = (1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4)
/select = sequence
</counter>

<counter behaviorselector>
/items = (1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4,5,5,5,5,5,6,6,6,6,6,7,7,7,7,7,8,8,8,8,8)
/select = noreplace
</counter>


Thanks!


Teresa


Tags
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search