# Correlation

Calculates Correlations among columns.

Input data should contain numeric columns.

- Variable Columns - Numeric columns among which correlations are calculated.
- Group By - Categorical column to group by. If you specify this, the analytics runs for each group.

- Analytics Properties
- Method - Method to calculate correlations. The default is "Pearson". This can be:
- Pearson
- Spearman

- Correlation - This section is about "Correlations" View.
- Show Only Lower Triangle - Show only lower triangle of the matrix, avoiding showing correlations for same pairs twice.
- Show Diagonal Values - Show values on diagonal of the matrix, which should always have correlation of 1.

- Significance - This section is about "Significance" View.
- P Value Threshold to be Significant
- Show Only Lower Triangle
- Show Diagonal Values

- Data - This section is about "Data" View.
- Show Data From
- Positive Correlations
- Negative Correlations

- 1.Click Analytics View tab.
- 2.If necessary, click "+" button on the left of existing Analytics tabs, to create a new Analytics.
- 3.Select "Correlation by Columns" for Analytics Type.
- 4.Click Variable Columns and open Column Selector Dialog.
- 5.Select Numeric Columns that you want to calculate correlation.

- 1.Click Run button to run the analytics.
- 2.Select view type (explained below) by clicking view type link to see each type of generated visualization.

"Correlations" View displays correlations with Heatmap. Red color means it has positive correlation and Blue color means it has negative correlation. The darker the color, the stronger the correlation.

"Significance" View displays correlations with Scatter Plot. Gray color means it is not statistically significant. Red color means it has positive significant correlation and Blue color means it has negative significant correlation. You can check the p-values of the correlations by hovering the mouse pointer over the circles.

"Scatter Matrix" View displays the actual data distributions for each variable combination.

"Data" View displays the correlations for all the pairs of the selected columns in a table. By default the table is sorted by the correlation values. You can click the Column Header to sort the table based on any of the other columns.

- Column 1 / Column 2
- Correlation
- P Value - P value from the t-test to determine the significance of the correlation.
- t Value - t value from the t-test to determine the significance of the correlation.

Last modified 2yr ago