Millisecond Forums

subjects attribute help question

https://forums.millisecond.com/Topic19649.aspx

By sdubrow - 9/5/2016

I think there is an error in the help for the subjects attribute, but I want to double-check in case I am using it incorrectly.

The 3rd example in the help states:
"The following expt is run for second of every four subjects (i.e. subject numbers 2, 6, 10, 14, ...):
<expt>
/ blocks=[1-20=noreplace(testtrials, distractortrials)]
/ subjects = (1 of 4)
</expt>"

This example would actually select subject numbers 1, 5, 11, etc correct?
Please let me know, thanks!


By Dave - 9/5/2016

You are correct in that the description in the documentation is in error.

<expt>
/ blocks=[1-20=noreplace(testtrials, distractortrials)]
/ subjects = (1 of 4)
</expt>

The above <expt> would be run for subject numbers 1, 5, 9, 13, and so forth. Assignment is based on the (here: subject) number modulo the number of conditions. I.e.,

1 modulo 4 = 1
5 modulo 4 = 1
9 modulo 4 = 1
13 modulo 4 = 1

and so forth.