상관 계수
임의의 (x, y) 쌍 집합에 대한 피어슨 r.
상환 일정표
| # | 월 상환액 | 원금 | 이자 | 잔액 |
|---|---|---|---|---|
시간에 따른 성장
| 연도 | 투자 금액 | 값 |
|---|---|---|
소개
Correlation Coefficient - Pearson r for any set of (x, y) pairs. Enter Points (x,y per line) to get an instant result.
공식
Pearson correlation coefficient r = (nΣxy − ΣxΣy) / √((nΣx² − (Σx)²)(nΣy² − (Σy)²)).
단계별 안내
- Enter the Points (x,y per line).
- Click Calculate to see your result instantly.
실제 예시
Example: With the defaults shown above, the Correlation Coefficient gives Correlation: 0.9879.
자주 묻는 질문
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?
상관 계수 소개
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.