Statistics for Management
Online M.Com · Sem 1
0% complete
0/9 lessons
Lesson 6 of 9
Pearson and Spearman Rank Correlation with Regression Lines
Statistics for Management
About the video
Correlation Analysis one shot|Business Statistics|Statistics|BBA|BCA|B.COM|B.TECH|Dream Maths
Dream Maths
Study notes
Karl Pearson's coefficient of correlation r measures the linear relationship between x and y. For individual series it can be computed with four methods: actual mean, assumed mean, actual data, and variance-covariance. Grouped series (intervals with frequencies) use a single assumed-mean formula with frequencies and step deviations.
Topics in correlation
- Karl Pearson's coefficient: the lengthy topic, with 5 formulas
- Spearman's rank correlation method
- Concurrent deviation method
- Individual series: x and y given with no frequencies; grouped series: class intervals with frequencies
Individual series methods
- Actual mean: r = Σ(x-x̄)(y-ȳ) / [√Σ(x-x̄)^2 · √Σ(y-ȳ)^2]
- Assumed mean: dx = x - A, dy = y - A; r = [nΣdxdy - Σdx·Σdy] / [√(nΣdx^2 - (Σdx)^2) · √(nΣdy^2 - (Σdy)^2)]
- Actual data: r = [nΣxy - Σx·Σy] / [√(nΣx^2 - (Σx)^2) · √(nΣy^2 - (Σy)^2)]
- Variance-covariance: r = Cov(x,y) / √(Var x · Var y) = Cov / (σx·σy), where Cov = Σ(x-x̄)(y-ȳ)/n
- Some books write x for x - x̄; the formula is the same
- Σdx^2 (sum of a column of squares) is not the same as (Σdx)^2 (square of the sum)
Choosing a method
- Use the actual mean when x̄ and ȳ are whole numbers
- Use an assumed mean when the means are decimals; the answer is the same either way
- Product moment correlation is Pearson's r
- When covariance and variances are given, use the variance-covariance formula directly
Grouped series
- Find the mid values of the intervals, then d = (mid - A)/class width (step deviation)
- Use the same assumed-mean formula with f: [NΣfdxdy - Σfdx·Σfdy] / [√(NΣfdx^2 - (Σfdx)^2) · √(NΣfdy^2 - (Σfdy)^2)]
- Build a correlation table: in each cell, multiply dx * dy * f
- Add frequencies along rows and columns to get the marginal f for x and for y
Key terms
- Karl Pearson's r
- Coefficient measuring the linear correlation between x and y.
- Assumed mean
- A chosen value A used to compute deviations d = x - A.
- Covariance
- Σ(x-x̄)(y-ȳ)/n.
- Spearman's rank correlation
- A correlation method based on ranks rather than raw values.
- Grouped series
- Data given as class intervals with frequencies.
Takeaways
- r = Cov(x,y)/(σx σy)
- Use the assumed mean method when the means are decimals
- Grouped data uses the assumed-mean formula with frequencies and step deviations
- Σd^2 is not the same as (Σd)^2
Contribute
Was this lesson helpful?
We read every rating and fix the weakest lessons first.