Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 11-14-2006, 01:54 PM   #1
LQ Newbie
Registered: Jan 2006
Location: London
Distribution: Debian 3.1
Posts: 15

Rep: Reputation: 0
trend line / line of best fit

Just wondered if anyone knows an easy way of putting a line of best fit into calc (eg. like you can in excel or if anyone has written a macro to do this, otherwise I'll suggest this to the OO team.

Old 11-15-2006, 03:19 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,840

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
If you want to show a trend, as a prediction of future values from present and past known values, use the trend() function.

If you want a best-fit line ala least-squares, use the linest() function.

You can get more info from the Calc Help manual.

I found this in re linest:

And this site has macros, two of which refer to least-squares fitting:
Old 11-15-2006, 03:21 PM   #3
Registered: Apr 2006
Location: SE michigan
Distribution: Ubuntu, Currently Chained to Windows
Posts: 67

Rep: Reputation: 15
i normally use a graphing calc to do those kinds of things however ive never done it on PC


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
bash shell script read file line by line. Darren[UoW] Programming 55 07-09-2015 12:46 PM
BASH: read every line in the files and use the line as parameters as another program tam3c36 Programming 10 12-07-2010 01:42 PM
C++ text file line by line/each line to string/array Dimitris Programming 15 03-11-2008 08:22 AM
ADSL Router line 1 Mandrake 10. Line 2 is win xp pro virtthemaest Linux - Networking 0 08-05-2004 12:35 AM
linux scripting help needed read from file line by line exc commands each line read atokad Programming 4 12-26-2003 10:24 PM

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration