A randomizer within a randomizer? | XM Community
Skip to main content
Question

A randomizer within a randomizer?

  • February 14, 2025
  • 4 replies
  • 37 views

Forum|alt.badge.img+1

Hello,

I am trying to create a survey with several layers of randomization. I need to present a select number of 5 different scenario types.

Here is the breakdown of what I am trying to do.

Each scenario is a block of three questions, a timer, a scenario/multiple choice, and a slider question. I have 5 different types of scenarios, we can call A, B, C, D, and E.

 

I have 15 of each type of ABCDE, for a total of 75 scenarios. I want to randomly present 10 A, B, C, D, & Es in a random order, for a total of 50 scenarios. Right now I can only get it to randomly present 10 from each type of scenario, but it maintains the A, B, C, D, & E order. Please tell me what I am doing wrong.

4 replies

  • Level 4 ●●●●
  • 209 replies
  • February 14, 2025

Do you have 75 blocks for each scenario?

 

Check this https://www.qualtrics.com/support/survey-platform/survey-module/survey-flow/standard-elements/randomizer/#AddingARandomizer to add a randomizer.

 

Enter 50 in place of 3 in your survey

 

Hope this helps

 

 


vgayraud
QPN Level 5 ●●●●●
Forum|alt.badge.img+48
  • QPN Level 5 ●●●●●
  • 369 replies
  • February 14, 2025

Hi,

Randomizer
    Randomly present 10 of the following elements
        Show Block : Type 1
            Randomizer
                Randomly present 5 of the following elements
                    Show Block : Type 1 Scenario A
                    Show Block : Type 1 Scenario B
                    Show Block : Type 1 Scenario C
                    Show Block : Type 1 Scenario D
                    Show Block : Type 1 Scenario E
        Show Block : Type 2
            Randomizer
                Randomly present 5 of the following elements
                    Show Block : Type 2 Scenario A
                    Show Block : Type 2 Scenario B
                    Show Block : Type 2 Scenario C
                    Show Block : Type 2 Scenario D
                    Show Block : Type 2 Scenario E
.
.
.
        Show Block : Type 15
            Randomizer
                Randomly present 5 of the following elements
                    Show Block : Type 15 Scenario A
                    Show Block : Type 15 Scenario B
                    Show Block : Type 15 Scenario C
                    Show Block : Type 15 Scenario D
                    Show Block : Type 15 Scenario E

 

 


Forum|alt.badge.img+1
  • Author
  • 6 replies
  • February 14, 2025

Yes, I have them in the randomizer, but I would like it to be more random than this. I want it to randomly select 5 scenarios, 1 from each type, 10 times without repeating a scenario. Somewhat like what you have above, but instead it looks like this:

 

Randomly present 5 of the following elements

Show Block : Type 1 Scenario A 

Show Block : Type 3 Scenario B

Show Block : Type 5 Scenario C

Show Block : Type 13 Scenario D

Show Block : Type 15 Scenario E

 

but I want the selection to be completely random.


vgayraud
QPN Level 5 ●●●●●
Forum|alt.badge.img+48
  • QPN Level 5 ●●●●●
  • 369 replies
  • February 14, 2025

You could have a first randomizer used to select which blocks have to be displayed but not display them in that randomizer. Instead, fill one or multiple EDs with the list of selected blocks or with true/false flags.

Then, have a second randomizer with your 75 blocks, randomly present 50 of them and add a condition branch before each to check against the EDs you generated in the first randomizer. Since you should have 50 true flags or a list of 50 items, the 2nd randomizer will select those 50 out of the 75.


Leave a Reply