Statistics Calculator: Correlation Coefficient

Use this calculator to calculate the correlation coefficient from a set of bivariate data.



Correlation Coefficient Calculator

Instructions

This calculator can be used to calculate the sample correlation coefficient.

Enter the x,y values in the box above. You may enter data in one of the following two formats:

  • Each xi,yi couple on separate lines:

    x1,y1
    x2,y2
    x3,y3
    x4,y4
    x5,y5

  • All xi values in the first line and all yi values in the second line:

    x1,x2,x3,x4,x5
    y1,y2,y3,y4,y5

Press the "Submit Data" button to perform the calculation. The correlation coefficient will be displayed if the calculation is successful. To clear the calculator and enter new data, press "Reset".

What is the correlation coefficient

The correlation coefficient, or Pearson product-moment correlation coefficient (PMCC) is a numerical value between -1 and 1 that expresses the strength of the linear relationship between two variables.When r is closer to 1 it indicates a strong positive relationship. A value of 0 indicates that there is no relationship. Values close to -1 signal a strong negative relationship between the two variables. You may use the linear regression calculator to visualize this relationship on a graph.

Correlation coefficient formula

There are many formulas to calculate the correlation coefficient (all yielding the same result). This calculator uses the following:

$ r ={\frac{n \sum_{i=1}^n x_i y_i - \sum_{i=1}^n x_i \sum_{i=1}^n y_i}{\sqrt {(n \sum_{i=1}^n x_i^2 - (\sum_{i=1}^n x_i)^2)(n \sum_{i=1}^n y_i^2 - (\sum_{i=1}^n y_i)^2)} } $


where n is the total number of samples, xi (x1, x2, ..., xn) are the x values and yi are the y values.



Another Calc

what is metric unit for mass positive correlation scatter graph fathoms to meters conversion 75th percentile calculator conversión de centigrados a farenheit least common denominator for rational expressions calculator how many millimeters in meters box and whisker diagrams 0.8 inches to fraction how to make an improper fraction a mixed number integer fraction calculator convert height cm to meters one kilogram is equal to how many grams