When I saw the formulas for cosine similarity and Pearson (Moment) Correlation Coefficient one after another in What is collaborative filtering - IBM, I realised that the former is like the latter but taking uncentered second moments in place of the centred moments (covariance of x and y in PMCC numerator, and product of individual term variances as denominator of PMCC).