Why Look for Clusters?
A scatterplot can show more than a single overall relationship. Its points may form two or more relatively concentrated clouds with visible gaps between them. Those clusters can be clues that the observations come from different sites, cohorts, or other subgroups. If we describe only the full collection of points, we may miss how its pieces are arranged.
Recognizing clusters is a visual observation, not proof that the data contain distinct populations or that a particular subgroup caused the pattern. The plot shows where observations lie; labels and knowledge of how the data were collected help determine whether the separation has a meaningful explanation.
Reading the Shape and Separation
To assess a possible cluster, inspect the plotted points across both axes. Ask whether several observations lie near one another and whether a visible gap separates them from another concentration of points. Describe where each cloud lies—for example, lower or higher on the predictor axis, the response axis, or both. Naming the axes and units makes the description specific.
A cluster need not be round, equally sized, or equally dense. One cloud may be wider than another, and the groups may be separated mainly horizontally, mainly vertically, or in both directions. A small gap in a sparse plot may also be less convincing than a clear separation between dense clouds. These judgments depend on the display, so axis scales and limits must not distort the apparent distances.
Before interpreting separation, check that the plot uses the intended observations and that the axes, units, and measurement definitions are comparable across them. A plotting or data-coding error can create an apparent split. If group labels are available, use them to see whether points in different clouds share a recorded feature such as site or cohort. A label can help explain the layout, but it does not by itself establish why the groups differ.
Worked Example: Two Clouds in a Hypothetical Scatterplot
Suppose a hypothetical plot shows study hours per week on the horizontal axis and quiz score out of 100 on the vertical axis. Six students have these plotted values: (1, 42), (2, 45), (3, 43), (7, 66), (8, 69), and (9, 67). Identify the visual structure without claiming an explanation for it.
The first three points form a compact cloud: their study hours range from 1 to 3 and their scores range from 42 to 45. The other three also form a compact cloud: their study hours range from 7 to 9 and their scores range from 66 to 69.
There is a horizontal gap between the observed study-hour ranges, from 3 to 7, and a vertical gap between the observed score ranges, from 45 to 66. This is a clear visual separation into two clouds. It would be accurate to describe one cloud as lower on both axes and the other as higher on both axes. The plot alone does not tell us whether the clouds correspond to different classes, selection processes, or any other subgroup.
Clusters and Pooled Summaries
When the observations have known group labels, a pooled summary combines observations across those groups. For example, the pooled mean of a response is the sum of all response values divided by the total number of observations. If each group has a different mean, the pooled mean is a weighted average: larger groups contribute more because they contain more observations. It need not describe either group particularly well.
For two groups, let their sample sizes be \(n_A\) and \(n_B\), and their response means be \(\bar{y}_A\) and \(\bar{y}_B\). The pooled mean \(\bar{y}\) is
This follows by adding the response totals. Group A's total is \(n_A\bar{y}_A\), and group B's total is \(n_B\bar{y}_B\); dividing their combined total by the combined sample size gives the formula. When the group means differ, the pooled mean lies closer to the mean of the larger group. If the group means are equal, the pooled mean equals both means.
Worked Example: A Pooled Mean Between Two Groups
In a hypothetical data set, four observations from site A have response values 8, 10, 10, and 12. Two observations from site B have response values 14 and 16. Calculate each site's mean and the pooled mean, then describe what the pooled mean represents.
For site A, the mean is
For site B, the mean is
There are six observations altogether, with a combined response total of \(40+30=70\). Therefore,
The pooled mean of 11.67 is 1.67 units above site A's mean and 3.33 units below site B's mean. Since the group means differ and site A is larger, the pooled mean is closer to site A's mean. It describes the average across all six observations, not the mean at either site. If the two site means had instead been equal, the pooled mean would equal both of them, regardless of the unequal group sizes.
What the Overall View Can Conceal
A pooled scatterplot places every observation together, which is useful for seeing the full data set. But it can hide the fact that points belong to separate clouds. Likewise, one pooled numerical summary cannot show the separate locations of those clouds. When a split is visible, describe it before summarizing the full set, and check whether recorded group information helps characterize it.
For instance, suppose points in one cloud come from one site and points in another come from a second site. A description of all points together might make the data sound like one uniform collection, even though observations are concentrated in two distinct regions. It is safer to state what is visible—such as “two separated clouds, with the first lower on both axes”—and then report what is known about group membership separately.
Worked Example: Clusters or Isolated Points?
Consider hypothetical plotted coordinates for a predictor \(x\) and a response \(y\): (2, 10), (3, 11), (4, 9), (8, 20), (9, 19), (10, 21), and (5, 30). Decide which observations form clusters and which are isolated.
The first three points form a small cloud: the \(x\)-values range from 2 to 4 and the \(y\)-values from 9 to 11. The next three form another: their \(x\)-values range from 8 to 10 and their \(y\)-values from 19 to 21. There is a clear gap between these two clouds on both axes.
The point (5, 30) is separated from the other observations, particularly vertically, but it is a single point rather than a cloud of several nearby observations. It is therefore better described as an isolated point, not as a third cluster. The distinction matters: a cluster suggests a concentration of observations, whereas an isolated point describes one observation standing apart. Neither description explains the reason for the point's location.
Checking Whether a Cluster Has an Explanation
Once a possible cluster is identified, look for context that could account for the separation. Relevant information might include site, cohort, measurement method, or a feature used to select participants. If group labels were recorded, color or shape can make them easier to compare with the visible clouds. The plot remains descriptive: matching a label to a cloud indicates an association between the label and the plotted location, not the reason for that association.
Also consider whether the apparent split is stable under an honest view of the data. A narrow axis range, misleading scale, or coding mistake may exaggerate or create separation. Conversely, a plot with many overlapping points can make concentrations harder to see. Clustering is a visual judgment, so report the observed pattern clearly rather than presenting a subjective boundary as a precise statistical fact.
Common Mistakes
- Calling every isolated point a cluster. A cluster is a cloud of multiple nearby observations, not simply a point that lies far from the rest.
- Assuming a cluster's cause. A separated cloud may line up with a site or cohort label, but the plot alone does not establish why it does.
- Describing only the pooled pattern. If the points form distinct clouds, state that structure rather than implying all observations are distributed uniformly.
- Misstating the pooled mean. With unequal group sizes, the pooled mean is closer to the larger group's mean only when the group means differ. If the group means are equal, the pooled mean equals both.
- Overstating a visual boundary. Clusters are recognized by visible concentrations and separation; there is no universal gap size that defines them.
Check Your Understanding
Answer each question using the ideas in this tutorial.
- In your own words, define a cluster in a scatterplot. Why is the definition descriptive rather than a fixed numerical rule?
- A plot has two groups of points separated mainly along the horizontal axis. What should a precise description name?
- Explain why one point far from the other observations is not automatically a cluster.
- Group A has 8 observations with a response mean of 12; group B has 2 observations with a response mean of 22. Which group's mean is closer to the pooled mean, and why?
- If two groups have the same response mean but different sample sizes, what is the pooled mean relative to those group means?