﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 3  » selecting with counter and repeating prior to moving to next selection </title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Mon, 25 May 2026 18:17:25 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: selecting with counter and repeating prior to moving to next selection</title><link>https://forums.millisecond.com/Topic5220.aspx</link><description>&lt;p&gt;Have a &amp;lt;counter&amp;gt; containing your 4 subject items:&lt;/p&gt;
&lt;p&gt;&amp;lt;counter mysubjects&amp;gt;&lt;br /&gt;/ items = (1,2,3,4)&lt;br /&gt;/ select = noreplace&lt;br /&gt;/ selectionrate = block&lt;br /&gt;/ resetinterval = 0&lt;br /&gt;&amp;lt;/counter&amp;gt;&lt;/p&gt;
&lt;p&gt;Run four blocks of trials (one for each subject) in random order, with 40 trials each (8 behaviors x 5). Done.&lt;/p&gt;
&lt;p&gt;~Dave&lt;/p&gt;</description><pubDate>Fri, 10 Dec 2010 15:12:40 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>selecting with counter and repeating prior to moving to next selection </title><link>https://forums.millisecond.com/Topic5219.aspx</link><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;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. &lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;My current code:&lt;/p&gt;
&lt;p&gt;&amp;lt;counter subjectselector&amp;gt; &lt;br /&gt;/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,&lt;br /&gt;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,&lt;br /&gt;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,&lt;br /&gt;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)&lt;br /&gt;/select = sequence&lt;br /&gt;&amp;lt;/counter&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;counter behaviorselector&amp;gt;&lt;br /&gt;/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)&lt;br /&gt;/select = noreplace&lt;br /&gt;&amp;lt;/counter&amp;gt;&lt;/p&gt;
&lt;p&gt;Thanks! &lt;/p&gt;
&lt;p&gt;Teresa&lt;/p&gt;</description><pubDate>Fri, 10 Dec 2010 15:05:00 GMT</pubDate><dc:creator>Teresa</dc:creator></item></channel></rss>