Source: https://www.hec.unil.ch/rbichsel/corr3.pdf