Welcome to the LimeSurvey Community Forum

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

Counterbalanacing Latin Square

  • azizniy
  • azizniy's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 weeks ago #196720 by azizniy
Counterbalanacing Latin Square was created by azizniy
Hello

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..
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 weeks ago #196723 by Joffm
Replied by Joffm on topic Counterbalanacing Latin Square
Hi,
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-

Problem:
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

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: azizniy
The topic has been locked.
More
4 years 1 week ago #196783 by Jmantysalo
Replied by Jmantysalo on topic Counterbalanacing Latin Square
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.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose