Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Algebra 1

3.4.3 Finding the Correlation Coefficient with Technology

Algebra 13.4.3 Finding the Correlation Coefficient with Technology

Search for key terms or text.

Activity

1. Click on the " + + " sign in the Desmos graphing tool. Choose table from the drop down menu. This will generate a table for entering a data set.

2. Enter the data set shown in the table below into the corresponding x 1 x 1 and y 1 y 1 columns.

(If preferred, the data can be copied and pasted into Desmos from a spreadsheet using keyboard shortcuts. Windows: Ctrl+C for copy and Ctrl+V for paste. Mac: Command+C for copy and Command+V for paste.)

x 1 x 1 y 1 y 1
2 12
9 11
15 6
21 3
22 -1

Hint: The window should be appropriately set to display the points in the table, but sometimes it will be necessary to adjust the window of the graph in order to properly view your data set. Use the mouse to drag and change the viewing window. To zoom in or out, use the buttons in the top right or the scrolling wheel on the mouse.

3. Click in the entry box #2 below the table from Question 1 and enter the command c o r r ( x 1 , y 1 ) c o r r ( x 1 , y 1 ) . (You can just type x 1 x 1 and y 1 y 1 . The subscripts will appear automatically.)

4. A number between -1 and 1 will appear after an equal sign in the bottom right-hand corner of the same box. What is the number rounded to the thousandths place?

5. What does this number tell you about the strength of the linear relationship?

Self Check

Use the Desmos graphing tool below to find the correlation coefficient for this data.

x x 8 15 26 31 56
y y 23 41 53 72 103

Additional Resources

Finding The Correlation Coefficient Using Technology

Let’s find the correlation coefficient for a given data set.

Step 1 - Click on the " + + " sign in the Desmos graphing tool. Choose table from the drop down menu. This will generate a table for entering a data set.

Step 2 - Enter the data into the corresponding x 1 x 1 and y 1 y 1 columns in the table you created in Step 1. Press Enter or use arrow keys to enter a new data value in the table.

(If preferred, the data can be copied and pasted into Desmos from a spreadsheet using keyboard shortcuts. Windows: Ctrl+C for copy and Ctrl+V for paste. Mac: Command+C for copy and Command+V for paste.)

x 1 x 1 y 1 y 1
-6 -1
-4 1
0 -2
1 -3
3 0

Hint: The window should be appropriately set to display the points in the table, but sometimes it will be necessary to adjust the window of the graph in order to properly view your data set. Use the mouse to drag and change the viewing window. To zoom in or out, use the buttons in the top right or the scrolling wheel on the mouse.

You should have created the following table and scatter plot:

A Desmos calculator graph with five green points plotted at (negative 6, negative 1), (negative 4, 1), (0, negative 2), (1, negative 3), and (3, 0). A table on the left lists the x and y coordinates for the plotted points.

Step 3 - Click in the entry box #2 below the table from Question 1 and enter the command c o r r ( x 1 , y 1 ) c o r r ( x 1 , y 1 ) . (You can just type x 1 x 1 and y 1 y 1 . The subscripts will appear automatically.)

As soon as you enter the correlation command, Desmos will display the correlation coefficient after an equal sign in the bottom right corner of the same box.

A Desmos window showing the input expression t0 calculate the correlation between x1 and y1 values. The display indicates the value for this data set equals negative 0.299025180201.

Step 4 - Round to the nearest thousandth. The correlation coefficient is -0.299.

Step 5 - Determine the strength of the linear relationship. This correlation coefficient shows a weak negative linear relationship.

Try it

Try It: Finding the Correlation Coefficient with Technology

1.

Find the correlation coefficient of the data set. Round the answer to the nearest thousandth.

x 1 x 1 y 1 y 1
-1 4
0 9
3 14
5 -3
6 1
2.

What is the strength of the linear relationship?

Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

Citation information

© May 21, 2025 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.