Welcome to the LimeSurvey Community Forum

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

Random Assignment of Participants

  • kporter0
  • kporter0's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 8 months ago #139855 by kporter0
Random Assignment of Participants was created by kporter0
Hi there,

I have figured out how to randomly allocate my participants to 1 of 6 conditions, but now as I am nearing the end of the data collection phase of my survey I have realised that some conditions have way more participants than others. Is there anyway that I can disable conditions 2 and 5 so that participants are only allocated to conditions 1, 3, 4 and 6?

Any advice would be greatly appreciated!

Thank you,

Kelly
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 8 months ago #139856 by Joffm
Replied by Joffm on topic Random Assignment of Participants
Hi, kporter0,
as far as I understand your respondents randomly answer 1 of 6 question(group)s.
This is done by an equation like randomNumber=rand(1,6) and relevance.
And relevance of questions or the equation you can change during a running survey.
In case you did it this way and the number of respondents in the 6 groups is not distributed equally, the "Random"-function is not working correctly (what I do not believe).

So I am sure you did something different.
What means "allocation of conditions to participants"?
And the words "I have figured out how to..." sounds like a more sophisticated self made algorithm.

I would like you to explain a little bit more.

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • kporter0
  • kporter0's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 8 months ago #139859 by kporter0
Replied by kporter0 on topic Random Assignment of Participants
Hi Joffm,

I have used the randomNumber=rand(1, 6) equation. I would ideally like to have 20 participants in each question group. Some question groups have 23 participants while other question groups only have 13 participants. Is there anyway I can direct participants to the groups that have fewer participants?

Thank you!
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 8 months ago #139863 by Joffm
Replied by Joffm on topic Random Assignment of Participants
Hi, kporter0,
first: what did you expect, if you have such a small sample.
I had a look at a statistical table to see if there is really a significant difference.
In the binomial test the interval of convidence for 20 in a sample of 120 is: 10.5 - 24.6 (5% convidence.)
So all your group sizes are inside of the interval.
Did you roll a dice 120 times? Which result did you get?

But to solve your problem.

I assume you set relevance to the six groups :
Group1: randNumber==1
Group2: randNumber==2
Group3: randNumber==3
...
well, just change the relevance.
Filled groups: relevance: 0 or even randNumber==10 (anything that's always false)
Group1: (randNumber==1) OR (randNumber=2)
Group3: (randNumber==3) OR (randNumber=4)
Group4: randNumber==5
Group6: randNumber==6
Or whatever you want.

So you can lead more respondents to the less filled groups.

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: kporter0
The topic has been locked.
More
7 years 6 months ago #142533 by first
Replied by first on topic Random Assignment of Participants
Capture random result to hidden question and control survey entry using quota on this question...

Survey Designer and Programmer
The topic has been locked.
More
7 years 6 months ago #142549 by jelo
Replied by jelo on topic Random Assignment of Participants

OMdev wrote: Capture random result to hidden question and control survey entry using quota on this question...

What is your workaround of capturing the random result and make it accessible to the quota system?
This area is still very unstable in LimeSurvey since equations questions cannot be access directly via the quota system.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 6 months ago #142563 by DenisChenu
Replied by DenisChenu on topic Random Assignment of Participants

jelo wrote: This area is still very unstable in LimeSurvey since equations questions cannot be access directly via the quota system.

Using some hidden question are not really unstable. Difficult but not unstable.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose