How to use/show the randomization sequence.

More
1 month 2 weeks ago #188481 by dirk01
Hi,


For exampIe, I have 10 groups with 1 question (group 1.question1 -... - group 10.question10).


These 10 groups are randomized.


Before starting the survey I want to show the order in which the groups will follow.

For example :

In the following you'll have to answer questions about :

"group 7"
"group 1"
"group 3"
....


(where each group is a certain topic.)


I know the order in which the groups will follow using {question1.gseq} {question2.gseq} .... but i haven't figured out how to translate this to something like :


"group 7"
"group 1"
"group 3"
....


Kind regards,

Dirk

LimeSurvey
Version 3.16.0+190225

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
1 month 2 weeks ago #188492 by DenisChenu
Unsure it still work in 3.X but can be fixed: gitlab.com/SondagesPro/getQuestionOrder

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
1 month 2 weeks ago #188502 by jelo
This is not implemented in LimeSurvey.

DenisChenu points out a plugin "getQuestionOrder Plugin for LimeSurvey" he has written, which captures the randomization order into a question. It is unclear if the plugin works with your version of LimeSurvey. If there is an issue running the plugin, DenisChenu likes to get a bugreport that he might be able to fix it.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: DenisChenu

Please Log in or Create an account to join the conversation.

More
1 month 2 weeks ago - 1 month 2 weeks ago #188503 by Joffm
Hi,
you can do it by using an equation with the if-statement.

{if(question1.gseq==1,"Group1", if(question2.gseq==1,"Group2", if(question3.gseq==1,"Group3", if(question4.gseq==1,"Group4", if(question5.gseq==1,"Group5", if(question6.gseq==1,"Group6", if(question7.gseq==1,"Group7", if(question8.gseq==1,"Group8", if(question9.gseq==1,"Group9","Group10")))))))))}

{if(question1.gseq==2,"Group1",if(question2.gseq==2,"Group2",if(question3.gseq==2,"Group3",....
{if(question1.gseq==3,"Group1",if(question2.gseq==3,"Group2",if(question3.gseq==3,"Group3",...
...



Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
Last edit: 1 month 2 weeks ago by Joffm.
The following user(s) said Thank You: DenisChenu

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #188513 by Joffm
Not to be misunderstood.
I didn't talk about a question of type equation.
Use the "text display" and enter your

"In the following you'll have to answer questions about :"
and the shown if-statements.

Joffm


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

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #188517 by dirk01
Thx, I will test in the versions I'm current using.

Dirk

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #188518 by jelo

dirk01 wrote: Thx, I will test in the versions I'm current using.

That should work in your version. But I don't know when qseq and gseq was introduced.

But I'm a bit confused about Joffm starting with 1.
.qseq - the question sequence (starting from 0)
.gseq - the group sequence (starting from 0)

That seems to have changed or the manual is wrong.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #188519 by dirk01
Hi Joffm,

This is exactly what I was looking for.

Thank you very much, not the least for exactly showing how to do this.

This way we are able to randomize a series of topics (with each a number of questions) and showing the respondent in advance the order in which the topics will be shown.

In my questionnaire the respondent can choose which topics he or she wants to answer. To avoid that each time only the first topics will be answered - it's a long questionnaire - I use randomization and to be able to show the order of the topics for a particular respondent in advance, is nice!

Dirk



Dirk

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #188520 by dirk01
.qseg and .gseq do start counting at 0, so I will have to figure out the exact position of the first question of each group in my final questionnaire in order to construct the proper expressions Joffm suggested

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #188521 by Joffm
To explain:
As long as there are no more informations as

These 10 groups are randomized.

Before starting the survey I want to show the order in which the groups will follow.


I assume that the text display is the first question and in a first group (gseq=0)
and the 10 randomized groups are following.

Joffm


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

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #188523 by dirk01
I'll try to implement it today and upload an example for others to use.

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #188528 by dirk01
Hi,


In attachment a survey with 7 topics.

Topics 1-6 are randomized using group randomisation.

Topic 7 has always to be shown at the end .

Question 1 shows the order in which the randomized topics will be shown. (using question attribute ".gseq" and expressions)

Question 8 shows and records the randomization sequence using a multiple response question and attribute ".gseq" in the default values.

Kind regards,

Dirk


  • Attachments:
    The following user(s) said Thank You: tpartner

    Please Log in or Create an account to join the conversation.

    Start now!

    Just create your account and start using Limesurvey today.

    Register now
    Join our Newsletter!