Pearson correlation coefficient

Pearson's correlation is a mathematical formula for calculating how similar two sets of data are (their correlation). The results of the formula are the correlation coefficients between the two sets. Most computer programs have a command to calculate this such as CORREL(dataset x: dataset y). The coefficient can be calculated by

Examples of scatter diagrams with different values of Pearson correlation coefficient (ρ).

Karl Pearson came up with the formula in the 1880s when he contributed to research in statistics.