Counterbalanacing Latin Square

2 months 3 weeks ago #196720 by azizniy

Is there a way to counterbalance the question groups?

Let's say, I have 3 question groups: g1, g2, g3, and i want to counterbalance in a Latin Square way. I want to change the order of the groups for each participant(nor just randomly).
For example, the 1st participant will have question group order as: g1, g2, g3.
2nd participant, or next person who is opening the survey will get oreder as: g2, g3, g1.
For the 3rd participant: g3,g1,g2.
Then, for the 4th participant the order will be again as for the 1st, and so on..

Please Log in to join the conversation.

LimeSurvey Partners
2 months 3 weeks ago #196723 by Joffm
I assume thre are three groups with equal questions about three different objects.

LimeSurvey does not support rotations.
You could try do do an ajax call to count the completes so far and calculate by "modulo" the next order of the groups.

Then you may do a kind of micro-tayloring to insert the object-

Order of group is calculated, but the respondent just terminates the survey.
Several respondents start the questionnaire at the same time, they get the same order.
If you don't count the completes but the started surveys you might not achieve your goal if respondents don't complete.

On the other side, this way the order of groups only depends on the time the respondent starts the survey.
If respondent A starts one second after respondent B, he sees a different order as if he sterted 5 seconds earlier.
So really it's nothing else than randomly, meaning: random number 1-3, with
random number = 1: order a,b,c
random number = 2: order b,c,a
random number = 3: order c,a,b

Best you send a prototype of your structure (lss export), that we see more about the design of your survey and what you are going to ask


Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: azizniy

Please Log in to join the conversation.

2 months 3 weeks ago #196783 by Jmantysalo
Mayby you can just copy g2 to g4 and g3 to g5. Then add question g0 of type equation, value as random number between 1 and 3. Show g4 if the random number was 2 or 3, and so on.

Of course this only works if you only have exactly three groups. I don't know a good general solution.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now