Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Where can I find the number of ranked items in the analysis?

Where can I find the number of ranked items in the analysis?

Dear Sawtooth Community,
thank you very much for the programming information. Everything worked fine until the analysis. When I started to analyze the collected data, I noticed that the data does not show how many of the ranked items were used by the test persons. Unfortunately the non-ranked items were added to the data set. I cannot see which items were not ranked.

For Instance:

In total one to five items could be sorted. If a respondent had sorted only 3 of 5 items (items 5, 3 and 2), the following would still appear in the data set:
RankQuestion1: 5
RankQuestion2: 3
RankQuestion3: 2
RankQuestion4: 1
RankQuestion5: 4

Can you please tell me if and how I can find out this information?
asked Jun 10, 2020 by anonymous

1 Answer

0 votes
I'm not sure whether you are using the code from the linked Community Question Library item or directly from that forum post, but I think the answer should be basically the same in either case.

In both of those routes, there's meant to be "SETVALUE" code that runs on the page after the drag-and-drop ranking question.  This code ought to clean up the fake data, but perhaps you haven't included this code or perhaps it simply wasn't working.  It's not a big deal either because that code isn't really essential.

The more important code is the free format question that is added to the same page.  That question's variable records how many of the responses were truly ranked by the respondent.  In your example case, even though the data claims that all five items were ranked, this variable should record a 3 to let you know that it was the first three responses that were actually ranked.
answered Jun 10, 2020 by Zachary Platinum Sawtooth Software, Inc. (202,300 points)
...