Table and Regression Lines not showing

Hi,
I’m new to using the computation layer, and would appreciate some help.

My goal is for the students to see the effect that adding a point has to the least square regression line. I want to start with 4 points and have the students input a 5th. So on the graph, I want the original 4 points to always be visible, the 5th point to be visible when they add it, the original regression line to always be visible, and the new regression line to take into account the added point.

I’ve figured out how to get a student inputted point to show on the graph. I also have the original 4 points and the original regression line showing. But I haven’t been able to figure out how to take the input from the table and add it to the regression line (I believe that if I want both the original and the new one to graph, I will need two regression lines).

Is it possible to do what I’m looking to do?

Thanks.

https://teacher.desmos.com/activitybuilder/custom/66f5a65a64320b7d11bdf03b

You figured out most of it already. The only piece you were missing is the idea that you can join lists. So, you have your original list of points in x1 and y1. The student points are in p and q. So I added a second regression on the joined lists of x1 + p and y1 + q. I also have it show only if the length of the joined list is greater than the original (meaning it won’t show the line until points are added). [Copy of] Influential Points • Activity Builder by Desmos Classroom

Thank you so much! This is exactly what I was looking for.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.