Advanced group randomization

Mehr
3 Wochen 1 Tag her #173280 von jfrey1
jfrey1 erstellte das Thema Advanced group randomization
Hello. I'm trying to accomplish some group randomization in a survey set up as 'question by question.' Here's the setup:


Array question (name: SVCUSE) asking about use of services:
Service 1: Used/Not Used/Not Available
Service 2: Used/Not Used/Not Available
Service 3: Used/Not Used/Not Available
Service 4: Used/Not Used/Not Available
Service 5: Used/Not Used/Not Available
Service 6: Used/Not Used/Not Available
Service 7: Used/Not Used/Not Available
Service 8: Used/Not Used/Not Available
Service 9: Used/Not Used/Not Available

Question group: Service 1
Question group: Service 2
Question group: Service 3
Question group: Service 4
Question group: Service 5
Question group: Service 6
Question group: Service 7
Question group: Service 8
Question group: Service 9

Goals:
(1) if 'Used' count in SVCUSE is 1, 2, or 3, present appropriate/corresponding question groups (this will automatically happen currently, because I have placed display logic on each question in the service question groups)
(2) if 'Used' count in SVCUSE is greater than 3, present only 3 service groups, chosen at random

Is this randomization possible? If so, how is it done? Thanks!

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 1 Tag her - 3 Wochen 1 Tag her #173284 von Joffm
Joffm antwortete auf das Thema: Advanced group randomization
Hi,
okay, the problem is simplified:
Display all groups which where "used", but not more than three.

Solution:
1. Enter the same name in "randomization group"
2. Enter in "relevance equation" of: (SVCUSE_SQ001=="A1") and (G1Q1.gseq lt 4)
with "SVCUSE_SQ001" the first subquestion of your "selection question", and
"G1Q1" the first question in group G1 (Service 1)
...
(SVCUSE_SQ002=="A1") and (G2Q1.gseq lt 4)
Read here about "gseq" https://manual.limesurvey.org/Expression_Manager_-_presentation#Access_to_Variables


Dateianhang:

Dateiname: limesurvey...6922.lss
Dateigröße:23 KB


Better, you send a sample as *.lss.

Regards
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Anhang:
Letzte Änderung: 3 Wochen 1 Tag her von Joffm.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 12 Stunden her #173306 von jfrey1
jfrey1 antwortete auf das Thema: Advanced group randomization
Thank you very much. I replicated your code into my survey, but now, all of the service blocks are skipped, no matter how many services are used in SVCUSE. All of the service blocks contain more than 1 question, and in your example survey, they only contain 1 question (G1Q1, for instance). Should the relevance equation be different from this ((SVCUSE_SQ001=="A1") AND (G1Q1.gseq lt 4)) if there is more than 1 question in the service blocks (G1Q1, G1Q2, etc.)?

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 12 Stunden her #173310 von jelo
jelo antwortete auf das Thema: Advanced group randomization

Joffm schrieb: Better, you send a sample as *.lss.

WIll raise your chances that somebody can spot the issue.

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 11 Stunden her #173317 von jfrey1
jfrey1 antwortete auf das Thema: Advanced group randomization
Sure, it is attached. This is a smaller version of the survey, but the 9 service blocks and 'services used' question are intact.
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 9 Stunden her #173322 von Joffm
Joffm antwortete auf das Thema: Advanced group randomization
Hello,
therefore we like to have your survey.

You have three groups before you start these 9 special groups.
This means the value of gseq is "3" after "SVUSED".
So you have to adapt the value after ".gseq".

Which version do you use?
My yesterday's example was made with Version 3.14.5+180815
As you might have read there were some issues in other versions of the 3.x branch regarding misordering of groups.

Tomorrow I will try to make your example a working one.



Best regards
Joffm


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

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 8 Stunden her #173323 von jfrey1
jfrey1 antwortete auf das Thema: Advanced group randomization
Thank you. Yes, there are 3 question groups before the service blocks. In the actual survey, there are 4 question groups before the service blocks:

Question group #1: Introduction
Question group #2: Demographics
Question group #3: Satisfaction
Question group #4: Services Used

The survey version I attached is a smaller, simpler version of the actual survey.

My version of Lime is 3.4.3. Thanks for your help!

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Wochen 8 Stunden her #173324 von holch
holch antwortete auf das Thema: Advanced group randomization

My version of Lime is 3.4.3.


--> Update

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Wochen 6 Tage her - 2 Wochen 6 Tage her #173346 von Joffm
Joffm antwortete auf das Thema: Advanced group randomization
Hi,
1. as holch said: Update! Since your version there were about 35 updates.

2. Here the promised survey.
It is a different approach. IMO it's easy to understand.

After the first question I build a string that contains codes of the selected services.
With some equations I randomly select up to three of them.

These up to three services are displayed afterwards in random order.
In case there was no service at all selected, the survey procceeds after the "service" questions.

Dateianhang:

Dateiname: limesurvey...5962.lss
Dateigröße:243 KB


Best regards
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Anhang:
Letzte Änderung: 2 Wochen 6 Tage her von Joffm.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Wochen 3 Tage her #173439 von jfrey1
jfrey1 antwortete auf das Thema: Advanced group randomization
Thank you, this is working perfectly for me!
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha