CorrelationDistance

CorrelationDistance[u,v]

gives the correlation coefficient distance between vectors u and v.

Details

Examples

open allclose all

Basic Examples  (2)

The correlation distance between two vectors:

Correlation distance between numeric vectors:

Scope  (2)

Compute distance between any vectors of equal length:

Compute distance between vectors of any precision:

Applications  (1)

Cluster data using correlation distance:

Properties & Relations  (3)

Correlation distance includes a dot product scaled by norms:

Correlation distance includes a dot product scaled by Euclidean distances from the mean:

CorrelationDistance is equivalent to CosineDistance of vectors shifted by their means:

Wolfram Research (2007), CorrelationDistance, Wolfram Language function, https://reference.wolfram.com/language/ref/CorrelationDistance.html.

Text

Wolfram Research (2007), CorrelationDistance, Wolfram Language function, https://reference.wolfram.com/language/ref/CorrelationDistance.html.

CMS

Wolfram Language. 2007. "CorrelationDistance." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CorrelationDistance.html.

APA

Wolfram Language. (2007). CorrelationDistance. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CorrelationDistance.html

BibTeX

@misc{reference.wolfram_2024_correlationdistance, author="Wolfram Research", title="{CorrelationDistance}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/CorrelationDistance.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_correlationdistance, organization={Wolfram Research}, title={CorrelationDistance}, year={2007}, url={https://reference.wolfram.com/language/ref/CorrelationDistance.html}, note=[Accessed: 22-November-2024 ]}