Correlation and regression together gave 7 of 76 readable questions on 4 March 2023 and about 8 of 91 on 27 October 2023, and a scatter-diagram question appeared on 19 January 2025. SSC tests the invariance of r under change of origin and scale, the formula r = Cov/(σxσy), the limits of multiple correlation, partial correlation from three simple r values and Spearman's rank formula. The syllabus also names association of attributes, which is covered here with Yule's coefficient.
In brief
- Correlation measures the strength and direction of the linear relationship between two variables.
- A scatter diagram plots the pairs (x, y) and shows the direction and rough strength at a glance.
- Positive correlation means both variables move in the same direction, and negative correlation means they move in opposite directions.
- Karl Pearson's coefficient is r = Cov(X, Y)/(σx σy), and it always lies between -1 and +1.
- r = +1 is perfect positive, r = -1 is perfect negative and r = 0 means no linear relationship.
- r is a pure number and does not change with a change of origin or scale, apart from its sign when one variable is multiplied by a negative number.
- r = 0 does not prove independence, because the relationship may be curved, but independence does give r = 0.
- The coefficient of determination r² gives the share of the variation in Y explained by X.
- Spearman's rank correlation is ρ = 1 - 6Σd²/[n(n² - 1)], using differences d between ranks.
- For tied ranks, add (m³ - m)/12 to Σd² for each group of m ties.
- The probable error of r is 0.6745(1 - r²)/√n, and r is significant if it exceeds six times the probable error.
- Partial correlation r12.3 measures the link between X1 and X2 with the effect of X3 removed.
- Multiple correlation R1.23 measures how well X1 is predicted by X2 and X3 together, and it lies between 0 and 1.
- Attributes are qualitative characteristics, and their association is studied with class frequencies such as (AB) and (αβ).
- Two attributes are independent if (AB) = (A)(B)/N, positively associated if (AB) is larger and negatively associated if smaller.
- Yule's coefficient of association is Q = [(AB)(αβ) - (Aβ)(αB)]/[(AB)(αβ) + (Aβ)(αB)] and lies between -1 and +1.
Numbers to remember
| Number | What it is |
|---|---|
| -1 ≤ r ≤ 1 | range of the correlation coefficient |
| 0 ≤ R ≤ 1 | range of the multiple correlation coefficient |
| 6 | the constant in Spearman's rank formula |
| 0.6745 | multiplier in the probable error of r |
| r² | coefficient of determination; r = 0.8 explains 64% of variation |
| (m³ - m)/12 | tie correction per group of m tied ranks |
| -1 ≤ Q ≤ 1 | range of Yule's coefficient of association |
| 2^n | number of ultimate class frequencies for n attributes |
Key formulas and rules
- r = Cov(X, Y)/(σxσy)
- Karl Pearson.
- Cov = Σxy/n - x̄ȳ
- r = [nΣxy - ΣxΣy]/√{[nΣx² - (Σx)²][nΣy² - (Σy)²]}
- r(aX + b, cY + d) = ± r(X, Y)
- Sign flips only if ac < 0.
- PE = 0.6745(1 - r²)/√n
- ρ = 1 - 6Σd²/[n(n² - 1)]
- Spearman.
- r12.3 = (r12 - r13r23)/√[(1 - r13²)(1 - r23²)]
- Partial.
- R1.23² = (r12² + r13² - 2r12r13r23)/(1 - r23²)
- Multiple.
Common traps
- Thinking r changes when X and Y are shifted or multiplied by positive constants is wrong.
- Forgetting that r flips sign when one variable is multiplied by a negative number.
- Reading r = 0 as independence is wrong; it means no linear relation.
Solved examples
Q. If the correlation between X and Y is 0.3, then the correlation coefficient between 2X and 3Y is: (CGL 2022 Tier 2 Statistics, 4 Mar 2023)
Answer: 0.3
Step 1: r is independent of change of scale. Step 2: Both multipliers, 2 and 3, are positive. Step 3: So r(2X, 3Y) = r(X, Y) = 0.3.
Q. If the correlation coefficient between X and Y is 0.7, then the correlation coefficient between U = X - 5 and V = Y + 2 is: (CGL 2022 Tier 2 Statistics, 4 Mar 2023)
Answer: 0.7
Step 1: Subtracting 5 and adding 2 only change the origin. Step 2: r is independent of change of origin. Step 3: So r(U, V) = 0.7.
Q. If r12 = 0.7, r13 = 0.72 and r23 = 0.52, then r23.1 = (CGL 2022 Tier 2 Statistics, 4 Mar 2023)
Answer: 0.032
Step 1: r23.1 = (r23 - r12r13)/√[(1 - r12²)(1 - r13²)]. Step 2: Numerator = 0.52 - 0.504 = 0.016. Step 3: Denominator = √(0.51 x 0.4816) = √0.2456 ≈ 0.4956. Step 4: r23.1 ≈ 0.032.
What the full notes cover
- Scatter diagrams and kinds of correlation
- Karl Pearson's coefficient
- Probable error and significance
- Spearman's rank correlation
- Partial correlation (three variables)
- Multiple correlation (three variables)
- Classification of attributes
- Association of attributes