Welcome to the LimeSurvey Community Forum

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

Randomization experimental groups

  • Wiegekind
  • Wiegekind's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 months 4 weeks ago - 4 months 4 weeks ago #252722 by Wiegekind
Randomization experimental groups was created by Wiegekind
Your LimeSurvey version: LimeSurvey Community Edition
Version 5.6.29+230704
Own server or LimeSurvey hosting: University of Zurich
==================
Dear LimeSurvey Community,
 
(This is the third time I'm trying to post this question because I cannot find it after submitting, I hope I didn't upload it three times now).

I have the problem that we want to form four experimentalgroups, with each group having to evaluate a different brand. So there will be three "questions" in total, where the 4 groups will have different questions (same question but e.g. name of the brand is different). I have tried the solutions and combinations of these solutions found on the internet, e.g.
if(is_empty(equation), rand(1, 4), equation)
if(is_empty(randnum), rand(1, 4), randnum)
{if(randomisation>0,randomisation,rand(1,4))}
{if(grouping>0,grouping,rand(1,4))}
{if(grouping>0,grouping,margin(1,4))}

But my version of limeSurvey doesn't recognise the syntax (randomisation, grouping, randnum,...). I tried to put it as an equation at the beginning of the questionnaire, as well as in the question group, under conditions, etc., and I don't know what the problem is.

I hope somebody can help us.
Best :)
Last edit: 4 months 4 weeks ago by Wiegekind.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 months 4 weeks ago - 4 months 4 weeks ago #252723 by Joffm
Replied by Joffm on topic Randomization experimental groups
Hi,
each one (except the last) is correct syntax (of course there are some missing curly brackets).

So there seems to be a small typo or mistake on your side 

Please send the lss export of this part of the survey.

Joffm 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 4 months 4 weeks ago by Joffm.

Please Log in to join the conversation.

  • Wiegekind
  • Wiegekind's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 months 4 weeks ago - 4 months 4 weeks ago #252724 by Wiegekind
Replied by Wiegekind on topic Randomization experimental groups
Hi Joffm,
thank you for your quick reply. The curly brackets are included in the survey.

Here the lss report.
 

File Attachment:

File Name: limesurvey...7942.lss
File Size:372 KB

Best :)
Last edit: 4 months 4 weeks ago by Wiegekind.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 months 4 weeks ago - 4 months 4 weeks ago #252725 by Joffm
Replied by Joffm on topic Randomization experimental groups
Hi,
I only answer to your question.

If you call the question "RAN" and enter the equation "{if(is_empty(gleichung),rand(1,4),gleichung)}" you can't expect it to work.
As you use the variable "gleichung" in the following questions the code of the randomization question has to be "gleichung".
And it is not a "Bedingung". Why did you enter it here.

As you may read in my "Tutorial 4: Gleichungen, Zufall" in the German part on one of the first 15 pages.

But there are many necessary  and optional improvements in this survey.
But I am tired to discuss this here in English without necessity.
Ask in the German part.

Bis dann
Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 4 months 4 weeks ago by Joffm.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose