View Issue Details

This bug affects 1 person(s).
IDProjectCategoryView StatusLast Update
07400Feature requestsConditionspublic2021-11-10 11:46
ReporterMatherion Assigned Togalads  
Status closedResolutionfixed 
Summary07400: Randomly assigning users to a group (i.e. for experiments)
DescriptionFor 'us psychologists' (researchers) it is often necessary to randomise participants over 'conditions' (in the research sense, not in the LimeSurvey sense). For example, we may want to present 50% with group 3 and 50% with group 4. To make matters a bit more, eh, challenging, it can sometimes be useful to make this randomisation dependent on earlier answers (i.e., only randomise participants with a certain profile; present all others with group 5), or to randomise different proportions of participants to different groups (i.e. 60% to group 3, 20% to group 4, 10% to group 5, and 10% to group 6).

So I thought it would be pretty cool if that could be implemented :-)
Additional InformationA possible solution: Create group combinations with rules determining which group is presented
Users can indicate to which combination a group belongs. When LimeSurvey gets to a group in a combination, the associated rules are parsed to determine which group is presented to the user.
TagsNo tags attached.
Bug heat8

Users monitoring this issue

User List There are no users monitoring this issue.




2010-03-31 09:45

reporter   ~24341

PS: I will gladly help developing this, but my PHP/MySQL skills are pretty basic (see e.g. I know how to get stuff from MySQL databases, but that's about it (I can specify which users' data I want, for example, but that's the limit of my skills I'm afraid). But if there's anything I can do, please let me know!


2011-02-11 00:43

reporter   ~24340

Alternative solution: Hidden question
Add an hidden question which contains javascript and use a random()-function to calculate the group-number for the participant. Then after that you could show the next questions depending on that value. The "Back"-button should be disabled though.


2012-08-31 02:35

reporter   ~24342

I believe I have a working solution this feature request


2021-11-10 11:46

administrator   ~67221

Dear Matherion ,

Thank you for suggesting a feature.

However, we will not be picking this up because the use case is too specific or the use case might not fit to the latest versions of LimeSurvey.

Other reasons why the feature is dropped could also be, it has been implemented already.

Please check on the latest versions and if the issue still exists, feel free to re-open the report.

kind regards,

Issue History

Date Modified Username Field Change
2021-11-10 11:46 galads Note Added: 67221
2021-11-10 11:46 galads Bug heat 6 => 8
2021-11-10 11:46 galads Assigned To => galads
2021-11-10 11:46 galads Status acknowledged => closed
2021-11-10 11:46 galads Resolution open => fixed