To randomly assign participants to two different groups:Experimental and Control

More
2 weeks 3 days ago #168279 by ychia88
ychia88 created the topic: To randomly assign participants to two different groups:Experimental and Control
Hi,

I'm using NPS Enterprise Version 2.05+ Lime survey.


Was trying to randomly participants to two different set of questions.

1. My design is as such currently:
- Question Grp: Consent (Human Subject Research)
- Question:
Code: randomnumber
{if(is_empty(randomnumber.NAOK),rand(1,2),randomnumber.NAOK)}

2. I try to create two more questions. And assign them with either ((randomnumber.NAOK==1)) or ((randomnumber.NAOK==2)).


However, when I test the survey, the questions i created does not seem to appear but instead a page with either a "1" or "2" with no question appear.

Please kindly advise.

Please Log in or Create an account to join the conversation.

More
2 weeks 3 days ago #168280 by Joffm
Joffm replied the topic: To randomly assign participants to two different groups:Experimental and Control
Hi,
of course, this is your first question, the "randomnumber".
There is displayed the result of "rand(1,2)"

While testing you should display it to check the logic.

But then hide this question.

Joffm

Please Log in or Create an account to join the conversation.

More
2 weeks 2 days ago #168332 by holch
holch replied the topic: To randomly assign participants to two different groups:Experimental and Control

NPS Enterprise Version 2.05+ Lime survey.


What is NPS Enterprise Version in connection with Limesurvey? NPS = Net Promotor Score???

If you are still on 2.05+ you should definitely consider an upgrade to a more recent version of Limesurvey.

Now to your problem: I think you are going in the wrong direction completely. Can you upload an example survey (export a LSS file with only the relevant questions) so that we can have a look at what you are doing?

I think you are not using relevance equations for the questions.

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

Please Log in or Create an account to join the conversation.

More
2 weeks 2 days ago #168342 by ychia88
ychia88 replied the topic: To randomly assign participants to two different groups:Experimental and Control
Not sure whether this is the file you looking for. I'm kind of new to LimeSurvey.




Unfortunately, is the school version. Kind of challenging to request the school to upgrade the version.
Attachments:

Please Log in or Create an account to join the conversation.

More
2 weeks 2 days ago #168343 by holch
holch replied the topic: To randomly assign participants to two different groups:Experimental and Control
Well, even new to limesurvey you should notice that yours is called .lsg and i asked for a .lss.

You only exported a question group (LSG - LimeSurvey Group), but you need to export a LSS file: LimeSurvey Survey.

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

Please Log in or Create an account to join the conversation.

More
2 weeks 2 days ago #168346 by ychia88
ychia88 replied the topic: To randomly assign participants to two different groups:Experimental and Control
Hi, apologies.

As attached is the LSS file.
Attachments:

Please Log in or Create an account to join the conversation.

More
2 weeks 2 days ago #168347 by holch
holch replied the topic: To randomly assign participants to two different groups:Experimental and Control
Here a few things:

  • Question "randomnumber": this needs to be a equation type question, not a "long free text" type of question, otherwise you can't read the random number for the relevance equations on the follow up questions.

  • In Question E1 you are using the question validation equation ((randnumber.NAOK, however, there is no question called "randnumber" in your survey. Correct would be "randomnumber". However, I don't know why you need this there. It doesn't make sense. You just need the relevance equation, which seems to be correct (once you fixed the first point).

  • Once you fixed these questions, it will work. I tested it here.

    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
    The following user(s) said Thank You: ychia88

    Please Log in or Create an account to join the conversation.

    Start now!

    Just create your account and start using Limesurvey today.

    Register now
    Join our Newsletter!