+ Reply to Thread
Results 1 to 2 of 2

Trendline R-squared value higher when y-int fixed!?

  1. #1
    Registered User
    Join Date
    12-12-2013
    Location
    Tasmania
    MS-Off Ver
    Excel 365
    Posts
    3

    Trendline R-squared value higher when y-int fixed!?

    I have an X-Y Scatter plot of some data and have added a linear trendline. When I set the intercept to zero (bottom chart pictured) I get a higher R-squared value than when I let Excel determine it (top chart pictured).

    I thought that Excel optimised the intercept and slope for the highest R-squared value. Either I'm wrong about that or Excel is misbehaving.

    I suspect the former (i.e. I'm wrong). If so, this become more a statistics question than an Excel question per se... What is Excel's method for determining intercept and slope of a linear trendline, and is that more justified than optimising for R-squared?

    I'm using Excel 365.

    Screenshot 2023-07-21 093229.png
    Last edited by hot toddy; 07-20-2023 at 07:55 PM. Reason: Adding Excel version

  2. #2
    Registered User
    Join Date
    12-12-2013
    Location
    Tasmania
    MS-Off Ver
    Excel 365
    Posts
    3

    Re: Trendline R-squared value higher when y-int fixed!?

    Upon further investigation, I believe trendline intercept and slope is optimised for least RMS error, and that leads to a different solution than optimising for R-squared value (which is less surprising now that I've thought more deeply about it).

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Higher values in Col A than Col B, sum rows with the higher value and show difference
    By neilosj in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-15-2022, 05:20 AM
  2. Getting a fixed R-square value from linear trendline
    By agrwl.anmol in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-25-2019, 01:18 PM
  3. [SOLVED] Excel 2010 Trendline With Data labels or number on forward forecast trendline
    By camelight in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 10-15-2015, 08:35 AM
  4. Replies: 0
    Last Post: 10-11-2011, 03:22 PM
  5. Difference between trendline and regression R squared values
    By harikrishna76 in forum Excel General
    Replies: 1
    Last Post: 07-26-2011, 03:16 AM
  6. Replies: 2
    Last Post: 05-31-2010, 03:23 PM
  7. R-squared from a trendline
    By r505el in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 08-17-2006, 01:20 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1