Here's how to edit the trendline to pass through the origin: 1. Hide the trendline of the original graph 2. Graph 2 points using the new false value at y=0 and y=1 3. show trendline for the false value and hide the points on the graph
Not sure how to do that in Google sheets. If you figure it out please let me know. I have a video on how to do that in Excel because there is an option for that. Here is the link to that video if you're interested or have Excel. ruclips.net/video/0H47IZLIsKI/видео.html The video you watched was to find the linear equation using y=0. Thanks for watching!
thanks for this video. i just wanna ask how to eliminate the coefficient of the original slope equation if your slope is negative ( linear but inversely proportional?
However, I just want to let you know that a negative slope does not mean it's inversely proportional. It is still directly proportional (multiplied by a negative amount). Example, y =-3x is still directly proportional. The slope is always changing by a factor of -3, giving linear equation. Inversely proportional is when the product equals a constant. Example, PV = 6. If you increase P, V decreases, but this inverse proportionality gives you a decay or growth function (looks exponential). Using the above example of PV = 6, if P = 6 then V= 1. If P = 3 then V = 2. If P = 2 then V = 3. So in this inverse proportionality, the rate of change is not constant. If you had y = -3x, the rate of change is constant and therefore linear. For example, if x = 1 then y = -3(1) = -3. If x = 2, then y = -3(2) = -6, which is a constant rate of change of -3. I hope this clarifies the difference between directly proportional (linear whether slope is + or -, and inversely proportional where the rate of change is not constant, but more like a decay or growth function. Thanks for commenting!
What if i want my y-intercept to be another value? For example i'm looking at some reach data for a social media account. This account reached say x amount of accounts on the first month i started tracking. I want the y-intercept to be something like 0.9x as this account already existed for time before i started tracking this data
Hi Sean, I'm looking for the calculation behind the LINEST() function. Can you tell me what is happening in the background when we use the function, to set intercept as 0.
When you say background, do you mean from a perspective of coding? I saw this in a forum (like chatroom) for Google sheets and used it to help my students when graphing and needing the best fit line with a y intercept = 0. Excel just has a radial box you can click on to do this, but it wasn't available on Google sheets. This LINEST () function is a way to get the linear equation with a y intercept = 0 from the data points graphed. Not sure if that was what you're asking, but that's what I got. Thanks for replying and watching the video.
Jed, in my email I see a question but it's not showing up here. Did you figure out how to only show the best fit line? If not let me know and I can help you with that.
I just call it a cheat because I don't know how to set the y intercept equal to zero on Google sheets. Excel has that capability when setting trendlines. For research purposes if you want to provide a linear equation starting at the origin that function let's you come up with the y=mx equation. However, I don't think the trendline changes from the original. In Excel, the trendline will adjust to represent the new equation. Hope that helps. So again, it helps you get the new linear equation, but the graph won't show the new line going through the origin.
THANK YOU THANK YOU THANK YOU!!!!!!! I've been trying to figure this out for hours
I'm so glad it helped.
Thanks for watching!
Here's how to edit the trendline to pass through the origin:
1. Hide the trendline of the original graph
2. Graph 2 points using the new false value at y=0 and y=1
3. show trendline for the false value and hide the points on the graph
Thank you!
I figured this out for myself and wanted to post it here.
You were faster.
I don't get why google doesn't implement this feature.
Very helpful🙏
You are a savior!
I was personally looking for how to make the trendline automatically start at y=0 in the graph not to calculate it.
Not sure how to do that in Google sheets. If you figure it out please let me know.
I have a video on how to do that in Excel because there is an option for that. Here is the link to that video if you're interested or have Excel. ruclips.net/video/0H47IZLIsKI/видео.html
The video you watched was to find the linear equation using y=0. Thanks for watching!
thanks!! only video i found on this
Glad it helped.
THANK YOU !!!
You're so very welcome!
thanks for this video. i just wanna ask how to eliminate the coefficient of the original slope equation if your slope is negative ( linear but inversely proportional?
You do not need to show the Trendline in your graph if you don't want to.
However, I just want to let you know that a negative slope does not mean it's inversely proportional. It is still directly proportional (multiplied by a negative amount). Example, y =-3x is still directly proportional. The slope is always changing by a factor of -3, giving linear equation. Inversely proportional is when the product equals a constant. Example, PV = 6. If you increase P, V decreases, but this inverse proportionality gives you a decay or growth function (looks exponential). Using the above example of PV = 6, if P = 6 then V= 1. If P = 3 then V = 2. If P = 2 then V = 3. So in this inverse proportionality, the rate of change is not constant. If you had y = -3x, the rate of change is constant and therefore linear. For example, if x = 1 then y = -3(1) = -3. If x = 2, then y = -3(2) = -6, which is a constant rate of change of -3. I hope this clarifies the difference between directly proportional (linear whether slope is + or -, and inversely proportional where the rate of change is not constant, but more like a decay or growth function. Thanks for commenting!
thank you for this
Glad it helped!
~~~~ =LINEST() ~~~~ if you want to copy it
Thanks
but there is not a way to show in the graph the trendline with a y-intercept of 0?
Not with Google sheets, or at least not that I know of. You can with Excel.
@@SeanMcMahonSMACTV thank you
What if i want my y-intercept to be another value?
For example i'm looking at some reach data for a social media account. This account reached say x amount of accounts on the first month i started tracking. I want the y-intercept to be something like 0.9x as this account already existed for time before i started tracking this data
Hi Sean, I'm looking for the calculation behind the LINEST() function. Can you tell me what is happening in the background when we use the function, to set intercept as 0.
When you say background, do you mean from a perspective of coding? I saw this in a forum (like chatroom) for Google sheets and used it to help my students when graphing and needing the best fit line with a y intercept = 0. Excel just has a radial box you can click on to do this, but it wasn't available on Google sheets. This LINEST () function is a way to get the linear equation with a y intercept = 0 from the data points graphed. Not sure if that was what you're asking, but that's what I got. Thanks for replying and watching the video.
i dont understand hit Y? keep doing it but no equation pops up
Thank you so so much! Is there a way you can then put this new function when y=0 onto your data graph??
Unfortunately, I don't think so Jed. You could always incorporate the corrected best fit line in the title of the graph.
Jed, in my email I see a question but it's not showing up here. Did you figure out how to only show the best fit line? If not let me know and I can help you with that.
Under chart type at the top (Setup), just hit scatter plot instead of line in the drop down menu.
@@SeanMcMahonSMACTV Ok cool, yes I think I see what you mean. Appreciate the help so much :))
Glad it helped. Please hit like and let other people know about the video if they need the same information.
is this cheat allowed if used in research?
I just call it a cheat because I don't know how to set the y intercept equal to zero on Google sheets.
Excel has that capability when setting trendlines.
For research purposes if you want to provide a linear equation starting at the origin that function let's you come up with the y=mx equation. However, I don't think the trendline changes from the original. In Excel, the trendline will adjust to represent the new equation.
Hope that helps. So again, it helps you get the new linear equation, but the graph won't show the new line going through the origin.
@@SeanMcMahonSMACTV thankyouuu so muchh
No problem. I'm glad it helped!
How to find R^2 in intercept (0,0)?
Not sure, I'm sorry @Scraffz
Americans 🙄