- Posts: 73
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Skip Logic with Randomized Questions
- BBCMResearch
- Topic Author
- Offline
- Senior Member
Less
More
8 years 2 weeks ago #134777
by BBCMResearch
Skip Logic with Randomized Questions was created by BBCMResearch
Hi all,
I'm working on a survey with some advanced skip logic.
I know Lime Survey currently does not support skip logic for subquestions in arrays, so I'm wondering what more experienced users might suggest as a work around.
Essentially I need to set up 1 arrays of 10 questions, each of which is answered on a 1-5 likert scale.
Then I need a follow-up array with subquestions based on answers to the previous array. I only want subquestions based on those from the previous array that were answered 1-3. In addition, I want to limit the number of subquestions in the new array to 5, drawn at random.
Suggestions?
I'm working on a survey with some advanced skip logic.
I know Lime Survey currently does not support skip logic for subquestions in arrays, so I'm wondering what more experienced users might suggest as a work around.
Essentially I need to set up 1 arrays of 10 questions, each of which is answered on a 1-5 likert scale.
Then I need a follow-up array with subquestions based on answers to the previous array. I only want subquestions based on those from the previous array that were answered 1-3. In addition, I want to limit the number of subquestions in the new array to 5, drawn at random.
Suggestions?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10115
- Thank you received: 3597
8 years 2 weeks ago #134780
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Skip Logic with Randomized Questions
LimeSurvey 2.06 and newer does support relevance for array sub-questions.I know Lime Survey currently does not support skip logic for subquestions in arrays...
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The topic has been locked.
- BBCMResearch
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 73
- Thank you received: 1
8 years 2 weeks ago #134860
by BBCMResearch
Replied by BBCMResearch on topic Skip Logic with Randomized Questions
Thanks. I was misinformed by dated forum posts.
Do you have any recommendations on where I can find a good tutorial for Relevance equations like the ones I might need to make this happen?
Do you have any recommendations on where I can find a good tutorial for Relevance equations like the ones I might need to make this happen?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10115
- Thank you received: 3597
8 years 2 weeks ago - 8 years 2 weeks ago #134877
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Skip Logic with Randomized Questions
Have a look at Expression Manager and associated pages in the manual -
manual.limesurvey.org/LimeSurvey_Manual
.
Assuming a question code of "Q1" and subquestion codes of "SQ001, SQ002...", the relevance for row one of Q2 would be:
Sample survey attached:
Assuming a question code of "Q1" and subquestion codes of "SQ001, SQ002...", the relevance for row one of Q2 would be:
Code:
Q1_SQ001 > 0 AND Q1_SQ001 < 4
Sample survey attached:
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
Last edit: 8 years 2 weeks ago by tpartner.
The following user(s) said Thank You: BBCMResearch
The topic has been locked.
- BBCMResearch
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 73
- Thank you received: 1
8 years 1 week ago #135026
by BBCMResearch
Replied by BBCMResearch on topic Skip Logic with Randomized Questions
Hi Tony,
I had dug around the manual, and found this section about randomization and relevanceStatus , but I can't quite seem to get it to work.
My first group of questions Q1, Q2, and Q3 are arrays with a combined total of 16 subquestions. Each of those with values >0 and <4 then becomes a valid subquestion for Q4 and Q5, each of which are arrays, set in their own separate groups.
I need no more than 5 subquestions for both Q4 and Q5, and I need them to be drawn at random from those valid subquestions in Q1, Q2, and Q3.
I'm getting the 5 subquestion limit just fine with the relevanceStatus and LT5 techniques in that tutorial, however my subquestions aren't being drawn at random, instead they're just the first 5 valid subquestions from the combined arrays of Q1, Q2, and Q3.
Any ideas where I'm going wrong?
I had dug around the manual, and found this section about randomization and relevanceStatus , but I can't quite seem to get it to work.
My first group of questions Q1, Q2, and Q3 are arrays with a combined total of 16 subquestions. Each of those with values >0 and <4 then becomes a valid subquestion for Q4 and Q5, each of which are arrays, set in their own separate groups.
I need no more than 5 subquestions for both Q4 and Q5, and I need them to be drawn at random from those valid subquestions in Q1, Q2, and Q3.
I'm getting the 5 subquestion limit just fine with the relevanceStatus and LT5 techniques in that tutorial, however my subquestions aren't being drawn at random, instead they're just the first 5 valid subquestions from the combined arrays of Q1, Q2, and Q3.
Any ideas where I'm going wrong?
The topic has been locked.
- BBCMResearch
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 73
- Thank you received: 1
8 years 1 week ago #135034
by BBCMResearch
Replied by BBCMResearch on topic Skip Logic with Randomized Questions
In otherwords, I think, is there a way to create Randomization groups for subquestions?
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10115
- Thank you received: 3597
8 years 1 week ago #135064
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Skip Logic with Randomized Questions
Did you try randomizing the sub-question order in Q4 and Q5? (in question settings)
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- BBCMResearch
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 73
- Thank you received: 1
8 years 1 week ago #135079
by BBCMResearch
Replied by BBCMResearch on topic Skip Logic with Randomized Questions
I did. The array still chose the first 5 valid subquestions from Group 1, it just shuffled their order. I also tried assigning all of the questions in all groups to the same randomization group, but that didn't seem to have any effect either.
The only solution I've figured out is to break each subquestion in the latter groups out into its own separate array. I can make 5 relevant subquestions from group 1 then reappear as individual questions that way. It's less than ideal, but not unacceptable.
The only solution I've figured out is to break each subquestion in the latter groups out into its own separate array. I can make 5 relevant subquestions from group 1 then reappear as individual questions that way. It's less than ideal, but not unacceptable.
The topic has been locked.