How to set Y-intercept = 0 on Google Sheets

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024

Комментарии • 42

  • @susanrijos3956
    @susanrijos3956 3 года назад +13

    THANK YOU THANK YOU THANK YOU!!!!!!! I've been trying to figure this out for hours

  • @joebama9544
    @joebama9544 2 года назад +12

    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

    • @SeanMcMahonSMACTV
      @SeanMcMahonSMACTV  2 года назад

      Thank you!

    • @CeIIsius
      @CeIIsius 2 года назад +1

      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.

    • @tonyvojtko2497
      @tonyvojtko2497 4 месяца назад

      Very helpful🙏

  • @CeIIsius
    @CeIIsius 2 года назад +1

    You are a savior!

  • @Espiet
    @Espiet 3 года назад +4

    I was personally looking for how to make the trendline automatically start at y=0 in the graph not to calculate it.

    • @SeanMcMahonSMACTV
      @SeanMcMahonSMACTV  3 года назад

      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!

  • @peterle2916
    @peterle2916 3 года назад +3

    thanks!! only video i found on this

  • @thered4048
    @thered4048 2 года назад +1

    THANK YOU !!!

  • @saro670
    @saro670 2 года назад +1

    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?

    • @SeanMcMahonSMACTV
      @SeanMcMahonSMACTV  2 года назад

      You do not need to show the Trendline in your graph if you don't want to.

    • @SeanMcMahonSMACTV
      @SeanMcMahonSMACTV  2 года назад

      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!

  • @lucyvillalobos1881
    @lucyvillalobos1881 3 года назад +1

    thank you for this

  • @tv-pp
    @tv-pp 3 года назад +1

    ~~~~ =LINEST() ~~~~ if you want to copy it

  • @kairi99roxas
    @kairi99roxas 3 года назад +1

    but there is not a way to show in the graph the trendline with a y-intercept of 0?

    • @SeanMcMahonSMACTV
      @SeanMcMahonSMACTV  3 года назад +1

      Not with Google sheets, or at least not that I know of. You can with Excel.

    • @kairi99roxas
      @kairi99roxas 3 года назад +2

      @@SeanMcMahonSMACTV thank you

  • @soccer81894
    @soccer81894 Год назад

    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

  • @vigneshwarsriram3733
    @vigneshwarsriram3733 2 года назад

    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.

    • @SeanMcMahonSMACTV
      @SeanMcMahonSMACTV  2 года назад

      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.

  • @josette1819
    @josette1819 2 года назад

    i dont understand hit Y? keep doing it but no equation pops up

  • @jedmaegraith417
    @jedmaegraith417 3 года назад +1

    Thank you so so much! Is there a way you can then put this new function when y=0 onto your data graph??

    • @SeanMcMahonSMACTV
      @SeanMcMahonSMACTV  3 года назад +1

      Unfortunately, I don't think so Jed. You could always incorporate the corrected best fit line in the title of the graph.

    • @SeanMcMahonSMACTV
      @SeanMcMahonSMACTV  3 года назад

      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.

    • @SeanMcMahonSMACTV
      @SeanMcMahonSMACTV  3 года назад

      Under chart type at the top (Setup), just hit scatter plot instead of line in the drop down menu.

    • @jedmaegraith417
      @jedmaegraith417 3 года назад +1

      @@SeanMcMahonSMACTV Ok cool, yes I think I see what you mean. Appreciate the help so much :))

    • @SeanMcMahonSMACTV
      @SeanMcMahonSMACTV  3 года назад

      Glad it helped. Please hit like and let other people know about the video if they need the same information.

  • @daffaafdiansyah9449
    @daffaafdiansyah9449 2 года назад +1

    is this cheat allowed if used in research?

    • @SeanMcMahonSMACTV
      @SeanMcMahonSMACTV  2 года назад

      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.

    • @daffaafdiansyah9449
      @daffaafdiansyah9449 2 года назад

      @@SeanMcMahonSMACTV thankyouuu so muchh

    • @SeanMcMahonSMACTV
      @SeanMcMahonSMACTV  2 года назад

      No problem. I'm glad it helped!

  • @scraffz008
    @scraffz008 2 года назад

    How to find R^2 in intercept (0,0)?

  • @marceljohnstone1867
    @marceljohnstone1867 5 месяцев назад +1

    Americans 🙄