implemented and documented correlation coefficient
implemented and documented correlation difference