Hi there, I am looking for insights on how to implement a rather complex randomization described in the following. I've done quite some search in both the support site and the community but ended up with no luck.
Here is the problem. Basically there exist two different pools, A and B, each of which contains several statements, let's say 5. I'd like to create a survey where participants can select how many statements they want to read from each pool. For instance, one wants to read 3 from A and 4 from B.
I know that I can achieve within-block randomization simply via question randomization, by showing randomly 3 statements from pool A and 4 statements from pool B. This can give me a random sequence of a1,a2,a3 and b1,b2,b3,b4.
I also know that I can randomize the order of blocks via a randomizer. This means a participant can read either a1,a2,a3,b1,b2,b3,b4 or b1,b2,b3,b4,a1,a2,a3.
Yet, I'd like to push the randomization to a further level. It would be great if the order of the seven statements are also randomized so that any arbitrary sequence can be allowed. For example, the sequence of the statements could be something like b1,a1,a2,b2,b3,a3,b4.
Any help will be appreciated! Thanks in advance!
A mix of within-block and across-block randomization
Best answer by rondev
Showing dynamic number of statements based on the respondent choice is itself not achievable using qualtrics any randomization, as no randomization allows pipe text in it, hence we can use JS for this. But, yes if you are ready to create 5 ramdomizer (that randomizer 1 will show only 1 statement, randomizer 2 will show 2 statement etc) for each pool then you don't need JS.
Then create 10 ED(QA1, QA2......,QB1, QB2........) one ED for each question and set its value to false.
Under each randomizer add 5 ED survey element with respective pool question embedded data and set its value to true. For eg Randomizer of pool A will have 5 ED element as QA1, QA2, QA3, QA4, QA5 and its value as true.
Based on the user input of number of statements to read, add branch logic and add repective randomizer under it. like if user selects 3 for pool A, then add pool A randomizer which has - show 3 elements option entered.
Now add all questions in single block, and create display logic on each question as if its respective ED is set to true. In this block do question randomization from block options.
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.