Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Random subset within a random subset - possible?

Is it possible to show a random subset of questions within another random subset? I have created 2 subsets (essentially 2 versions of the survey) and within each version I have a need to randomly show 1 of 2 subsets of questions. Is this possible, or will I need to create 4 versions of the survey? I am currently getting an error about overlapping randomisation.
asked Mar 4, 2015 by Christine Hanley (370 points)

1 Answer

+1 vote
I maybe unclear of what you require? Apologies if this is the case.

Assume you have Q1 and Q2 and you would like to randomly select one of these questions.

Assume you have Q3 and Q4 and you would like to randomly select one of these questions.

So you would like to ask two question (one from each question set) with the possible options available ...

Q1 and Q3
Q1 and Q4
Q2 and Q3
Q2 and Q4
Q3 and Q1
Q4 and Q1
Q3 and Q2
Q4 and Q2

Try this technique ...

Go to Randomize / Blocks and define Set 1 which contains 4 blocks with anchors set as follows ...

Q1-Q1
Q2-Q2
Q3-Q3
Q4-Q4

Select the "Use Constructed List" option at the bottom and select "Set1ConList" which I have listed below.

Setup a parent list called "BlockList" ...

1 1
2 2
3 3
4 4

Setup a constructed list called "SetAConList" (uses the parent list "BlockList") ...
ADD(BlockList,1,2)
Randomize()
SetListLength(1) 

Setup a constructed list called "SetBConList" (uses the parent list "BlockList") ...
ADD(BlockList,3,4)
Randomize()
SetListLength(1) 

Setup a constructed list called "Set1ConList" (uses the parent list "BlockList") ...
ADD(SetAConList)
ADD(SetBConList)
Randomize()

SetAConList randomly selects 1 or 2. SetBConList randomly selects 3 or 4. Set1ConList collates SetAConList and SetBConList and randomises.

So we now have randomising WITHIN sets and randomising OF sets.

I have just tested this out and works fine. Hope it's what you are after Hanley.

Note - this would work fine with single questions (as this example displays) and also subsets of questions. The anchors in Set 1 would change as would SetAConList and SetBConList.
answered Mar 4, 2015 by Paul Moon Platinum (65,230 points)
edited Mar 4, 2015 by Paul Moon
Hi Paul. Thanks so much for taking the time to provide this advice and test it. I think I've found a solution that will be reliable. Thank you again!
...