1. Knowledge Base
  2. Data Analysis Guides

Respondent Segmentation in SightX

A step-by-step guide to uncovering meaningful customer groups through clustering—turning your survey data into actionable insights.

What is Segmentation?

In today's competitive landscape, understanding your customer is everything. But true understanding goes deeper than basic demographics; it’s about discovering the hidden patterns in their behavior. Segmentation, or clustering, is the key that unlocks this insight.


Clustering is a fundamental data analysis technique that moves beyond assumptions by identifying natural groupings within your datasets. Essentially, it helps answer critical questions like:

  • Which customers behave similarly?
  • Which product features are most used together?
  • What are our real market segments?

By transforming raw data into a clear map of customer groups, clustering provides the foundation for smarter marketing and product development. In simple terms, our tool finds groups of people in your data who share similar traits.


This guide will show you exactly how to do that. We'll walk through the practical steps, from filtering and preparing your data to running the analysis, to ensure your final clusters are both accurate and clear.

Creating Segments

Once you've finished collecting responses and cleaning your data, navigate to the Analysis section of your project and choose the "Segmentation" tab.

Step 1: Define Your Population

The first step in any strong analysis is focus. Before you can find segments, you need to define the overall group of people you want to analyze. For instance, you might want to find segments only within your female audience, or just among respondents in Europe. 

In Step 1 of our tool you can choose between:

  • Select entire population: Choose this if you want to analyze everyone in your dataset without any filters.
  • Define subset: Choose this to focus your analysis on a specific group using filters.

If you choose to "Define subset," you can build a precise audience using your survey questions as filters. You can combine multiple rules using "AND" and "OR" logic to be as broad or as specific as you need.

For example, let's say you want to find respondents who meet one of two conditions: they are either middle-aged men OR have a mid-range household income.

Your filter would look like this:

This setup would select respondents who are:

Male AND between the ages of 18-44

OR

Have a Family-oriented lifestyle

 

After setting your filters, click "Apply filters" to confirm your setup. You will see the updated number of respondents on the right, allowing you to verify the size of your target audience:

With your audience defined, click “Next” to move on to selecting your variables.

Step 2: Define Segmentation Variables

This is the most critical step of your analysis. Here, you'll choose the survey questions (variables) that the tool will use to find patterns and create your segments. The variables you select will directly shape the final groups you discover. 

To add a variable click on the “Add variable” button and select the desired question using the dropdown menu. 

To remove a variable, click the trash can icon next to it.


You can optionally give your variable a custom name using the “Variable name” input field.

Understanding the Types of Variables

Our tool organizes your questions into two main types: Categorical and Numerical.

Numerical variables: These are variables that use numbers for measurement. Think of them as data you can do math with.

  • Examples: Age, star ratings (1-5), or Net Promoter Score (NPS).
  • Question types that will be automatically assigned as numerical:
    • Scale questions
    • Numeric input questions
    • NPS questions
    • Multiple choice questions where the answer options are numbers (e.g. 1, 2, 3, 4, 5)
    • Grid questions where the columns are numbers (e.g. 1, 2, 3, 4, 5)

Categorical variables: These are variables that represent qualitative values or categories.

  • Examples: Brand choices ('Brand A', 'Brand B'), 'Yes/No' answers, or demographic groups like 'Country'.
  • Question types that will be automatically assigned as categorical:
    • Multiple choice (single select) questions
    • Multiple choice (multiple select) questions

      • When respondents can select more than one option, each option becomes a separate categorical variable. For each option, the values of these variables are "selected" or "not selected."

        For example, if you ask “Which of these colors do you like?” with options “Blue,” “Red,” “Black,” “Yellow,” and “Brown,” you’ll get five distinct categorical variables (one for each color) where the possible values are "selected" or "not selected."

        In the tool you can choose which of the options you want to keep in the analysis by selecting their corresponding checkboxes.

    • Grid questions: each row in the grid is treated as a separate variable
    • Embedded variables

Special Handling: Concept Tests & Loops

Questions within Concept tests and Loops are expanded into individual variables before being categorized.

The tool creates a separate variable for each question within each concept or loop option.

Example: You have a concept test with 2 concepts, and inside you ask 1 multiple-choice question (Categorical) and 1 scale question (Numerical).

  • This will create 4 total variables for your analysis:
    • Concept 1 - Multiple Choice 
    • Concept 1 - Scale Question
    • Concept 2 - Multiple Choice 
    • Concept 2 - Scale Question

