- Posts: 4
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Rank order past responses as answer options
- jkaufman
- Topic Author
- Offline
- New Member
Less
More
8 years 4 months ago - 8 years 4 months ago #129324
by jkaufman
Rank order past responses as answer options was created by jkaufman
Survey participants are asked to provide ratings of a large collection of items. The top-rated item is then presented to the participant for confirmation. If the participant declines this option, they are presented with the next three top-rated items and asked to select one.
Eg.
1. How much would you pay for a chocolate muffin? ($1, >$2<, $3, $4, $5)
2. How much would you pay for a strawberry muffin? (>$1<, $2, $3, $4, $5)
3. How much would you pay for a zucchini muffin? ($1, $2, $3, $4, >$5<)
4. Are you sure you'd pay the most for a zucchini muffin? (Yes, >No<)
5. Okay, for which of the following muffins would you be willing to pay most? (zucchini, >chocolate<, strawberry)
I am able to find one of the items assigned the highest rating by calculating the maximum rating among all items, storing the value to a hidden question, and then checking each item's rating against this stored value. I have not found a way to obtain an ordered list of the top-rated answers using Expression Manager.
How can I provide this experience?
Eg.
1. How much would you pay for a chocolate muffin? ($1, >$2<, $3, $4, $5)
2. How much would you pay for a strawberry muffin? (>$1<, $2, $3, $4, $5)
3. How much would you pay for a zucchini muffin? ($1, $2, $3, $4, >$5<)
4. Are you sure you'd pay the most for a zucchini muffin? (Yes, >No<)
5. Okay, for which of the following muffins would you be willing to pay most? (zucchini, >chocolate<, strawberry)
I am able to find one of the items assigned the highest rating by calculating the maximum rating among all items, storing the value to a hidden question, and then checking each item's rating against this stored value. I have not found a way to obtain an ordered list of the top-rated answers using Expression Manager.
How can I provide this experience?
Last edit: 8 years 4 months ago by jkaufman. Reason: Emphasize selected answers in the example.
The topic has been locked.
- jkaufman
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
8 years 4 months ago #129326
by jkaufman
Replied by jkaufman on topic Rank order past responses as answer options
(Reached out to moderator to move question.)
It occurs to me that I might be able to assign a relevance equation to each answer option, checking that it equals or exceeds some score. This would get me close enough– I don't care about the exact number of options. Does that sound like a good plan?
It occurs to me that I might be able to assign a relevance equation to each answer option, checking that it equals or exceeds some score. This would get me close enough– I don't care about the exact number of options. Does that sound like a good plan?
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2738
8 years 4 months ago #129327
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Rank order past responses as answer options
Moved to different forum, as requested.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10100
- Thank you received: 3589
8 years 4 months ago #129339
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 Rank order past responses as answer options
What format are these questions? Can you attach a small sample survey?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.