r
Statistical Tools
Correlation Coefficient Calculator
Dataset library

Correlation Examples and Practice Datasets

By Correlation Coefficient Calculator
Last Updated: March 26, 2026
Section: Examples

Worked examples make the difference between memorizing a formula and actually understanding when to use it. These examples are designed to load directly into the calculator so you can compare methods and interpretations.

What you can learn from example datasets

Try the same dataset with multiple methods to see how linear, monotonic, and binary-group assumptions change the result.

Examples are also useful for checking whether a reported coefficient matches what the raw data actually shows.

  • How outliers can weaken or exaggerate Pearson correlation
  • Why rank-based methods stay informative on monotonic curved data
  • How tied ranks affect Kendall and Spearman differently
  • How binary grouping changes the interpretation in point-biserial analysis

How to work through the examples

Start by loading a dataset that resembles your real use case, then inspect the coefficient, p-value, confidence intervals, and chart together. Looking at only one metric usually hides important structure.

After that, switch methods on the same data. If Pearson and Spearman disagree materially, that is often a signal that the relationship is monotonic but not well described by a straight line.

  • Read the chart before reading the coefficient
  • Compare method outputs on the same rows
  • Note whether practical significance matches statistical significance
  • Use the step-by-step output to audit the calculation logic

What each practice dataset is designed to show

The example library is intentionally mixed. Some datasets are clean and strongly aligned with one method, while others are ambiguous on purpose so you can see where method choice becomes a judgment call.

That makes the page useful for teaching, self-study, and quick calculator verification when you want known benchmark-style inputs.

  • Education-style score pairs for standard Pearson practice
  • Rank-heavy or tied-value examples for Spearman and Kendall
  • Binary-group examples for point-biserial interpretation
  • Cross-method comparisons that show when coefficients should and should not agree

Using examples without misleading yourself

Example datasets are excellent for learning, but they are simplified. Do not assume that a neat teaching example captures all the complications of production data such as missingness, measurement error, clustering, or confounding.

Treat the examples as practice for method selection and interpretation, then verify your own data with the calculator and, when stakes are high, with established statistical software.

Featured datasets

Height vs Weight
A classic positive linear relationship with mild natural variation.
Try Pearson
Temperature vs Ice Cream Sales
Stronger temperatures generally push sales up, with one cooler-day outlier.
Try Pearson
Study Hours vs Exam Score
Useful for step-by-step teaching because the pattern is easy to inspect by hand.
Try Pearson
Service Rank vs Satisfaction Rank
Monotonic data with ties that works well for Spearman correlation.
Try Spearman
Small Sample Preference Order
A compact ranking dataset intended for Kendall Tau interpretation.
Try Kendall
Survey Likert Scale Ratings
Two 1 to 5 survey scales with many ties, ideal for Kendall Tau-b.
Try Kendall
Certification vs Productivity
A clean HR-style example with pass or fail group membership and a productivity score.
Try Point-Biserial
Treatment vs Recovery Score
A clinical group comparison between treated patients and control patients.
Try Point-Biserial
Item Analysis: Question 5
Classic educational testing example: got the item correct or incorrect versus total exam score.
Try Point-Biserial