View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
07400Feature requestsConditionspublic2010-03-26 15:53
ReporterMatherion Assigned To 
PrioritynormalSeverityfeature 
Status acknowledgedResolutionopen 
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 heat6

Users monitoring this issue

User List There are no users monitoring this issue.

Activities

Matherion

Matherion

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. http://bugs.limesurvey.org/view.php?id=4247). 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!
jumper51

jumper51

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.
fsando

fsando

2012-08-31 02:35

reporter   ~24342

I believe I have a working solution this feature request

http://ideas.limesurvey.org/ideatorrent/idea/426/

Issue History

Date Modified Username Field Change