clustering.distance.pearson

Pearson's correlation coefficient is the covariance of the two variables
divided by the product of their standard deviations, and is commonly
represented by the Greek letter ρ (rho).

Developed by Karl Pearson from a related idea introduced by Francis Galton
in the 1880s, this product-moment correlation coefficient is widely used in
the sciences as a measure of the degree of linear dependence between two
variables. Early work on the distribution of the sample correlation
coefficient was carried out by Anil Kumar Gain and R. A. Fisher from the
University of Cambridge.

See: https://en.wikipedia.org/wiki/Pearson_product-moment_correlation_coefficient

correlation-coefficient

(correlation-coefficient xs ys)
Pearson product-moment correlation coefficient is a measure of the linear
correlation between two variables X and Y, giving a value between +1 and −1
inclusive, where 1 is total positive correlation, 0 is no correlation, and
−1 is total negative correlation.

distance

(distance xs ys)
Pearson's distance can be defined from their correlation coefficient as:

   d(X,Y) = 1 - ρ(X,Y)

Considering that the Pearson correlation coefficient falls between [−1, 1],
the Pearson distance lies in [0, 2].

squared-distance

(squared-distance xs ys)
The Pearson Squared distance measures the similarity in shape between two
profiles, but can also capture inverse relationships.

While most combinations of clustering algorithm and distance metrics provide
meaningful results, there are a few combinations that are difficult to
interpret. In particular, combining K-Means clustering with the Pearson
Squared distance metric can lead to non-intuitive centroid plots since the
centroid represents the mean of the cluster and Pearson Squared can group
anti-correlated objects. In these cases, visually drilling into clusters to
see the individual members through the use of Cluster Plots produce better
results.