Correlation Exercise

This calculator starts out with 20 randomly chosen X, Y pairs with values between 1 and 10. Try the following manipulations on these random data to see what happens to the correlation coefficient.

  1. Click the "compute" button to calculate a Pearson correlation coefficient (r) from random values.
  2. Try making all of the X values similar to the corresponding Y values. What happens to the correlation coefficent? Example: The pair 2,9 becomes 8,9.
  3. Try making the X, Y values dissimilar by adding 10 to each X value. For example, 3,5 becomes 13,5.
  4. What happens when the small X values are accompanied by a large Y value? Also, make large X values have a small Y. Examples: 2,10 and 10,2.

To start over, click on the "try again" button.







*** Waiting for results ***


Creative Commons Attribution 4.0 International License that allows sharing, adapting, and remixing.