Data Collection & Analysis

Cluster Analysis (Segmentation) Explained

6 min read

Learn what cluster analysis is, how it groups similar respondents into segments, common algorithms, and how to apply it for market segmentation research.

What Is Cluster Analysis?

Cluster analysis is a family of statistical methods that group cases, typically survey respondents, into segments based on their similarity across multiple variables. The algorithm identifies natural groupings in the data: respondents within the same cluster are more similar to each other than to respondents in other clusters. In market research, those variables might be attitudes, needs, behaviors, or preferences, and the resulting clusters become customer segments with distinct profiles. Unlike demographic segmentation (which divides people by age, income, or geography), cluster analysis creates segments based on how people actually think and behave, which tends to be far more useful for strategy and targeting.

Why Cluster Analysis Matters

Not all customers are the same, and treating them as one homogeneous group leads to generic strategies that resonate with nobody. Cluster analysis reveals the natural structure in your audience, groups with distinct needs, motivations, and behaviors that require different approaches. It moves segmentation from assumption-based ("millennials want X") to data-driven ("this group of respondents, regardless of age, values convenience over quality and is price-sensitive").

How Cluster Analysis Works

Preparing the Data

Before clustering, you need to prepare your input variables:

Variable selection: choose the variables that should define the segments. Typically these are attitudinal or needs-based measures: importance ratings, agreement scales, frequency of behaviors, or preference rankings. Avoid including demographic variables as clustering inputs, use them later to profile the segments.

Standardization: if variables are on different scales (a 5-point agreement scale and a 10-point importance scale), standardize them to z-scores so no single variable dominates the clustering simply because of its scale range.

Dimensionality reduction: for large variable sets (20+), run factor analysis or principal component analysis first to reduce the variables to a smaller set of composite dimensions. Clustering on factor scores rather than raw variables produces more stable, interpretable segments.

Common Algorithms

K-means clustering is the most widely used method in market research. You specify the number of clusters (k), and the algorithm iteratively assigns each case to the nearest cluster center, then recalculates cluster centers, repeating until assignments stabilize. It's fast, intuitive, and works well with large datasets. The main limitation is that you need to choose k in advance.

Hierarchical clustering builds a tree-like structure (dendrogram) by progressively merging the most similar cases. You can cut the tree at different levels to produce different numbers of clusters. It's useful for exploring the data's natural structure and informing the choice of k for k-means. It doesn't scale well to very large datasets.

Latent class analysis (LCA) takes a model-based approach, assuming the data comes from a mixture of underlying probability distributions. It handles categorical variables natively (unlike k-means, which assumes continuous data) and provides statistical criteria for selecting the number of classes. It's becoming increasingly popular in market research segmentation.

Determining the Number of Clusters

Choosing the right number of clusters involves both statistical and practical criteria:

  • Elbow method: plot the within-cluster sum of squares for different values of k. Look for the "elbow" where adding another cluster provides diminishing returns in explained variance.
  • Silhouette analysis: measures how similar each case is to its own cluster versus other clusters. Higher average silhouette scores indicate better-defined clusters.
  • Information criteria (BIC, AIC): used with latent class analysis to statistically compare models with different numbers of classes.
  • Practical usability: can your organization actually develop different strategies for 7 segments? Often 3-5 segments is the practical limit, regardless of what the statistics suggest.

Profiling the Segments

After clusters are formed, profiling makes them actionable:

  1. Compare cluster means on the input variables to understand what makes each segment distinctive.
  2. Cross-tabulate with demographics: age, gender, income, geography, to understand who's in each segment.
  3. Analyze behavioral differences: purchase frequency, brand usage, channel preferences, media consumption.
  4. Name the segments with descriptive labels that capture the essence of each group. "Value Seekers," "Quality Enthusiasts," "Convenience-Driven" are more useful than "Cluster 1, 2, 3."
  5. Size the segments to understand their business value, a small high-value segment may deserve more attention than a large low-value one.

Validating the Solution

Cluster solutions can be unstable, so validation is essential:

  • Split-half validation: divide the sample randomly and cluster each half separately. The solutions should produce similar segment structures.
  • Discriminant analysis: use the cluster assignments as a dependent variable and the input variables as predictors. High classification accuracy confirms the clusters are well-separated.
  • Replication: run the analysis with different starting seeds (for k-means) or different algorithms to check whether the same basic structure emerges.

When to Use Cluster Analysis

  • Market segmentation: identifying distinct customer groups based on attitudes, needs, or behaviors for targeted marketing.
  • Product positioning: understanding which groups your product serves best and where opportunities exist.
  • Customer profiling: creating rich descriptions of your core audiences for creative teams and media planners.
  • Needs-based segmentation: grouping customers by unmet needs to inform product development.
  • Behavioral segmentation: identifying usage-based groups for loyalty programs, pricing tiers, or service models.

Common Mistakes to Avoid

  • Clustering on demographics: demographics describe who people are, not what they need. Cluster on attitudinal, behavioral, or needs-based variables and use demographics to profile the resulting segments.
  • Accepting the first solution without validation: k-means results vary with starting seeds and parameter choices. Run multiple solutions, compare them, and validate before treating any segmentation as final.
  • Creating too many segments: a statistically optimal 8-cluster solution is useless if the organization can't act on 8 different strategies. Prioritize actionability alongside statistical fit.

Quali-Fi Support

Quali-Fi's survey platform collects the attitudinal and behavioral data that powers cluster analysis, with 40+ question types including MaxDiff for needs prioritization. The platform's export to SPSS, R, and Python supports all major clustering algorithms, and the Intelligence product's pre-configured segmentation studies include cluster profiling and visualization as standard deliverables.

Frequently Asked Questions

How many respondents do I need for cluster analysis?

A common guideline is at least 100 respondents per expected cluster, with a minimum sample of 300-500. Smaller samples produce unstable clusters that don't replicate. If you're clustering on many variables, you need proportionally more respondents.

Should I cluster on factor scores or raw variables?

Factor scores are generally preferred when you have many input variables (15+) because they reduce noise, handle multicollinearity, and produce more stable solutions. For smaller variable sets (under 10), clustering on raw variables can work well.

How do I assign new customers to existing segments?

Use discriminant analysis or a classification algorithm trained on the original cluster solution. Input the new customer's scores on the clustering variables, and the model assigns them to the most likely segment. This enables ongoing segment assignment without re-running the cluster analysis.


Collect the attitudinal data that powers segmentation research. Start your free 14-day Quali-Fi trial, no credit card required.

Frequently Asked Questions

Related Guides

Put it into practice

Ready to apply this in your research?

Quali-Fi makes it easy to run surveys, conjoint studies, and more, all in one platform.