# Correlation

Calculates the correlation of two sets of numeric data.

כדי לגשת לפקודה הזאת…

Choose Data - Statistics - Correlation

The correlation coefficient (a value between -1 and +1) means how strongly two variables are related to each other. You can use the CORREL function or the Data Statistics to find the correlation coefficient between two variables.

A correlation coefficient of +1 indicates a perfect positive correlation.

A correlation coefficient of -1 indicates a perfect negative correlation

For more information on statistical correlation, refer to the corresponding Wikipedia article.

### Data

Input Range: The reference of the range of the data to analyze.

Results to: The reference of the top left cell of the range where the results will be displayed.

#### Grouped By

Select whether the input data has columns or rows layout.

#### Example

The following data will be used as example

 A B C 47 67 33 36 68 42 40 65 44 39 64 60 38 43 47 84 62 29 80 51 27 49 40 57 49 12 56 33 60 57 26

The following table displays the results of the correlation of the sample data above.

Correlations

Column 1

Column 2

Column 3

Column 1

1

Column 2

-0.4029254917

1

Column 3

-0.2107642836

0.2309714048

1