Correlation Analysis - Formula Sheet
Correlation Analysis formula sheet
Karl Pearson's coefficient
- \( \text{cov}(x,y) = \frac{1}{n}\sum (x_i - \bar{x})(y_i - \bar{y}) = \frac{1}{n}\sum x_i y_i - \bar{x}\bar{y} \)
- \( r = \dfrac{\text{cov}(x,y)}{\sigma_x \sigma_y} \)
- \( r = \dfrac{n\sum xy - \sum x \sum y}{\sqrt{n\sum x^2 - (\sum x)^2}\sqrt{n\sum y^2 - (\sum y)^2}} \)
- Short-cut: \( u = \frac{x - A}{c} \), \( v = \frac{y - B}{d} \), then the same formula in u and v; \( r_{uv} = r_{xy} \)
- \( -1 \le r \le 1 \); \( r_{xy} = r_{yx} \)
Spearman's rank correlation
- \( \rho = 1 - \dfrac{6\sum D_i^2}{n(n^2 - 1)} \), \( D_i = R_{1i} - R_{2i} \)
- Repeated ranks: add \( \frac{m^3 - m}{12} \) to \( \sum D_i^2 \) for each tied group
- \( \sum D^2 = 0 \Rightarrow \rho = 1 \)
Yule's coefficient
- \( Q = \dfrac{(AB)(\alpha\beta) - (A\beta)(\alpha B)}{(AB)(\alpha\beta) + (A\beta)(\alpha B)} \), \( -1 \le Q \le 1 \)
- \( (\alpha) = N - (A) \), \( (\beta) = N - (B) \), \( (A\beta) = (A) - (AB) \), \( (\alpha B) = (B) - (AB) \), \( (\alpha\beta) = (\alpha) - (\alpha B) \)
- Any negative cell frequency: data inconsistent
More for this chapter
Book Back Questions19 textbook MCQs · solved
Additional MCQs15 extra MCQs · solved
Practice TestInteractive · instant score
Book Back TestTest yourself on the textbook set
Additional MCQ TestTest yourself on the extra set
Study NotesConcepts & methods