Coefficiente di correlazione
r di Pearson per qualsiasi insieme di coppie (x, y).
Piano di ammortamento
| # | Pagamento | Capitale | Interessi | Saldo |
|---|---|---|---|---|
Crescita nel tempo
| Anno | Investito | Valore |
|---|---|---|
Introduzione
Correlation Coefficient - Pearson r for any set of (x, y) pairs. Enter Points (x,y per line) to get an instant result.
Formula
Pearson correlation coefficient r = (nΣxy − ΣxΣy) / √((nΣx² − (Σx)²)(nΣy² − (Σy)²)).
Passo dopo passo
- Enter the Points (x,y per line).
- Click Calculate to see your result instantly.
Esempio pratico
Example: With the defaults shown above, the Correlation Coefficient gives Correlation: 0.9879.
Domande Frequenti
What does an r value close to 1 or −1 mean?
What does r = 0 mean?
What inputs does the Correlation Coefficient need?
How accurate is the Correlation Coefficient?
Is the Correlation Coefficient free to use?
Informazioni su Coefficiente di correlazione
The correlation coefficient measures the strength and direction of the linear relationship between two variables. The most commonly used version is Pearson's r, which ranges from negative 1 to positive 1. The Correlation Coefficient Calculator on CalculatorCast computes Pearson's r from paired x and y data, along with the p-value for testing whether the correlation is statistically significant.
Pearson's r is calculated as the covariance of x and y divided by the product of their standard deviations. Equivalently, it equals [n times sum(xy) minus sum(x) times sum(y)] divided by the square root of {[n times sum(x squared) minus sum(x) squared] times [n times sum(y squared) minus sum(y) squared]}.
Interpreting r: values near positive 1 indicate a strong positive relationship (as x increases, y increases). Values near negative 1 indicate a strong negative relationship (as x increases, y decreases). Values near 0 indicate little or no linear relationship. Common conventions: 0.1 to 0.3 is weak, 0.3 to 0.7 is moderate, and above 0.7 is strong (using absolute values).
Pearson's r measures only linear relationships. Two variables can have a strong non-linear relationship but a correlation coefficient near 0. Always visualize your data before interpreting r.
Statistical significance of r: the calculator computes the t-statistic t equals r times square root of (n minus 2) divided by square root of (1 minus r squared), and the corresponding two-tailed p-value from the t-distribution with n minus 2 degrees of freedom. A p-value below 0.05 is conventionally considered statistically significant.
For non-normally distributed data or ordinal data, Spearman's rank correlation is more appropriate. Our calculator also computes Spearman's rho as an alternative to Pearson's r when the data are not normally distributed.
The Correlation Coefficient Calculator is free on CalculatorCast and works on all devices without registration.