CGL CompassSSC CGL Preparation PlannerSign in5 days free
Tier 2 notes

Correlation & Association of Attributes: SSC CGL Tier 2 notes summary

Correlation measures the strength and direction of the linear relationship between two variables.

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

Remember
  1. Correlation measures the strength and direction of the linear relationship between two variables.
  2. A scatter diagram plots the pairs (x, y) and shows the direction and rough strength at a glance.
  3. Positive correlation means both variables move in the same direction, and negative correlation means they move in opposite directions.
  4. Karl Pearson's coefficient is r = Cov(X, Y)/(σx σy), and it always lies between -1 and +1.
  5. r = +1 is perfect positive, r = -1 is perfect negative and r = 0 means no linear relationship.
  6. 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.
  7. r = 0 does not prove independence, because the relationship may be curved, but independence does give r = 0.
  8. The coefficient of determination r² gives the share of the variation in Y explained by X.
  9. Spearman's rank correlation is ρ = 1 - 6Σd²/[n(n² - 1)], using differences d between ranks.
  10. For tied ranks, add (m³ - m)/12 to Σd² for each group of m ties.
  11. The probable error of r is 0.6745(1 - r²)/√n, and r is significant if it exceeds six times the probable error.
  12. Partial correlation r12.3 measures the link between X1 and X2 with the effect of X3 removed.
  13. Multiple correlation R1.23 measures how well X1 is predicted by X2 and X3 together, and it lies between 0 and 1.
  14. Attributes are qualitative characteristics, and their association is studied with class frequencies such as (AB) and (αβ).
  15. Two attributes are independent if (AB) = (A)(B)/N, positively associated if (AB) is larger and negatively associated if smaller.
  16. Yule's coefficient of association is Q = [(AB)(αβ) - (Aβ)(αB)]/[(AB)(αβ) + (Aβ)(αB)] and lies between -1 and +1.

Numbers to remember

NumberWhat it is
-1 ≤ r ≤ 1range of the correlation coefficient
0 ≤ R ≤ 1range of the multiple correlation coefficient
6the constant in Spearman's rank formula
0.6745multiplier in the probable error of r
r²coefficient of determination; r = 0.8 explains 64% of variation
(m³ - m)/12tie correction per group of m tied ranks
-1 ≤ Q ≤ 1range of Yule's coefficient of association
2^nnumber 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

Watch out
  • 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