Creates a (completely) balanced paired-comparison design.
number of stimuli in the paired-comparison design
nstimuli is odd, the presentation order is completely balanced,
that is any given stimulus appears an equal number of times as the first
and second member of a pair. When
nstimuli is even, the presentation
order is balanced as much as possible. Subjects should be equally assigned
listB for the purpose of balancing the
within-pair presentation order across a sample of subjects. Pairs should be
re-randomized for each subject. See David (1988) for details.
a character array holding the balanced pairs
the vector pairs in the original within-pair order
the vector of pairs in the inverted within-pair order
David, H. (1988). The method of paired comparisons. London: Griffin.
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.