Source: https://www.sjsu.edu/faculty/gerstman/StatPrimer/correlation.pdf