Correlation

A correlation calculator measures the statistical relationship between two variables. It helps in determining the extent to which the variables move together and how strong the relationship is. Correlation values range from -1 to 1, with -1 representing a strong negative correlation, 1 representing a strong positive correlation, and 0 representing no correlation.

Correlation Formula:

The correlation between two variables X and Y can be calculated using the following formula:

r = (nΣXY - ΣXΣY) / √((nΣX^2 - (ΣX)^2)(nΣY^2 - (ΣY)^2))

Where:

  • r - Correlation coefficient
  • n - Number of data points
  • ΣX - Sum of X values
  • ΣY - Sum of Y values
  • ΣXY - Sum of the product of X and Y values
  • ΣX^2 - Sum of the squares of X values
  • ΣY^2 - Sum of the squares of Y values