2. Correlation In statistics, correlation and dependence are any of a broad class of statistical relationships between two or more random variables or observed data values The most familiar measure of dependence between two quantities is the Pearson product-moment correlation coefficient, or "Pearson's correlation." Data Applied also uses Pearson product-moment correlation coefficient as a measure of correlation
3. Pearson product-moment correlation coefficient It is a value between +1 and −1 inclusive It is widely used in the sciences as a measure of the strength of linear dependence between two variables Pearson's correlation coefficient between two variables is defined as the covariance of the two variables divided by the product of their standard deviations:
4. Calculation For a variable Xi where i varies from 1 to N by : mean (M)= summation (Xi)/N standard deviation (S) = (summation(Xi-M)^2/N)^(1/2) Substitute these values and get the correlation