# Coefficient of Determination from Linear Regression

**URL:** https://cl.desmos.com/t/coefficient-of-determination-from-linear-regression/100
**Category:** Questions
**Created:** [June 11, 2018, 11:31am UTC](https://cl.desmos.com/t/coefficient-of-determination-from-linear-regression/100 "2018-06-11T11:31:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Erick](https://avatars.discourse-cdn.com/v4/letter/e/bbce88/32.png) [@Erick](https://cl.desmos.com/u/Erick)
#### Post date: [June 11, 2018, 11:31am UTC](https://cl.desmos.com/t/coefficient-of-determination-from-linear-regression/100/1 "2018-06-11T11:31:47Z")

</div>

Hi, Is there a way to pull the r^2 coefficient of determination from a linear regression to display it to the user?

I’m having students input points and then graphing the result and want to share the r^2 value on the screen for them. Do I have to calculate this in the graph screen or is there a way to extract this from the regression equations?

Here is what I have so far: [Are We Compatible • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/5b1dcfa20abfa712d3c00f39)  
It is a Desmos version of Bob Lochel/Cathy Yenca’s Are We Compatible scatter plot activity.

---

<div class="post-metadata">

### Author: ![JayChow](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/jaychow/32/1674_2.png) [@JayChow](https://cl.desmos.com/u/JayChow)
#### Post date: [June 12, 2018, 12:16am UTC](https://cl.desmos.com/t/coefficient-of-determination-from-linear-regression/100/2 "2018-06-12T00:16:05Z")

</div>

I think this may be what you are looking for. [Desmos | Graphing Calculator](https://www.desmos.com/calculator/phu7ftiqwt)  
[https://support.desmos.com/hc/en-us/articles/204311369-Statistics](https://support.desmos.com/hc/en-us/articles/204311369-Statistics)

![53%20PM](https://canada1.discourse-cdn.com/flex031/uploads/desmos/original/1X/7822bb511847543688028d616015502420fe6888.png)

> **[\[Copy of\] Are We Compatible • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/5b1f0f33983d531cb700ce4e)**
>
> by Jay Chow

---

<div class="post-metadata">

### Author: ![Erick](https://avatars.discourse-cdn.com/v4/letter/e/bbce88/32.png) [@Erick](https://cl.desmos.com/u/Erick)
#### Post date: [June 12, 2018, 2:04am UTC](https://cl.desmos.com/t/coefficient-of-determination-from-linear-regression/100/3 "2018-06-12T02:04:04Z")

</div>

Thanks Jay! That is exactly what I was looking for.
