ExamSaathi learning library · Government exams · SSC CGL quantitative foundations; published syllabus labelled 2024 · Quantitative aptitude
Partial and multiple correlation: three variables at a time
With three variables and their simple correlations r12, r13 and r23, work out a partial correlation such as r12.3, which holds the third variable fixed, and the multiple correlation R1.23, which shows how well two variables together explain the first.
Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.
You will learn to
- Calculate the first-order partial correlation coefficients r12.3, r13.2 and r23.1 from the three simple correlations of three variables.
- Explain what a partial correlation shows once the third variable is held fixed, and why it can be smaller than r12, larger, or of the opposite sign.
- Find the multiple correlation coefficient R1.23 from r12, r13 and r23, and read R1.23^2 as the share of the variation in variable 1 explained by variables 2 and 3 together.
- Check partial and multiple correlation results with their limits and the identity 1 - R1.23^2 = (1 - r12^2) x (1 - r13.2^2), and spot an impossible set of three correlations.
Before you start
Many real questions involve three measurements on the same units rather than two. Across the districts of Punjab, for instance, wheat yield, fertiliser use per hectare and the season's rainfall all rise and fall together. Number the variables 1, 2 and 3, and write their simple correlations as r12, r13 and r23. Each is an ordinary Karl Pearson coefficient; here they are given, not worked out from raw data. They are called zero-order correlations because no variable is held fixed, and the order of the figures does not matter, so r21 is the same as r12. The figures in a symbol carry meaning. In r12.3, the two figures before the dot name the pair being correlated and the figure after the dot names the variable held fixed. In R1.23, the figure before the dot is the variable being explained and the figures after the dot are the two variables used together to explain it. All data in this lesson are invented for practice.
The partial correlation r12.3
Good rainfall can raise both the yield and the amount of fertiliser farmers choose to apply, so part of the link between yield and fertiliser may really be rainfall at work. The partial correlation r12.3 measures what is left of the link between variables 1 and 2 after the part each shares with variable 3 is taken out; think of it as the correlation among districts that all had the same rainfall. The formula is r12.3 = (r12 - r13 x r23) / sqrt((1 - r13^2) x (1 - r23^2)). The other two first-order partials follow the same pattern: r13.2 = (r13 - r12 x r23) / sqrt((1 - r12^2) x (1 - r23^2)) and r23.1 = (r23 - r12 x r13) / sqrt((1 - r12^2) x (1 - r13^2)). To build any of them, begin the top line with the correlation of the chosen pair and subtract the product of the two correlations that involve the fixed variable. For the bottom line, take 1 minus the square of each of those same two correlations, multiply the two results and take the square root. Like every correlation, a partial correlation lies from -1 to +1.
Smaller, larger or reversed
A partial correlation can be smaller than r12, larger, or of the opposite sign, and the top line r12 - r13 x r23 shows which. The bottom line is never more than 1, so dividing by it can never pull a value closer to 0. When r13 x r23 has the same sign as r12 but is smaller in size, the subtraction eats into r12 and the partial often shrinks: r12 = 0.72, r13 = 0.6 and r23 = 0.8 give r12.3 = 0.5. When r13 x r23 equals r12, the partial is exactly 0, so the whole simple link ran through variable 3. When r13 x r23 has the same sign as r12 and is larger in size, the partial changes sign: r12 = 0.16 with r13 = r23 = 0.6 gives r12.3 = -0.3125. When r13 x r23 has the opposite sign to r12, or is 0, the top line is at least as big as r12 in size, so the partial is too; taking variable 3 out removes something that was masking the link or only adding scatter. With r23 = 0, for example, r12.3 = r12 / sqrt(1 - r13^2), which is larger in size than r12 whenever neither r12 nor r13 is 0. So never guess a partial from r12 alone.
The multiple correlation R1.23
The multiple correlation coefficient R1.23 answers a different question: how closely can variable 1 be matched by the best straight-line combination of variables 2 and 3 working together? It is R1.23 = sqrt((r12^2 + r13^2 - 2 x r12 x r13 x r23) / (1 - r23^2)), always the positive root, so it runs from 0 to 1 and has no sign. Bringing in a second explaining variable can never make the match worse, so R1.23 is never less than the larger of |r12| and |r13|. Its square is the share of the variation in variable 1 explained by 2 and 3 together: R1.23 = 0.75 means R1.23^2 = 0.5625, so 56.25 percent is explained and 43.75 percent is not. A useful identity ties the two ideas together: 1 - R1.23^2 = (1 - r12^2) x (1 - r13.2^2). Read it as the share that variable 2 alone leaves unexplained, multiplied by the fraction of that remainder still unexplained once variable 3 joins. In the special case r23 = 0 the formula shrinks to R1.23^2 = r12^2 + r13^2, because the two explaining variables then carry separate information.
Spotting an impossible set
Three numbers can each lie between -1 and +1 and still be impossible together. If variables 1 and 2 are both tied closely to variable 3, they cannot be strangers to each other. Holding r13 and r23 fixed, r12 must lie within r13 x r23 plus or minus sqrt((1 - r13^2) x (1 - r23^2)). With r13 = r23 = 0.9, for example, that range runs from 0.81 - 0.19 = 0.62 up to 0.81 + 0.19 = 1, so a reported r12 of 0.3 cannot be right. A quicker test needs no range: work out any partial correlation, or R1.23^2. A partial outside -1 to +1, or an R1.23^2 above 1, proves the set is impossible, and these checks always fail together. The cause is usually a miscopied sign or a slip in one of the three simple correlations, so recheck those before going further.
Common mistakes
Using the wrong correlations in the bottom line of a partial: for r12.3 they are r13 and r23, the two that involve the fixed variable 3, never r12. Leaving out the square root in that bottom line. Subtracting r12 x r13 when finding r12.3; the product taken away always pairs the two correlations that contain the fixed variable. Giving R1.23 a minus sign, or quoting R1.23^2 when R1.23 was asked for, or the other way round. Taking R1.23 to be r12 + r13, their average, or simply the larger of the two. Using R1.23^2 = r12^2 + r13^2 when r23 is not 0. Assuming that a partial is always smaller than the simple correlation. Carrying on with a partial above 1 instead of going back to the three figures.
A routine for three-variable questions
1. Number the variables so that 1 is the one of main interest, and list r12, r13 and r23. 2. Check that each lies from -1 to +1. 3. For a partial, name the pair and the fixed variable; top line = the pair's own r minus the product of the two r's that contain the fixed variable, bottom line = sqrt of (1 - first square) x (1 - second square) for those same two. 4. For R1.23, work out r12^2 + r13^2 - 2 x r12 x r13 x r23, divide by 1 - r23^2 and take the positive root. 5. Sense-check: every partial lies from -1 to +1, R1.23 lies from the larger of |r12| and |r13| up to 1, and 1 - R1.23^2 matches (1 - r12^2) x (1 - r13.2^2). 6. Say what the result means: how much of the link survives with the third variable fixed, or what share of variable 1 the other two explain.
Worked examples
Across 20 wheat-growing districts of Punjab, the yield per hectare (variable 1), the fertiliser used per hectare (variable 2) and the season's rainfall (variable 3) gave r12 = 0.72, r13 = 0.6 and r23 = 0.8. Find the partial correlation r12.3 and say what it shows.
- The variable held fixed is 3, so the two correlations that involve it are r13 = 0.6 and r23 = 0.8.
- Top line: r12 - r13 x r23 = 0.72 - 0.6 x 0.8 = 0.72 - 0.48 = 0.24.
- Bottom line: 1 - r13^2 = 1 - 0.36 = 0.64 and 1 - r23^2 = 1 - 0.64 = 0.36, so sqrt(0.64 x 0.36) = 0.8 x 0.6 = 0.48.
- r12.3 = 0.24 / 0.48 = 0.5.
- Sense-check: 0.5 lies from -1 to +1, and it is below r12 = 0.72 because r13 x r23 = 0.48 has the same sign as r12 and was taken away.
Answer: r12.3 = 0.5: among districts with the same rainfall, yield and fertiliser use are still positively linked, but more weakly than r12 = 0.72 suggests, because part of that simple link came through rainfall.
For 40 mango orchards near Ratnagiri, the yield per tree (variable 1), the number of waterings in the season (variable 2) and the manure given per tree (variable 3) gave r12 = 0.6, r13 = 0.6 and r23 = 0.28. Find the multiple correlation R1.23 and the share of the variation in yield that waterings and manure explain together, then confirm the result with r13.2.
- Squares and product: r12^2 = 0.36, r13^2 = 0.36 and 2 x r12 x r13 x r23 = 2 x 0.6 x 0.6 x 0.28 = 0.2016.
- Top: 0.36 + 0.36 - 0.2016 = 0.5184. Bottom: 1 - 0.28^2 = 1 - 0.0784 = 0.9216.
- R1.23^2 = 0.5184 / 0.9216 = 0.5625, so R1.23 = sqrt(0.5625) = 0.75.
- Share explained = 0.5625, or 56.25 percent; the other 43.75 percent of the variation in yield is left unexplained.
- Check with the identity: r13.2 = (0.6 - 0.6 x 0.28) / sqrt((1 - 0.36) x (1 - 0.0784)) = 0.432 / (0.8 x 0.96) = 0.432 / 0.768 = 0.5625. Then (1 - 0.36) x (1 - 0.5625^2) = 0.64 x 0.68359375 = 0.4375, which equals 1 - 0.5625.
- R1.23 = 0.75 is above both |r12| = 0.6 and |r13| = 0.6, as it must be.
Answer: R1.23 = 0.75, so waterings and manure together explain 56.25 percent of the variation in yield per tree.
For July in 24 towns of Kerala, a trainee reports three correlations: umbrella sales (variable 1) with sunny days (variable 2), r12 = 0.12; umbrella sales with rainfall (variable 3), r13 = 0.6; and sunny days with rainfall, r23 = -0.8. Show that these figures cannot all be right.
- Each figure lies from -1 to +1, so test the set as a whole by working out r12.3.
- Top line: r12 - r13 x r23 = 0.12 - 0.6 x (-0.8) = 0.12 + 0.48 = 0.6.
- Bottom line: sqrt((1 - 0.36) x (1 - 0.64)) = sqrt(0.64 x 0.36) = 0.48.
- r12.3 = 0.6 / 0.48 = 1.25, which lies outside -1 to +1.
- Confirm with R1.23^2 = (0.0144 + 0.36 - 2 x 0.12 x 0.6 x (-0.8)) / 0.36 = (0.3744 + 0.1152) / 0.36 = 0.4896 / 0.36 = 1.36, which is more than 1.
- Allowed range: r12 must lie within r13 x r23 = -0.48 plus or minus 0.48, that is from -0.96 to 0. Rain lifts umbrella sales and cuts sunny days, so sales and sunny days cannot rise together.
Answer: r12.3 = 1.25 and R1.23^2 = 1.36 are both impossible, so at least one figure is wrong; with r13 and r23 as given, r12 would have to lie from -0.96 to 0.
Practice checks
- Three variables have r12 = 0.6, r13 = 0.8 and r23 = 0.6. The partial correlation r23.1, the link between variables 2 and 3 with variable 1 held fixed, is:
- Over 30 days, a stall in a Nagpur market recorded cold-drink sales (variable 1), tea sales (variable 2) and the number of shoppers in the market (variable 3). It found r12 = 0.16, r13 = 0.6 and r23 = 0.6. The partial correlation r12.3 is:
- On tomato farms near Kolar, yield (variable 1) has r12 = 0.7 with the number of irrigations (variable 2) and r13 = 0.24 with hours of sunshine (variable 3), while irrigations and sunshine are uncorrelated, r23 = 0. The multiple correlation R1.23 is:
- In a study of Patna households, monthly food spending (variable 1) has r12 = 0.6 with income (variable 2), and the partial correlation between food spending and family size (variable 3), with income held fixed, is r13.2 = 0.5. What share of the variation in food spending do income and family size explain together?
- For three variables, r12 = 0.7 and r13 = -0.4, but the value of r23 has been lost. Which of these could still be the multiple correlation R1.23?
Sources checked
- SSC CGL Scheme and Syllabus, labelled 2024 — Tier-II Paper-II Statistics (Correlation and Regression: multiple and partial correlation, for three variables only); not verified as the full 2026-cycle syllabus
- Wikipedia, Partial correlation — Partial correlation as the correlation between two variables after the effect of a controlling variable is removed, ranging from -1 to 1, with the first-order formula written in terms of the three pairwise correlations; mathematical relationships only
- Wikipedia, Coefficient of multiple correlation — The coefficient of multiple correlation R, between 0 and 1, as the correlation between a variable and its best linear prediction from the other variables, with R^2 computable from the correlations among all the variables and read as the share of variance explained; mathematical relationships only