Module 1 · 11 min read · Free chapter
Correlation and regression: from relationship to prediction
Correlation measures how strongly two variables move together, from minus 1 to plus 1, and r squared gives the share of variance they have in common. It does not prove cause, and restricted range or outliers can distort it. Regression turns a relationship into a prediction equation, and multiple regression predicts one outcome from several predictors at once.
Start from zero: when two things move together
In a clinic, patients who feel more stigma about mental illness seem to miss more appointments. Students with higher intelligence scores seem to score higher on a reasoning task. In both cases two variables move together, and psychologists want to know two things: how strongly, and can one be used to predict the other?
Correlation answers the first question. It describes the direction of a relationship (positive, negative or zero) and its strength. Regression answers the second: it builds an equation to predict one variable from another, or from several others.
The earlier chapter tested differences between groups. This one studies relationships within a group, the other half of the syllabus item on statistics, and the half that most often appears in Mains as regression.
Deep dive: Pearson's r, direction and strength
A scatter diagram plots each person as a dot, with one variable on each axis; where a causal direction is assumed, the causal variable goes on the x-axis. The pattern of dots shows the relationship:
- Positive: as one variable rises, so does the other, as with intelligence and marks, or income and expenditure.
- Negative: as one rises, the other falls.
- Zero: no consistent pattern.
The correlation coefficient puts this into a number. The most common is Pearson's product-moment r, developed by Karl Pearson, a close associate of Francis Galton, for two continuous variables. It ranges from -1.00 to +1.00.
Values near either end show strong relationships, so +0.87 and -0.87 are equally strong; +0.24 or -0.24 is weak. The sign gives only the direction.
Pearson's r measures linear relationships, those that fall along a straight line, written Y = a + bX. Many psychological relationships are curvilinear. The Yerkes-Dodson law says performance is poor when stress is too low or too high and best when it is moderate; this inverted-U relation would give a misleadingly low r. Stevens' power law in psychophysics is another non-linear relation, though taking logarithms turns it into a straight line.
Strength is best read as common variance: square r and multiply by 100. If r is 0.78, the two variables share about 60.84 percent of their variance. The coefficient itself is not a percentage. Distinct psychological variables rarely share much variance, and because psychological measures are not perfectly reliable, Cohen and Cohen suggested that smaller correlations should also be taken seriously.
Critiques and debates: what can distort or mislead
The most quoted warning is that correlation does not necessarily imply causation. If X and Y are correlated, there are three possibilities:
- X causes Y.
- Y causes X.
- A third variable Z causes both.
Methods such as regression, path analysis and structural equation modelling use correlations to study causal ideas, but the unit is clear that causality is not produced by the statistics; it has to come from theory.
Even when no causal claim is made, the size of r can be distorted:
- Restricted range: a sports teacher selects 10 of 100 students on an athletic test and finds a very low correlation between the test and later game performance. This does not prove the test is useless; the selected ten were all high scorers, so the range was too narrow to show the relationship.
- Outliers: height and weight correlate at 0.95 in one data set, but a single extreme case, perhaps a very tall and very thin person, drops r to 0.45.
- Unreliability: if one or both measures are unreliable, the correlation shrinks. The disattenuated correlation estimates what r would be if both were perfectly reliable.
- Curvilinearity: if the relationship is not linear, r understates it; when high scores still go with high scores but not in a straight line, Spearman's rho is a useful option.
In small samples r is also a biased estimate of the population correlation, so an adjusted r is computed. For r = 0.937 in a sample of 10, adjusted r is about 0.929.
Deep dive: special, partial and multiple correlations
Not all data are continuous. A dichotomous variable has two mutually exclusive categories, such as male-female, rural-urban, or experimental-control group. Some dichotomies are true; others are a continuous trait measured crudely in two classes, such as pass-fail on an ability. This gives a family of special correlations:
| Coefficient | Data it fits |
|---|---|
| Point-biserial | One continuous variable, one true dichotomy |
| Phi | Two true dichotomies |
| Biserial | One continuous variable, one dichotomy with an underlying continuum |
| Tetrachoric | Two dichotomies, both with underlying continua |
| Spearman's rho | Ranked data, or when Pearson's assumptions fail |
Partial correlation handles the third-variable problem statistically. Suppose cholesterol and bank balance correlate positively among adults. Age raises both, because people save over the years and cholesterol also rises with age.
Partialling out age removes its influence from both variables, written r(AB.C), the correlation between A and B with C held constant. It can be understood as a correlation between two sets of residuals.
Semipartial (part) correlation removes the third variable's influence from only one of the two variables. Multiple correlation (R) correlates one variable with a linear combination of several others, such as academic achievement with intelligence and anxiety together; R squared is the proportion of variance in the first variable explained by the others.
Deep dive: simple regression and least squares
Prediction is part of everyday life: weather forecasts, election forecasts, guesses about how a friend will react. Regression is the statistical method psychologists use for it. The variable to be predicted, Y, is the criterion or dependent variable; the variable used to predict, X, is the predictor or independent variable. Unlike in an experiment, the predictor is not manipulated by the researcher.
The regression equation is Y = a + bX + e. Since many lines could be drawn through a scatter, the best one is chosen by ordinary least squares (OLS). The error of each prediction, Y minus predicted Y, is a residual. Because positive and negative residuals cancel out, OLS chooses the line that makes the sum of squared residuals as small as possible.
Each part of the output has a meaning:
- Slope b (regression coefficient): the change in Y for a one-unit change in X. In the clinic example, b = 0.199: each extra point on the stigma scale goes with about 0.2 more missed appointments, so about five points means one more missed appointment.
- Intercept a: the value of Y when X is zero. It is meaningful only if X values near zero exist. In the same example the lowest stigma score was 49 and a was negative, so reading it literally would mean minus six missed appointments, which is impossible.
- r squared: the proportion of variance in Y explained by X, also read as the proportional reduction in error. Here it was 0.299, about 30 percent, a good amount given the unreliability of psychological measures.
- F ratio: tests whether the slope differs from zero; if it is not significant, X cannot linearly predict Y.
- Standard error of estimate: the typical size of prediction errors.
Regression assumes independent pairs of scores, a linear relationship, constant error variance at every value of X, errors that are normally distributed and independent, and bivariate normality. If both variables are converted to z scores, the intercept becomes zero and the slope equals r, which shows how closely regression and correlation are linked.
Deep dive: multiple regression
Most behaviour has more than one cause. Academic achievement depends on intelligence, work habits, coaching and socio-economic status. Multiple regression predicts one criterion from several predictors at once:
- Y = a + b1X1 + b2X2 + ... + bkXk
Each b is the change in Y for one unit of its predictor, with the other predictors held constant. The multiple R squared is the proportion of variance in Y explained by all the predictors together, and an adjusted R squared corrects it for the number of predictors and the sample size.
The clinic example shows the logic. Ten patients' missed appointments were predicted from their stigma scores and the distance of the hospital from home:
- Multiple R squared = 0.81 (adjusted 0.76): together the two predictors explained 81 percent of the variation in missed appointments.
- Overall F = 14.98, p = 0.003: the model as a whole was significant.
- Stigma: b = 0.22, t = 4.61, p below 0.01: a significant predictor.
- Distance: b = 0.40, t = 1.93, p above 0.05: not significant in this small sample.
Predictors can be entered directly, all at once, or hierarchically, one after another in an order set by theory or by their statistical power to predict. Researchers choose multiple over simple regression when the criterion is plausibly influenced by several variables at once, when they want to know each predictor's unique contribution, and when they want to control one predictor while studying another.
Indian application: predicting who misses treatment
The unit's own regression example, stigma and missed hospital appointments, speaks directly to India's mental-health treatment gap. The predictor statements it lists are the kind of questions Indian researchers ask: does stigma about mental illness decide help-seeking, does social support help coping with mental-health problems, does stress lead to poorer health?
A district mental-health programme could use regression in this way:
- Step 1: choose a criterion, such as the number of follow-up visits missed in six months.
- Step 2: choose predictors from theory, such as stigma score, distance from the clinic and family support.
- Step 3: fit a multiple regression and read R squared to see how much of the problem these factors explain.
- Step 4: read each b to see which factor matters most when the others are held constant, and design the intervention around it.
Two cautions keep such use honest. If only registered patients are studied, the range of stigma is restricted, because the most stigmatised people may never reach the clinic. And a regression weight, however large, does not prove that stigma causes missed visits; that claim needs theory and, ideally, an intervention study.
Writing a 20-mark answer and practice
Take the question: 'Under what conditions would you choose multiple regression over simple regression? Explain its assumptions with examples.' Use this frame:
- Introduction: regression predicts a criterion from predictors; correlation measures direction and strength.
- Body heading 1, simple regression: Y = a + bX + e, least squares, slope, intercept, r squared.
- Body heading 2, when multiple regression: several plausible causes; unique contribution of each; control of one predictor while studying another; the stigma and distance example with R squared 0.81.
- Body heading 3, assumptions: independent pairs, linearity, constant error variance, normal and independent errors, bivariate normality.
- Critique: correlation is not causation; restricted range, outliers, unreliability; small samples and low power.
- Conclusion: multiple regression models the real, many-caused nature of behaviour, but causal claims still need theory.
These are practice questions written by us, not past papers. The UPSC questions on this topic are shown in the previous year questions panel.
| Angle | Question | Key points to cover |
|---|---|---|
| Concept (10 marks) | 'Correlation does not imply causation.' Explain. | X causes Y; Y causes X; third variable; theory. |
| Interpretation (15 marks) | What factors can distort the value of Pearson's r? | Restricted range; outliers; unreliability; curvilinearity. |
| Concept (10 marks) | Distinguish partial, semipartial and multiple correlation. | Cholesterol and age; one or both; R. |
| Method (10 marks) | When would you use point-biserial, phi or tetrachoric correlation? | True vs artificial dichotomies; examples. |
| Application (15 marks) | How can regression help plan a mental-health programme? | Criterion and predictors; R squared; b; cautions. |
How to use this table: define the term, give the equation or rule in words, add the clinic or cholesterol example, and end with a caution.
Quick revision
- Correlation: direction (positive, negative, zero) and strength; scatter diagram.
- Pearson's r: Karl Pearson, Galton's associate; continuous, linear; -1.00 to +1.00; not a percentage.
- Common variance = r squared: r 0.78 gives 60.84 percent; Yerkes-Dodson curve is curvilinear.
- Correlation is not causation: X to Y, Y to X, or third variable Z; cause comes from theory.
- Distortions: restricted range, outliers (0.95 to 0.45), unreliability (disattenuated r), curvilinearity; adjusted r.
- Point-biserial, phi, biserial, tetrachoric; Spearman's rho for ranks.
- Partial: third variable removed from both; semipartial: from one; multiple R: one with many.
- Regression Y = a + bX + e; OLS minimises squared residuals; slope b, intercept a, r squared, F.
- Assumptions: independent pairs, linearity, constant error variance, normal independent errors.
- Standardised slope = r; multiple regression R squared 0.81 example; direct or hierarchical entry.