+ Reply to Thread
Results 1 to 2 of 2

How do I fit a non-line-of-best-fit linear function to a scatter plot?

  1. #1
    Registered User
    Join Date
    11-22-2015
    Location
    123
    MS-Off Ver
    2013
    Posts
    1

    How do I fit a non-line-of-best-fit linear function to a scatter plot?

    Hello all! I am wondering if there is a way to fit a linear function that is not the line of best fit to a scatter plot, and calculate the R-value of that line.

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,827

    Re: How do I fit a non-line-of-best-fit linear function to a scatter plot?

    I am not certain exactly what your question is. I don't believe there is any way to have the chart trendline feature computer r^2 for anything but the best fit regression that it performs. However, this computation should be easily performed in the spreadsheet using Excel's built in statistical functions: https://support.office.com/en-us/art...__toc309306716 I would expect you to use what you know of how to calculate Pearson coefficient and r^2 using your desired known_y's and estimated_y's. You may find the Pearson(), rsq(), or other functions useful.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Converting Scatter plot to Line plot and back
    By SPDavern in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-26-2015, 10:49 AM
  2. [SOLVED] Scatter plot with line through every point
    By t.r24 in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 03-29-2015, 09:07 AM
  3. Plot the line of a function and also scatter dots on the same chart
    By zman44 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 09-05-2013, 08:54 AM
  4. line of best fit on scatter plot
    By cmb80 in forum Excel General
    Replies: 3
    Last Post: 05-22-2012, 08:16 AM
  5. [SOLVED] Add x=y line to scatter plot
    By danipoak in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 04-09-2012, 09:32 PM
  6. inserting vertical line into a scatter plot
    By bored in forum Excel General
    Replies: 3
    Last Post: 02-04-2010, 09:48 PM
  7. Converting XY Scatter plot to Line Plot and back
    By SPDavern in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-09-2005, 10:06 PM

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