Grouping and Encoding Variable Options

For each question you select, you can combine multiple response options into new groups (Grouping), or assign numeric values to response options (Encoding).

 

Grouping

Grouping is useful when you want to simplify your analysis, especially if your survey responses are spread thinly across many options. For example, with a scale like "Extremely Disagree" to "Extremely Agree," you might group responses into broader categories such as "Top 2" and "Bottom 3" to focus on overall trends and ensure each group has enough data.

How to group options:

  1. Add a variable and click “Create groups.”
  2. In the modal, click “Add group” to create a new group.
  3. Set up your groups
    1. For categorical variables:
      • Use the dropdown to assign options to each group.
      • You can group as many or as few options as you need, unassigned options will remain as they are.
      • Example: Create a “Top 2” group for the top two choices and a “Bottom 3” group for the bottom three choices.
    2. For numeric variables:
      • Each group will be defined by a range of values.
      • When you group numeric variables, they become categorical, but you can encode them again to turn them back into numerical values.
      • Example: Define age groups like “18-44” and “45-79”
  4. When finished, click "Create" to save your grouping.

Encoding

Encoding allows you to assign numerical values to the options in your variables.

For questions with text-based scales (such as "Unlikely," "Neutral," "Likely"): Encoding turns these ordered categories into numbers that reflect their ranking (for example, mapping "Unlikely" to 1, "Neutral" to 2, and "Likely" to 3). You can use a uniform scale or set custom values to better represent the distances you perceive between categories.

For numerical questions: Encoding can be used to rescale values. This is helpful if respondents only use a portion of the scale, making certain ranges more relevant. By encoding, you can give more weight to the meaningful parts of the data.

Do not use encoding for categorical variables that do not have a logical order (such as colors or product names), as assigning numbers can introduce false meaning to your analysis.

How to encode options:

  1. Add a variable and click “Encode values.”
  2. Set up encoding
    1. For categorical questions, scale questions, or variables that you’ve grouped, assign a value to each option in the code column.
    2. For numeric input questions, assign a value to each range in the code column. Click “Add range” to define additional value ranges as needed.
  3. When finished, click "Save changes" to apply your encoding.

Wrapping Up Variable Selection

After selecting and configuring all the variables you want to include in your segmentation, take a moment to review your selections. Choosing the right variables and configuring them thoughtfully will help ensure your segmentation results are meaningful and actionable. When you're satisfied with your variable configuration, click “Next” to continue.

Step 3: Handle Missing Values

To perform clustering, all responses need to be complete. On our platform, missing data can occur if a respondent selects "N/A" or if a question is skipped due to survey logic or conditional display.

At this step, we check for any missing values in your data and ask you to choose how to handle them.image36-png

The most common approach is to remove incomplete responses, but you can also choose to fill in missing values in other ways. Your options depend on the type of variable:

Categorical variables

  1. Fill with the most common answer: All missing values are replaced with the option chosen most frequently in that variable.
  2. Fill with a specific value: Select a response option from the question to fill in all missing values.

Numerical variables

  1. Fill with the most common answer: Missing values are replaced with the most frequently given response.
  2. Fill with the average: The mean of the existing responses is used to replace missing values.
  3. Fill with the median: The middle value (when responses are ordered) replaces missing values.
  4. Fill with a specific value: Enter a specific number to be used for all missing values. 

If you prefer, you can simply exclude incomplete responses from your analysis. This is the simplest and most common way to handle missing data. However, this method is generally recommended only when the amount of missing data is small compared to your total dataset. Excluding too many responses can lead to the loss of valuable information, a reduced sample size, and potentially less accurate or representative results. Taking care in how you handle missing values will help ensure your clustering results are accurate and reliable.

Step 4: Exclude Non-informative Variables

At this step, we analyze the variability and correlation of your variables. Variables with low variability or those that are highly correlated with others contribute little new information to your clustering analysis. Removing these variables can improve the quality and interpretability of your results.

The tool identifies variables with low variability and groups of highly correlated variables. We recommend keeping only one variable from each correlated group. Select any variables you wish to exclude and click “Next” to go to the next step.

Deep Dive: Variability Analysis

Variables with very little change across respondents are usually uninformative for clustering. We use different measures depending on the variable type:

Numerical variables: We calculate the Quartile Coefficient of Dispersion (QCD), defined as

Where  and ​  are the first and third quartiles. Variables with are considered to have low variability and may be excluded.

