Correlatiion coefficient calculations

Correlations can be calculated on raw data, data sets or groupings.
Would this work for an empty array?