Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Randomisation groups order

  • MariaAP
  • MariaAP's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 2 weeks ago - 1 month 2 weeks ago #258343 by MariaAP
Randomisation groups order was created by MariaAP
Your LimeSurvey version: Version 5.6.7
==================
Hi everyone,

I have a survey with different groups and I would like to randomise the order of 4 different groups (keeping the questions order in each group the same). I have included "randgroup1" under the box "randomisation group" for each of the 4 groups that I want to randomise. This works. However, is there any other way of doing this and register the order in which participants see the 4 different groups?

I have attached a copy of the survey for more clarity. The groups whose order of appearance I want to randomise are the ones titled "Story 1", "Story 2", "Story 3" and "Story 4".

Thank you!

Best,
Maria
Last edit: 1 month 2 weeks ago by MariaAP.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 month 2 weeks ago #258351 by Joffm
Replied by Joffm on topic Randomisation groups order
Hi, Maria,
here
[url] manual.limesurvey.org/ExpressionScript_-...#Access_to_variables [/url]
you find all propperties to access variables.
There is ".gseq" that returns the sequential number of the group, starting from 0

At the end of your survey you can create a question of type equation where you use the function "list()" to store these sequential numbers
{list(randfreqsexual.gseq,randfreqhumil.gseq,randfreqmonitor.gseq,randfreqthreats.gseq)}

You will get something like 3,5,2,4
meaning:
Story1 was on fourth place
Story2 was on sixth place
Story3 was on third place
​​​​​​​Story4 was on fifth place

Remember:
In first and second place there are "About you" and "randgender"
The counting starts at 0.

To improve you could subtract the sequence number of the group before in the list-function to start your list with 1.

Joffm
​​​​​​​

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • MariaAP
  • MariaAP's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 2 weeks ago #258429 by MariaAP
Replied by MariaAP on topic Randomisation groups order
Hi Joffm,

Thank you so much. This worked perfectly!

Maria

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose