How to choose variables, read factor loadings, name factors and segments, choose the number of clusters, and act on the warnings of the cluster analysis module.
The module computes the numbers. The judgement is yours: which questions to use, how many factors and clusters to keep, and what to call them. This page collects what helps with those decisions. The steps themselves are in Cluster Analysis in DataTile, and the formulas in The maths behind the module. The examples come from the "Social media tribes" analysis of that guide.
The thresholds the module applies are stated as such. Ranges marked as a convention are common practice in survey research, not rules of the module.
Choosing what to segment on
The variables decide the segments. No setting on the later steps repairs a poor choice here.
|
Do |
Why |
|---|---|
|
Start from the decision the segments must serve |
Segments for media planning need media behaviour. Segments for product development need needs and attitudes. |
|
Use questions of one kind as the basis |
Mixing behaviour, attitudes and demographics gives clusters that are hard to describe in one sentence. |
|
Keep demographics for describing the segments |
Age and gender used as a basis return age and gender groups. Used afterwards in a crosstab, they show whether the segments are real. |
|
Ask each theme several times |
A factor needs two or three related variables. Three to five statements per theme is a convention that works. |
|
Prefer fewer, related questions |
Each unrelated theme adds a factor, and every added factor makes the clusters less distinct. |
|
Use questions asked of everyone |
A respondent without a usable answer to every variable is left out. Check Valid N on step 1. |
Leave out:
-
Summary categories of a multiple-response question, such as "Any of these" and "None of these". They repeat the other categories.
-
Variables that are determined by others: a total and its parts, shares that add up to 100%.
-
Categories or variables that almost nobody or almost everybody chose. They cannot tell people apart.
-
Questions from different rotated modules of a questionnaire. Few respondents answered both.
Preparing the variables
-
Rating scales. Set their measure to Ordinal so they enter as a scale. Check that the category codes follow the order of the scale.
-
"Don't know" on a scale. Untick it in the categories panel on step 1. Left in use, its code is read as a score: a "Don't know" coded 6 on a 1 to 5 scale counts as beyond the strongest answer. Unticked, these respondents are left out.
-
Direction. Scales may run in either direction: every variable is standardised. Direction matters when you read the result. With "Strongly agree" coded 1, a low average means agreement.
-
Yes/no items. Use the multiple-response variable that holds them, or set each item to Ordinal.
-
Single-choice variables without scores. They enter the clusters directly and count as much as one factor each. Use them sparingly: the clusters tend to follow their categories.
-
Weight. Use the survey's weight, so the segment sizes agree with your tables.
-
Filter. Segment the people you will describe, for example, the users of a category.
Reading the factor step
KMO and Bartlett's test
Both ask whether factors make sense for these variables. The module warns when KMO is below 0.5 or when Bartlett's test gives p of 0.05 or above.
|
KMO |
Common reading (a convention, after Kaiser) |
|---|---|
|
Below 0.5 |
Not adequate: the variables share too little variance. The module warns. |
|
0.5 to 0.7 |
Weak to mediocre. Factors exist but may be unstable. |
|
0.7 to 0.8 |
Good enough for most survey work |
|
0.8 and above |
Good. The example scores 0.83. |
With a large sample Bartlett's test nearly always passes, so a pass says little. A fail says a lot: the variables are hardly related, and factors would be arbitrary.
How many factors to keep
-
Start from the suggestion. It keeps the factors with an eigenvalue above 1: each explains more than a single variable does.
-
Look at the scree plot. Keep the points before the curve flattens. A factor just under 1 that sits before the bend may be worth keeping, and one just above 1 on the flat part may not.
-
Check that each factor can be named. A kept factor should have at least two variables that load highest on it. A factor with a single variable is that variable.
-
Try one more and one fewer. Click the neighbouring point on the scree plot and read "Your factors" again. Keep the solution you can explain.
-
Remember the next step. More factors mean more dimensions for the clusters and usually a lower silhouette.
Variance explained has no threshold. Rating scales on a few themes often reach 50 to 65%. Yes/no data explains less: the example keeps 46.9% with three factors.
Reading the loadings
A loading is the correlation between a variable and a factor, from −1 to 1. Its square is the share of the variable's variance that the factor explains.
|
Absolute loading |
Reading (a convention) |
|---|---|
|
0.7 and above |
The variable defines the factor |
|
0.5 to 0.7 |
Strong: use it to name the factor |
|
0.3 to 0.5 |
Moderate: it supports the factor but does not define it |
|
Below 0.3 |
Negligible. The table hides loadings below 0.2 by default. |
What to look for:
-
The bold value in each row. It is the factor the variable belongs to most. Read down a column to see which variables make up a factor.
-
Sign. A positive loading means the variable rises with the factor; a negative one means it falls. In the example, Reddit and Discord load −0.27 and −0.32 on "Everyday messaging": their users are somewhat less likely to use Facebook and WhatsApp.
-
Factors with both signs. A factor with high positive and high negative loadings is a contrast. Name both ends, for example, "Price versus quality".
-
Cross-loadings. A variable with two loadings of similar size belongs to neither factor clearly. Pinterest loads 0.35 on F1 and 0.39 on F2. Do not name a factor after such a variable.
-
Variables that load nowhere. A row with nothing above about 0.4 adds little to the factors. Consider removing the variable on step 1.
Two controls make the pattern easier to see: raise Hide loadings below to 0.3 or 0.4, and tick Group by factor, largest first.
The sign of a whole factor is arbitrary. DataTile orients each factor so that its largest loading is positive. Other software may show the same factor with every sign reversed. The clusters are the same either way.
Naming factors
-
Name what the top variables have in common. Use the two to four highest loadings. Ignore the moderate ones.
-
Name the high end. A high factor score should mean more of what the name says.
-
Keep it to two or three words. Names are used as axis titles on the map and as column headings.
-
Describe, do not interpret. "Visual apps" says what was measured. "Young lifestyle" claims something the variables did not ask.
-
Test the name. Could a colleague guess the main variables from it?
|
Factor |
Highest loadings |
Name |
Why this name |
|---|---|---|---|
|
F1 |
Reddit 0.69, Discord 0.65, X/Twitter 0.59, LinkedIn 0.57, Telegram 0.56, Threads 0.55 |
Discussion networks |
Text and community platforms used by a minority |
|
F2 |
Snapchat 0.80, TikTok 0.79, Instagram 0.68 |
Visual apps |
Photo and short-video platforms |
|
F3 |
Facebook/Messenger 0.70, WhatsApp 0.51 |
Everyday messaging |
The two most widely used apps, for keeping in touch |
A factor keeps its name as long as its highest-loading variable stays the same. When that changes, the name is reset, and a notice says so.
Choosing the number of clusters
There is no single correct number. The recommendation is a sound starting point, and the final choice weighs statistical quality against usefulness.
What the three measures say
|
Measure |
How to use it |
|---|---|
|
Silhouette |
Compares numbers of clusters: higher is clearer. Below 0.25, the module reports no clear structure. A common reading of the scale (a convention, after Kaufman and Rousseeuw): above 0.7 strong, 0.5 to 0.7 reasonable, 0.25 to 0.5 weak. Survey data rarely exceeds 0.5. |
|
Smallest cluster |
A cluster under 5% is hard to describe reliably and hard to find again in the next wave. Numbers with such a cluster are not recommended. Look at its n as well as its share. |
|
Explained variance |
Always grows with more clusters, so it cannot choose the number. Look for the point where the gain becomes small. In the example, it gains 13 points from 3 to 4 clusters, 4 from 6 to 7, and 2 from 7 to 8. |
With only two or three factors, even data without real groups can score a silhouette above 0.25. A passing score is not proof. Read the profiles and check the segments against other questions before you rely on them.
A way to decide
-
Open the recommended number and read its profiles.
-
Click the bars of the neighbouring numbers. Going up by one usually splits one cluster in two. Ask whether the two parts are different enough to treat differently.
-
Prefer the solution in which every cluster has its own story and is large enough to act on.
-
Consider who will use the segments. Four to eight segments is what most teams can remember and use.
-
Settle the number before you name the clusters: names are reset when the number changes.
Reading the profiles
-
Start at the top. The rows are ordered by η², so the first rows are where the clusters differ most. A variable with a low η² is nearly the same in every cluster.
-
Use Index to find what is distinctive. The shading shows at a glance what a cluster does more (blue) or less (orange) than the total.
-
Use Average to say how common it is. An index is relative. In the example "On every platform" indexes 682 on Discord, which is 85% of the cluster against 12.5% of everyone. A high index on a rare item can still be a small number.
-
Mind items that almost everyone has. WhatsApp is used by 85% of the sample, so no cluster can index above 117 on it. Look at the orange cells instead: who does not use it.
-
Use standardised scores to compare variables on different scales. It puts a 5-point scale and a count on the same footing.
-
Use Standard deviation to see agreement. A small value means the members of the cluster answer alike.
Shading thresholds used by the module:
|
Metric |
Well above |
Above |
Below |
Well below |
|---|---|---|---|---|
|
Index |
150 or more |
120 or more |
80 or less |
67 or less |
|
Standardized score |
1 or more |
0.5 or more |
−0.5 or less |
−1 or less |
When the largest η² in the table is small, the caption above the table says that the clusters differ little on these variables. A profile then describes only a small part of what sets respondents apart.
Naming segments
-
Describe each cluster first. Write down two or three things it does more than the total and one or two it does less. The name follows from that.
-
Name what was measured. A segment built on app use is named after app use. Use age only if age was a basis.
-
Make the names work as a set. Each should tell its cluster from the others. Two names that could be swapped are not doing their job.
-
Keep them short. Two or three words. The names become column headings in tables.
-
Stay neutral and respectful. Segment names are shown to clients and sometimes to the people they describe. "Light users" is safer than "Laggards".
-
Check every name against the numbers. If the name says "professionals", the profile should show it.
|
Name |
Evidence in the profile (share using the app; total in brackets) |
|---|---|
|
Friends and family |
Facebook 99.5% (77%), WhatsApp 98.5% (85%); TikTok 13% (50%), Snapchat 3% (34%) |
|
Light users |
Below the total on all 12 apps: WhatsApp 55%, Facebook 48%, Instagram 24% |
|
All-rounders |
Facebook and WhatsApp near 100%, TikTok 92%, Instagram 93%, Snapchat 66%; Reddit and Discord near 0% |
|
Visual natives |
TikTok 87%, Instagram 89%, Snapchat 80%; Facebook 27% (77%) |
|
Connected professionals |
LinkedIn 69% (25%), X/Twitter 75% (31%), Telegram 49% (15%), on top of the mainstream apps |
|
On every platform |
Above the total on all 12 apps: Reddit 90%, Discord 85%, LinkedIn 84%, Telegram 78% |
|
Reddit and Discord crowd |
Reddit 81% (16%), Discord 72% (13%); Facebook 34% (77%) |
A cluster that still has its default name is outlined on step 3 and listed among the checks on step 4.
Validating the segments
-
Cross them with questions that were not used. Use the crosstab on step 4. Real segments differ on demographics and on other behaviour. In the example 52% of "Visual natives" are aged 16 to 24, against 2% of "Friends and family".
-
Test their stability. Move the number of clusters by one, or remove a variable. The main groups should survive.
-
Check that each can be acted on. A segment should be large enough to matter and different enough to be treated differently.
-
Ask someone who knows the market. Segments that surprise nobody are often right. Segments that nobody recognises need a second look.
-
Keep the report. The Excel workbook from step 4 records the settings, so a colleague can repeat the analysis.
Warnings and checks
The module says when an analysis is weak, on the step where you decide. A step that needs attention has an amber mark in the list of steps. Step 4 repeats the open points under Before you save. None of them blocks saving.
|
Message |
Step |
What it means |
What to do |
|---|---|---|---|
|
Most respondents are left out |
1 |
Under half of the respondents in the filter are used. The segments describe those who are used, not the whole sample. |
The callout lists the variables that miss most answers. Remove them, include more of their categories, or filter to the respondents who were asked. |
|
An amber mark beside Valid N |
1 |
Under 90% of the respondents in the filter have a usable answer to this variable. |
Check whether the question was asked of everyone. |
|
Single-choice variables enter the clusters directly |
1, 2 |
Information. These variables have no scores, so they skip the factors. |
If one of them is a rating scale, set it to Ordinal. |
|
These variables share too little variance for reliable factors |
2 |
KMO is below 0.5. |
Add variables that belong together, or remove unrelated ones. |
|
Bartlett's test is not passed |
2 |
p is 0.05 or above: the variables may not be related enough for factors. |
As above. |
|
KMO and Bartlett's test cannot be computed |
2 |
Some variables are determined by others, such as shares that add up to 100% or a summary category. |
Remove one of them on step 1. |
|
Variables or categories left out of the factors |
2 |
Information. Every respondent gives the same answer, so the item cannot tell people apart. |
Nothing, or remove it. |
|
With one factor the cluster step shows no map |
2, 3 |
Information. The map needs two factors. |
Keep more factors if the step offers them, or add related variables. |
|
The data shows no clear cluster structure |
3 |
No number of clusters reaches a silhouette of 0.25, or those that do have a cluster under 5%. No number is recommended. |
Segment on fewer, related questions, use more respondents, or change the variables. The banner says which applies. |
|
The number of clusters in use has no clear structure |
3 |
The number you chose scores below 0.25 while another number is recommended. |
Use the recommended number, or accept the weaker solution knowingly. |
|
A cluster holds under 5% of the respondents |
3 |
The smallest cluster of the number in use is too small to describe reliably. |
Choose fewer clusters. |
|
The quality of the clusters could not be measured |
3 |
Too few respondents, or too little variety in the answers, to compare numbers of clusters. |
Widen the filter or add variables with more varied answers. |
|
The factors do not separate these clusters |
3, map |
Every cluster centre lies close to the sample mean on every factor. The clusters differ on variables that entered directly. |
Read the profiles instead of the map. |
|
Cluster names and colors were reset, or factor names were reset |
2, 3 |
The clusters or factors changed, so the old names no longer describe them. |
Name them again. |
|
Clusters have no name, or the analysis still has its default name |
4 |
The saved variable would carry default names. |
Name the clusters on step 3 and rename the analysis. |
|
Out of date |
4 |
The clusters or the data changed after the variable was saved or published. |
Update the variable. |
The warning on step 1 names the variables that cause the loss and offers to remove each:
Questions and answers
Will I get the same segments if I open the analysis tomorrow?
Yes. The same variables, categories, filters, weights, and data give the same factors and the same clusters. When the data of the project changes, the clusters can change, and a saved variable is marked out of date.
Why do the cluster sizes not add up to the number of respondents used?
With weights, the cluster sizes are weighted, as in a crosstab. The number of respondents used, in the filter and left out are counts of people.
Which respondents are in no cluster?
Those left out in step 1: they miss a usable answer to a selected variable or, with a weight, have no usable weight. In the saved variable, they are in no category.
Why is a question missing from the factors?
It is a single-choice variable without scores, so it enters the clusters directly. If it is a scale, set its measure to Ordinal.
May I keep more factors than suggested?
Yes. The suggestion is a starting point. The range beside the field shows how many can be kept.
Why is no number of clusters recommended?
No number passes both rules: a silhouette of at least 0.25 and a smallest cluster of at least 5%. The step then says that the data shows no clear structure. Unless you choose a number yourself, the analysis uses the number with the highest silhouette among those without a cluster under 5%, or 2 when there is none.
My names disappeared. Why?
Names belong to the clusters they were assigned to. When the clusters change, the old names would describe different people, so they are removed. A change in the number of clusters or factors asks before it does this.