Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Kelly J.
 
Posts: n/a
Default best straight line in Excel

Hi,

I'd like to know how to plot the best straight line for a set of data points
in an Excel chart, minimising error using least squares regression method.

Greatly appreciate if anyone could help :) I know there's such a method, but
can't figure out how to do it.

Thanks in advance!
  #2   Report Post  
Jerry W. Lewis
 
Posts: n/a
Default

With the chart selected, use the menu item Chart|Add Trendline and
select linear (from the options page you can choose to also display the
formula and/or R^2 if needed).

Alternately, you could calculate the line's equation in the worksheet
with SLOPE and INTERCEPT functions and use that equation (or the
FORECAST function) to calculate points on the line and plot the line as
an additional data series.

Jerry

Kelly J. wrote:

Hi,

I'd like to know how to plot the best straight line for a set of data points
in an Excel chart, minimising error using least squares regression method.

Greatly appreciate if anyone could help :) I know there's such a method, but
can't figure out how to do it.

Thanks in advance!


  #3   Report Post  
R.VENKATARAMAN
 
Posts: n/a
Default

this is alraeady avble in exce. once a chart is created you get additional
menu <charat
click this menu and click <add trendline
choose <type tab
and click <linear
you get the least square st. line trend


Kelly J. <Kelly wrote in message
...
Hi,

I'd like to know how to plot the best straight line for a set of data

points
in an Excel chart, minimising error using least squares regression method.

Greatly appreciate if anyone could help :) I know there's such a method,

but
can't figure out how to do it.

Thanks in advance!



  #4   Report Post  
David Biddulph
 
Posts: n/a
Default

"Kelly J." <Kelly wrote in message
...
Hi,

I'd like to know how to plot the best straight line for a set of data
points
in an Excel chart, minimising error using least squares regression method.

Greatly appreciate if anyone could help :) I know there's such a method,
but
can't figure out how to do it.

Thanks in advance!


Chart menu/ Add Trendline
--
David Biddulph


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
A 2 line text showing up in the Cell in Excel prints in 1 line Danny Excel Discussion (Misc queries) 6 July 12th 05 08:47 PM
Line chart in Excel - trendline incomplete [email protected] Charts and Charting in Excel 7 May 13th 05 01:21 PM
How do I measure area under a line chart drawn in Excel file? kp Charts and Charting in Excel 2 April 18th 05 02:01 PM
Can you have a vertical line graph in Excel 2003 smithers2002 Charts and Charting in Excel 3 January 12th 05 01:27 PM
How do I delete every other line in an Excel document with over 3. Darren Excel Discussion (Misc queries) 3 December 22nd 04 06:50 PM


All times are GMT +1. The time now is 10:54 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"