An Advanced MaxDiff tells you each respondent's preference order across 7–200 alternatives. With aytm Logic, you can use that order later in the same survey: pipe a respondent's top choice into a follow-up question, or show questions only about the items they ranked highest.
In This Article
- Piping Logic: Choice Rank
- Show/Hide Logic: Position Value
- Piping with Smart Loops for Optimal Analysis
- Setting Up the Base Question
- Creating the Smart Loop
- Adding Follow-Up Questions Within the Smart Loop
- Important Considerations
Piping Logic: Choice Rank
To pipe a respondent's top MaxDiff choice into a later question, use:
-
[Q#R1]—replace#with the MaxDiff's question number.
R stands for response, and the number is the rank: R1 is the top choice, R2 the second, and so on.
Choice Rank: Example
In a survey about movies, a MaxDiff asked respondents which feelings they most want when watching a movie. The follow-up question asked which movie gives them that feeling.
Here Q12 is the MaxDiff and R1 is the respondent's top choice. To pipe other ranks, change the number, for example [Q12R2] for the second choice.
Show/Hide Logic: Position Value
To control survey flow based on where an alternative landed in the respondent's ranking, use its position value:
-
[show if Q#A#pv=1]—shows the question only if that alternative ranked first.
pv stands for position value, the alternative's rank as a number (1, 2, 3…). Replace the first # with the MaxDiff's question number and the second with the alternative's number. To get the rank as a word ("first", "second"), use p instead, for example [Q1A3p].
Piping with Smart Loops for Optimal Analysis
To ask the same follow-up about each of a respondent's top items, we recommend a Smart Loop. You write the follow-up once, and your data stays organized for analysis.
Setting Up the Base Question
In this example, a MaxDiff asks respondents to evaluate 15 types of candy. The follow-up asks how often they eat their top three.
Creating the Smart Loop
- After the MaxDiff, add a Smart Loop. You can pick it from the question types or convert an existing question.
- Enter the MaxDiff alternatives in the Smart Loop table, one per run, in the same order as in the MaxDiff. Run 1 must be alternative A1, run 2 must be A2, and so on.
- Set the runs dropdown at the top to All runs/respondent, so every respondent can get every run that their show logic allows.
⚠️ Note: The logic below matches runs to alternatives by number, not by text. If the order in the Smart Loop table differs from the MaxDiff, follow-ups will be shown for the wrong items. Keep the text the same too, so the piped names match what respondents saw.
Adding Follow-Up Questions Within the Smart Loop
Next, add the follow-up question inside the Smart Loop using its variables. In this example the variable is [candy], so each run pipes in that run's candy name.
To show the follow-up only for candies the respondent ranked first, second, or third, add this to the question:
[show if Q1A[run]pv=1 or Q1A[run]pv=2 or Q1A[run]pv=3]
Or, shorter: [show if Q1A[run]pv<4]. Inside a Smart Loop, [run] becomes the run number, so run 3 checks Q1A3pv. Candies outside the respondent's top three get no follow-up.
You program the question once, and it runs for all 15 candies. Preview your survey, and launch when ready. You don't need to convert the Smart Loop first.
If you want to customize individual questions, you can convert the Smart Loop into 15 separate questions. Each copy gets the candy name and the matching alternative number. For example, Kit Kat is A3 in the MaxDiff and run 3 in the table, so its copy shows Kit Kat and uses Q1A3pv.
⚠️ Note: If the converted questions don't line up, check that the MaxDiff alternatives and the Smart Loop runs are in the same order.
Important Considerations
During the survey, aytm doesn't yet have the final MaxDiff model, so the rank used for piping is a quick estimate from the respondent's own choices:
- On each screen, the first choice scores +1, the last choice scores −1, and the other items score 0. In Reorder mode, only the top and bottom item of each screen count.
- Each alternative's score is the average across the screens it appeared on. Alternatives are ranked from highest to lowest, and ties are broken at random.
- In long lists where respondents see only some alternatives, the ones they didn't see score 0 and still get a rank.
Because of this, the top choice used for piping won't always match the respondent's top utility in the final analysis, especially when several items tie. If precise ranks matter, pipe more than one rank (for example the top three).