# "Correlation Matrix Operator - which kind of correlation coefficient?"

South2wood
Member Posts:

**5**Contributor II
Hi,

i was wondering which kind of correlation coefficient is calculated by the "Correlation Matrix Operator"?

Since I have a wide variety of factors and factor distributions (many of which are not Gaussian), the Spearman correlation is preferred to the more familiar Pearson correlation (as Pearson correlation assumes the variables are Gaussian).

Best regards,

Matthias

i was wondering which kind of correlation coefficient is calculated by the "Correlation Matrix Operator"?

Since I have a wide variety of factors and factor distributions (many of which are not Gaussian), the Spearman correlation is preferred to the more familiar Pearson correlation (as Pearson correlation assumes the variables are Gaussian).

Best regards,

Matthias

Tagged:

0

## Answers

114RM Data Scientistthe operator "Correlation Matrix" uses the Pearson correlation coefficient. If you think other coefficients like Spearman should be part of the operator in the next release please use the feature request tracker (http://bugs.rapid-i.com/) and leave a short note.

Cheers,

Helge

1Contributor IMy question is a follow-up on this issue so I am replying here instead of opening a new post.

You mention the Correlation Matrix operator uses the Pearson correlation coefficient.

I have built a Correlation matrix for data which has a mixture of Nominal and Numeric variables,

and I seem to be getting a very decent matrix. For numerical pairs I assume it is using Pearson like you said, but what

about the other pairs:

1. How are the correlation coefficients for numeric vs. nominal (non-dichotomous) calculated? (is some specific point multiserial coefficient used?!)

2. How are the correlation coefficients for nominal (non-dichotomous) vs. nominal (non-dichotomous) calculated? (does it use Pearson's C, Kramer;'s V!?)

It would be very helpful to know this, and any relevent references.

Thanks in advance,

Sharper

1Contributor IBest,

Troddel

1,869Unicornout of hands I am not completely sure, but I think it simply assigns numbers to the nominal values in the order of appearance (same way as Nominal to Numerical with unique_integers coding does), and the calculates Spearman's Correlation coefficient.

Best regards,

Marius