RainbowStats™ · Statistics commands

CORR

Compute a correlation matrix or pairwise correlation.

Syntax

CORR(listOrMatrix)
CORR(firstSeries,secondSeries)

Example or template

CORR(LOGDIFF(INDPRO),LOGDIFF(PAYEMS))

Details

The unified class includes both implemented unary forms, including MatrixOperator. This makes the matrix branch reachable even though the old variadic path only accepted lists. Pairwise behavior delegates to getCorr. Matching series codes use a temporarily renamed copy of the second input so self-correlation and different series sharing a code retain both alignment columns.

Aliases: CORRELATION

Model validation and rendering follow the installed implementation. Object placeholders such as DENSITY refer to variables you supply.