Categorical variables: If more than 90% of responses fall into a single category, the variable is considered to have low variability and may be excluded.

 

Deep Dive: Correlation Analysis

Variables that are highly correlated with each other often provide redundant information, which can bias clustering and make results harder to interpret. We recommend keeping only one variable from each group of highly correlated variables. Here’s how we measure correlation:

Between Numerical variables:
We use the squared Pearson correlation coefficient (). If , variables are regarded as highly correlated.

Between Categorical variables:
We use Cramer's V. If , variables are considered highly correlated.

Between Categorical and Numerical variables:
We use the effect size . If , variables are considered highly correlated.

Carefully review the suggested variables and decide which ones to keep or remove. Excluding redundant or low-variability variables helps ensure your clustering is based on informative, distinct inputs, leading to clearer and more actionable results.

Step 5: Variable Scaling

In this step, you can choose which numeric variables to standardize. Standardization is an important preprocessing step for cluster analysis, it ensures all numerical variables are on a similar scale, regardless of their original units or ranges. For example, survey questions might use different scoring ranges (e.g., 1–5 vs. 0–100); standardization prevents variables with wider ranges from dominating the clustering results.

Our tool uses Z-score standardization: each value is transformed by subtracting the mean and dividing by the standard deviation, resulting in variables with a mean of 0 and a standard deviation of 1.

Select the variables you want to standardize and click “Next” to continue. We recommend standardizing all numerical variables for best results.

Step 6: Variable Transformation

This final step of data preparation uses factor analysis to transform your selected variables into a smaller set of uncorrelated components, helping to reduce redundancy and focus on the most important information.

How it works:

  • For numeric variables, the tool applies Principal Component Analysis (PCA).
  • For categorical variables, it uses Multiple Correspondence Analysis (MCA).
  • The resulting components are ordered by how much variation (information) they explain. You can then select the number of components to retain, typically those that explain most of the variation in your data. This is especially helpful if you have many variables and want to simplify your analysis. 

How to use this step in the tool:

  1. Click “Add group” to create a new set of variables to combine.
  2. In the modal, select the variable type (Categorical or Numeric) and choose the variables you wish to combine.
  3. Click "Continue" to run the factor analysis.
  4. Once complete, you’ll see a plot showing how much variance is explained as you increase the number of components kept.
  5. Choose the number of components you want to keep based on the cumulative variance shown, then click “Apply”.
  6. The tool will show the variables you included, the components retained, and the proportion of variance explained. To edit a group, click the pen icon; to delete a group, click the trash can icon.
  7. To add more groups, click “Add group” again.
  8. When you’re ready, click “Calculate clusters” to run clustering.

Exploring Your Segmentation Results

After running your clustering analysis, you'll land on the results page, where you can review and explore your new segments.

Which clustering algorithm was used?

  • Numeric variables only: The tool uses k-means.
  • Categorical variables only: The tool uses k-modes.
  • Mixed variables: The tool uses k-prototypes.

You don’t need to specify the number of segments; the tool determines the optimal number using the elbow method (for within-cluster sum of squares) and the silhouette score.

Segment Selection

Use the dropdown menu to review clustering results with different numbers of segments.

To create a segmentation with a custom number of clusters, click the “Create custom” button in the dropdown. In the modal that appears, enter your desired number of segments and click “Calculate” to generate the results.

 

Segment Visualization

Graph tab: Switch to this tab for charts showing the distribution of respondents across segments (bar chart). If you used three or fewer numeric variables, an additional scatterplot will show how segments are distributed across those variables. Use the toggle buttons to switch between chart types.

Table tab: This tab displays a summary table: segments are columns, and your segmentation questions are rows, showing the distribution of responses for each segment. You can:
    • Rename segments using the pen icon next to each segment name.
    • View responses filtered by segment with the magnifying glass icon
    • Switch between percentages and counts with the “%” and “#” buttons.


Compare segments

Click Compare Segments to go to the question analysis dashboard, where you can compare how each segment responded to your survey questions.

Managing Results

Export: Click the Export button to download your segmentation results and configuration to an Excel document.

View or edit configuration: Click the Configuration button to review your preprocessing and segmentation steps. You can make edits, but any changes will require you to repeat downstream steps and recalculate your segmentation.

Copy & save segmentations:

From the segmentation dashboard’s landing page, you can copy configurations to try different scenarios. Create as many segmentations as you like, each is saved separately so you can experiment and find the best setup for your analysis.

 

Want a deeper dive on our clustering methods? Check out this technical document.