Sub topic 6
Spearman's g and Factor Analysis
Prerequisites and scope
This chapter assumes you know the mean, the standard deviation and the normal distribution. It also assumes you can read a correlation coefficient (r) as a number from -1 to +1. You do not need matrix algebra. The chapter covers how Charles Spearman noticed that mental tests correlate, how factor analysis turns that pattern into a single general factor (g), and where the idea is contested.
The observation behind g
In 1904 Spearman gave schoolchildren several tests: classics, French, English, mathematics, music and pitch discrimination. He found that scores on all of them were positively correlated. A child who did well in one subject tended to do somewhat well in the others, even when the subjects seemed unrelated.
This pattern is called the positive manifold. It is a robust finding. Almost any collection of reasonable cognitive tests, given to a broad sample of people, produces correlations that are all positive. They typically fall between about .20 and .60.
Spearman proposed an explanation. He said every test score reflects two things:
- g, a general factor that all the tests share.
- s, a factor specific to that one test, such as the particular skills of a vocabulary test.
This is the two-factor theory. If it is right, the correlation between any two tests exists only because both draw on g.
What a correlation matrix looks like
Suppose four tests give these correlations.
| Row | Vocabulary | Arithmetic | Matrices | Digit span |
|---|---|---|---|---|
| Vocabulary | 1.00 | .50 | .48 | .35 |
| Arithmetic | .50 | 1.00 | .54 | .39 |
| Matrices | .48 | .54 | 1.00 | .37 |
| Digit span | .35 | .39 | .37 | 1.00 |
Every off-diagonal entry is positive. Factor analysis asks whether a smaller number of hidden variables could produce this whole table.
What factor analysis does
Factor analysis is a statistical method that explains many observed correlations using a few unobserved variables called factors. A factor is a hypothetical quantity. You never measure it directly. You infer it from the way observed scores move together.
The key outputs are:
- Loading: the correlation between a test and a factor. A loading of .80 means the test is strongly tied to the factor.
- Communality: the share of a test's variance explained by the common factors. With one factor, it equals the squared loading.
- Uniqueness: the remaining variance, which is specific to the test plus measurement error.
In Spearman's one-factor model, the predicted correlation between two tests is the product of their loadings. If Vocabulary loads .75 and Arithmetic loads .70, the model predicts a correlation of .75 × .70 = .525. The observed value is .50, which is close.
The code below fits this one-factor idea to the matrix above. It uses the first principal component as a quick approximation of the general factor. Real analyses use dedicated factor-analysis routines, but this shows the logic.
import numpy as np
tests = ["Vocabulary", "Arithmetic", "Matrices", "Digit span"]
R = np.array([
[1.00, 0.50, 0.48, 0.35],
[0.50, 1.00, 0.54, 0.39],
[0.48, 0.54, 1.00, 0.37],
[0.35, 0.39, 0.37, 1.00],
])
eigenvalues, eigenvectors = np.linalg.eigh(R)
order = np.argsort(eigenvalues)[::-1]
eigenvalues = eigenvalues[order]
eigenvectors = eigenvectors[:, order]
# Loadings on the first component: eigenvector scaled by sqrt(eigenvalue)
loadings = eigenvectors[:, 0] * np.sqrt(eigenvalues[0])
if loadings.sum() < 0: # the sign of an eigenvector is arbitrary
loadings = -loadings
share = eigenvalues[0] / len(tests)
print("Share of total variance on first component:", round(share, 2))
for name, load in zip(tests, loadings):
print(f"{name:11s} loading = {load:.2f} communality = {load**2:.2f}")Running it gives a first component that accounts for roughly 59% of the total variance. All four loadings are positive, with Digit span lowest. That is a typical result: the first component is large, and every test loads on it.
Extracting g in practice
Three points matter when you read a real study.
- Different test batteries give similar g. Researchers have extracted g from different sets of tests and found that the resulting g scores correlate very highly, often above .90. This is evidence that g is not an artifact of one particular battery.
- Tests differ in how g-loaded they are. Matrix reasoning and vocabulary typically load more strongly on g than simple speed tasks or short-term memory tasks.
- g is a statistical summary, not a measured thing. The factor is defined by the correlation pattern. Whether it corresponds to a single biological property is a separate question.
The scree plot and how many factors to keep
When a correlation matrix is analyzed, each factor has an eigenvalue. An eigenvalue is a number indicating how much of the total variance that factor captures. Researchers plot the eigenvalues in descending order to make a scree plot. They look for the "elbow" where the curve flattens. Factors before the elbow are kept.
In cognitive data, the first eigenvalue is usually much larger than the rest. That is the statistical signature of g. A common rule is to keep factors with eigenvalues above 1 (the Kaiser rule), but this often retains too many, so analysts also use parallel analysis, which compares the eigenvalues with those from random data.
Beyond one factor: hierarchical models
Spearman's single-factor model does not fit every dataset. When you give a large battery, tests of similar content correlate with each other more than g alone predicts. Verbal tests cluster, spatial tests cluster, and memory tests cluster. These clusters are called group factors.
Two structures can describe this:
- Higher-order model: g sits above the group factors. g influences the group factors, and the group factors influence the tests.
- Bifactor model: g and the group factors are all separate, and each test loads directly on g and on one group factor.
These models often fit about equally well, so choosing between them is a matter of theory and convenience. The hierarchical idea leads directly to the Cattell-Horn-Carroll model, covered in a later chapter.
Common errors
- Treating g as the same as IQ. An IQ score is a composite of several subtests. It correlates strongly with g, but it also contains group-factor and test-specific variance.
- Treating a factor as a thing in the brain. A factor is a mathematical summary. Reifying it, meaning treating it as a concrete object, goes beyond what the analysis shows.
- Assuming a large g means other abilities do not matter. g can account for around half of the variance across a battery, which leaves a lot unexplained, and group factors can add predictive value for specific outcomes.
- Ignoring rotation. A factor solution is not unique. Rotating the axes gives different loadings with the same fit. A solution with one dominant factor can be rotated into several equal-sized factors. This is why critics argue that the data do not force a g interpretation.
- Ignoring the sample. Loadings depend on the range of ability in the sample. In a group restricted to high scorers, correlations among tests shrink, which can make g look weaker.
Debates about g
Defenders note that the positive manifold is replicated across many cultures, ages and test types, that g extracted from different batteries agrees, and that g predicts outcomes such as school and job performance. Critics make several points:
- Thurstone, whose work is the next chapter, argued that rotating the factors can yield several correlated abilities instead of one general one.
- Some explain the positive manifold without a single general ability. In process-overlap and network accounts, many separate cognitive processes overlap across tasks, and that overlap produces positive correlations even though no single cause exists.
- Factor analysis describes how scores covary in a group. It does not by itself show a causal mechanism within a person.
The statistics support g as a good summary of shared variance. They do not settle what g is.
Check your understanding
Exercise
Vocabulary loads .80 on g and Matrices loads .60 on g. Under Spearman's two-factor model, what correlation do you predict between the two tests, and what proportion of Matrices variance is explained by g?
Show answer
The predicted correlation is the product of the loadings: .80 × .60 = .48. The proportion of Matrices variance explained by g is the squared loading: .60² = .36, or 36%. The remaining 64% is specific variance plus measurement error.
Exercise
A researcher finds that a one-factor solution fits her battery of 12 tests poorly, because the three verbal tests correlate more with each other than g predicts. Name two model structures that could address this, and say what the extra factor represents.
Show answer
A higher-order model (g above group factors) or a bifactor model (g plus separate group factors) would work. The extra factor is a verbal group factor, which captures variance shared by the verbal tests beyond what g explains.
Exercise
Why is it a mistake to say "factor analysis proved that a single general intelligence exists in the brain"?
Show answer
Factor analysis summarizes correlations among test scores. It shows that one dominant dimension describes the shared variance well, but it does not identify a biological cause. Alternative accounts, such as overlapping processes, can produce the same positive manifold, and factor solutions can be rotated into different forms with identical fit.