LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


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

Rep: Reputation: 0
trend line / line of best fit OO.org


Just wondered if anyone knows an easy way of putting a line of best fit into calc (eg. http://www.bbc.co.uk/schools/gcsebit.../ma03024_2.gif) like you can in excel or if anyone has written a macro to do this, otherwise I'll suggest this to the OO team.

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

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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 OpenOffice.org Calc Help manual.

I found this in re linest: http://justlinux.com/forum/archive/i.../t-145367.html

And this site has OpenOffice.org macros, two of which refer to least-squares fitting: http://sourceforge.net/project/showf...group_id=87718
 
Old 11-15-2006, 03:21 PM   #3
bigalexe
Member
 
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
 
  


Reply



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 57 04-17-2016 06:07 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 08:10 PM.

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