Overview

Use correlation to measure how strongly numerical variables are associated (for example, the wing and tail lengths of birds), without assuming that one causes the other. The correlation coefficient (r) runs from −1 (perfect inverse relationship) through 0 (no relationship) to +1 (perfect positive relationship).

statistiXL extends this from a single pair of variables to partial, multiple and canonical correlation.

To predict one variable from another, use linear regression. Spearman rank correlation, a nonparametric alternative, is one of the nonparametric tests.

Two scatter plots of Variable B against Variable A. In the first, the points rise from left to right (positive correlation, r = 0.85); in the second, they fall (inverse correlation, r = −0.81).
A positive and an inverse correlation.

Methods

  • Bivariate (simple) correlation
  • Multivariate correlation matrix
  • Partial correlation
  • Multiple correlation
  • Canonical correlation
  • Scatter plots

Running the analysis

Each variable needs the same number of rows, with no missing values. Click Correlation on the statistiXL ribbon and choose Simple, Partial, Multiple or Canonical. In the dialog, select your input ranges and output location, and set any options, such as descriptive statistics and scatter plots.

The Correlation button on the statistiXL ribbon with its menu open, listing Simple (highlighted), Partial, Multiple and Canonical.
The Correlation menu on the statistiXL ribbon.
The Simple Correlation dialog, with a variable range, a Labels in First Row option, an output range, options for descriptive statistics and scatter plots, and the QuickHelp pane on the right.
The Simple Correlation dialog, with QuickHelp on the right.

What the output includes

  • Descriptive statistics for each variable (optional)
  • The correlation matrix, with r for every pair of variables
  • The test statistic (t or F) for each coefficient
  • The P value for each coefficient
  • Scatter plots, as Excel charts you can edit (optional)
Pearson correlation output in Excel for wing length and tail length. Descriptive statistics for 12 birds are followed by the correlation matrix (r of 0.870), the t statistic (5.589) and the significance (P of 0.000), with a scatter plot of tail length against wing length beside them.
Output from a simple correlation, with a scatter plot.