Presenting randomly 10 group of question among 76

More
1 month 2 weeks ago #203851 by NKaczmarek2
Hello everyone,
I have to create a study with 76 group of question and in order to reduce experimental mortality i only want to present 9 or 10 group of question to each participant. Those 9 or 10 group should be selected randomly.
Does someone knows a mean to do so?
Kind regards,
Nicolas Kaczmarek

Please Log in to join the conversation.

LimeSurvey Partners
More
1 month 2 weeks ago #203857 by Joffm
Hi,
1. Give ALL groups the same "randomization group name"
2. Use the variable "gseq", that gives the sequential number of the group
In the group relevance equation enter something like "Qx.gseq<10" where Qx is the code of the first question of this group.
https://manual.limesurvey.org/ExpressionScript_-_Presentation#Access_to_variables
Qcode.gseq the sequential number of the group, starting from 0 {gender.gseq}
Remember "gseq" counts ALL groups. So if there are some groups before your randomly shown, you have to consider this.

Joffm


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

Please Log in to join the conversation.

More
1 month 2 weeks ago #203858 by tpartner

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Please Log in to join the conversation.

More
1 month 2 weeks ago #203917 by NKaczmarek2
Hi
Thanks for your response. I have to admit that i never try to use equation on limesurvey but i'll try. I hope it's not to complicated for me.
I have an additionnal question:
If i have one question group that should be shown to all participant in the begining (selection) and in the end (sociodemographic information), would this still work with gseq, or should i put my two question group in the begining for that?
Kind regards,
Nicolas

Please Log in to join the conversation.

More
1 month 2 weeks ago #203918 by NKaczmarek2
Hi,
Thanks, it will help me to see more clearly how to use gseq.
Kind regards,
Nicolas

Please Log in to join the conversation.

More
1 month 2 weeks ago #203926 by Joffm

in the begining (selection) and in the end (sociodemographic information),

As you saw ".gseq" shows the sequential number starting with 0.

Your "selection" has number 0
the first displayed random group number 1
the second displayed random group number 2
...
the tenth displayed random group number 10

I wrote this

So if there are some groups before your randomly shown, you have to consider this.


So, if you want to display 10 random groups the condition is Qx.gseq<11

Joffm

By the way:

would this still work with gseq

You should try these things.
Display {self.gseq} in the question texts and you will see the result.


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

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now