Correlation Analysis
Calculate Pearson's r and Spearman's rho to assess the relationship between two variables.
| # | n = 0Outcome | n = 0Risk Factor | ||
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 | ||||
| 6 | ||||
| 7 | ||||
| 8 | ||||
| 9 | ||||
| 10 |
10 Rows Γ 2 Columns
Correlation Analysis
Enter data pairs on the left and click calculate to see the visualization and statistics.
Formula
Correlation Analysis
Pearson Correlation Coefficient (r):
Spearman Rank Correlation ():
Where:
- = difference between ranks of corresponding variables
- n = number of observations