Business Statistics
Online B.Com · Sem 2
0% complete
0/9 lessons
Lesson 5 of 9
Karl Pearson and Spearman Rank Correlation
Business Statistics
About the video
Correlation Part-1 Karl Pearson Method | Business Statistics BCom/BBA
CWG for BCom
Study notes
Correlation (symbol r) measures the relationship between two variables. Karl Pearson's coefficient uses deviations from the means and the standard deviations of both series. Spearman's coefficient works on ranks.
Correlation basics
- Correlation shows how two variables move together; for example, if sugar prices rise, the demand for both sugar and tea leaves falls
- Graphic methods: scatter diagram and simple graph
- Mathematical methods: Karl Pearson, Spearman's rank, concurrent deviation and least squares
- Positive r means the variables move in the same direction; negative r means opposite directions
Karl Pearson (direct / actual mean method)
- r = Σdxdy / (N σx σy), where dx = X - X̄ and dy = Y - Ȳ
- σx = sqrt(Σdx²/N) and σy = sqrt(Σdy²/N)
- Equivalent form: r = Σdxdy / sqrt(Σdx² × Σdy²)
- Table columns: X, dx, dx², Y, dy, dy², dxdy
- Watch the signs: (-)(-) gives +, and (-)(+) gives -
Worked example (N = 10)
- ΣX = 330, so X̄ = 33; ΣY = 220, so Ȳ = 22
- Σdx² = 3528, so σx = sqrt(352.8) = 18.78
- Σdy² = 1442, so σy = sqrt(144.2) = 12.01
- Σdxdy = 2219
- r = 2219/(10 × 18.78 × 12.01) = 2219/2255.5 ≈ 0.98, a high positive correlation
Spearman's rank correlation
- Rank each series, then find D = R1 - R2 for every pair
- R = 1 - 6ΣD² / (n(n² - 1))
- Use it for qualitative or ranked data; R lies between -1 and +1
Key terms
- Correlation
- The degree of relationship between two variables.
- Karl Pearson's r
- Σdxdy/(Nσxσy), the product-moment correlation coefficient.
- Deviation dx
- X - X̄, the value minus its mean.
- Spearman's rank correlation
- 1 - 6ΣD²/(n(n²-1)), calculated from rank differences.
Takeaways
- r = Σdxdy/(N σx σy) = Σdxdy/sqrt(Σdx² Σdy²).
- Compute the means first, then the deviations, their squares and their products.
- r lies between -1 and +1, and its sign gives the direction of the relationship.
- Spearman: R = 1 - 6ΣD²/(n(n²-1)).
Contribute
Was this lesson helpful?
We read every rating and fix the weakest lessons first.