What is the formula for Pearson’s correlation coefficient
Welcome!
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.
This question has been flagged
3
Replies
141
Views
\[
r = \frac{n(\Sigma xy) - (\Sigma x)(\Sigma y)}{\sqrt{[n \Sigma x^2 - (\Sigma x)^2][n \Sigma y^2 - (\Sigma y)^2]}}
\]
where:
- \( r \) = Pearson's correlation coefficient
- \( x \) and \( y \) are individual variables
- \( n \) is the number of data points
\[
r = \frac{n(\Sigma xy) - (\Sigma x)(\Sigma y)}{\sqrt{[n \Sigma x^2 - (\Sigma x)^2][n \Sigma y^2 - (\Sigma y)^2]}}
\]
where:
- \( r \) = Pearson's correlation coefficient
- \( x \) and \( y \) are individual variables
- \( n \) is the number of data points
r=∑(xi−¯x)(yi−¯y)√∑(xi−¯x)2∑(yi−¯y)2