Two coefficients, values versus ranks
Both data areas take one number per line and must match in length. The type list offers Pearson product-moment and Spearman rank correlation. Controls compute, load a sample, clear and copy. Pearson suits continuous, roughly normal data without extremes, while Spearman ranks values first and tolerates skew and outliers, fitting ordinal ratings and grade data.
Steps
- Paste both columns into X and Y and confirm equal lengths.
- Judge normality and outliers to decide which coefficient to use.
- Select Pearson or Spearman in the type list.
- Compute and read the coefficient, which runs from minus one to one.
- Judge strength: below zero point three is weak, around zero point five moderate, above zero point seven strong.
- Copy the result, clearing both areas for new data.
Sign, and correlation is not causation
The sign gives direction: positive means both rise together, negative means one rises as the other falls. The absolute value is strength, and zero means no linear relation while still allowing curves, such as a U shape whose coefficient sits near zero. Coefficients are symmetric, with no independent or dependent side. Small samples mislead, where fewer than twenty points can conjure zero point seven from noise. Shared causes make unrelated variables correlate, as ice cream sales and drownings both follow temperature.
Common mistakes
Using Pearson on skewed data. Mismatched lengths that misalign values. Treating a coefficient as causal proof. Skipping scatter plots so curves read as no relation. Concluding from small samples. And applying Pearson to rank data.
Where two variables are too few
Third factors need partial correlation or regression. Causation needs experiments. Categorical association needs contingency tables and chi-square. And a coefficient never states predictive accuracy.