Introduction
Our customers are constantly making choices, some conscious, but most unconscious. Regular surveys questions with traditional question scales are unable to get to the core of why a consumer makes his or her decision. Most of these scales don’t simulate real-life conditions, which always include some type of real trade-offs.
To simulate real life consumer decision making, the most precise approach is through either a Conjoint Analysis or MaxDiff Analysis.
How MaxDiff works
MaxDiff is a type of survey question in which respondents are presented a lists of items and are asked to indicate which item in each list they like the most and which item they like the least.
Typically, respondents are asked to complete tasks, where the options shown in each task vary according to an experimental design. Due to the nature of the experiments, respondents are forced to make trade-offs, which unveils their true preferences.
A typical survey question looks like this:

When to use a MaxDiff Analysis
- When you want to know which attributes are most important
- When you want to rank-order attributes in terms of relative importance
- When you want to force respondents to make trade-offs
- When you want to place less of a burden on respondents relative to a Conjoint Analysis
Using g6tr.md
This package contains a set of functions to help you analyze MaxDiff experiments. All of the functions are designed to work together. For more detail, please refer to the vignette. A brief overview of the workflow is presented below.
Parsing MD data
example_md_parsed_data <-
md_parse_data(
example_md_data,
id_col = response_id,
answer_cols = "a{block}_md_block_{item}",
display_order_cols = "a{block}_md_block_do_{item}",
strongest_value = 1,
weakest_value = 4,
strictness = "ignore_missing_blocks"
)Running mlogit MD model in subgroups
data_subgroups <-
create_data_subgroups(
example_md_data,
id_col = response_id,
grp_cols = s_gender,
population = TRUE
)
example_md_model_subgroups <- md_mlogit_model_subgroups(
parsed_data = example_md_parsed_data,
data_subgroups = data_subgroups
)example_md_model_subgroups is a nested dataframe with mlogit models and stats prepared for each of the subgroups defined by create_data_subgroups().
