Counterbalancing and Randomization without repetition in within-subject design. | XM Community
Skip to main content

Hello,

I am trying to counterbalance without repetition in a 8x8 design.

I have 8 blocks (A,B,C,D,E,F,G,H) with 8 questions (1,2,3,4,5,6,7,8) in each and I want participants to see one question from each block without seeing the same question twice.

To be more specific:

I want the participant to see randomly A 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 and then if they see e.g. A2 in Block A, in Block B see B 1 or 3 or 4 or 5 or 6 or 7 or 8 randomly.

I was sent a Java script for 4 conditions and I have been trying to alter it to be fit for 8 (but I have no idea how JS works).

I am  attaching a simplified version of the survey and the Java script. 

Can someone please take a look and let me know what is wrong?

 

https://drive.proton.me/u/4/RJTFjH0WeJTwmPgvbvUJvNC164YMnlVgAMc_pToZvtnZMnapFv3Y_ckdj36mtxd-jumll8s23NIMirCJzId12A==/file/RvUteTEGVHfeS0_owjGOuW1p-Pyz3BxC9r7dTgnt5VLN5L-yZNY76lTL6qk_-EMhdLW9RREuCUoUTbJjxniIOA==?r=/RJTFjH0WeJTwmPgvbvUJvNC164YMnlVgAMc_pToZvtnZMnapFv3Y_ckdj36mtxd-jumll8s23NIMirCJzId12A==/folder/QJAqUR1HxmtFvgrdP7teJXFEvpFIXOCX7phNxdOQJUsMrk5nuD1SyqFIi8q-lPHLogabFADoQqguHSWRvp93aQ==

 

Thank you very much,

Dafni

 

@charitoud,

You don’t need JavaScript for this. Use block question randomization to display 1 random question in each block.  Use display logic to display questions only if they have not been displayed in the other blocks.


Leave a Reply