OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Regression curve equation
Goto page 1, 2  Next
 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Math
View previous topic :: View next topic  
Author Message
ib@32
Newbie
Newbie


Joined: 02 Apr 2005
Posts: 3

PostPosted: Sat Apr 02, 2005 1:22 pm    Post subject: Regression curve equation Reply with quote

Hi
I'm working on a physics expiriment report and I need to get the equation of a regression curve , I know how to do it in Excel (the teacher showed us in the class) but I cant find any way to do it in OO .
can anyone help me with this ?

(forgive me for my English it's not my native language)
Back to top
View user's profile Send private message
AndrewZ
Moderator
Moderator


Joined: 21 Jun 2004
Posts: 4148
Location: Colorado, USA

PostPosted: Sat Apr 02, 2005 1:29 pm    Post subject: Reply with quote

You want to do a spreadsheet formula to make a calculation? If so, it may be similar to Excel. How do you do it in Excel?
Back to top
View user's profile Send private message Visit poster's website
ib@32
Newbie
Newbie


Joined: 02 Apr 2005
Posts: 3

PostPosted: Sat Apr 02, 2005 2:04 pm    Post subject: Reply with quote

No
when we do the expiriment in the lab we get some results which I use to make a graph .
In Excel in the regression curve options you can tell it to put the equation in the graph , for instance if I get this values in the graph :
1 3 (1*1*2+1)
2 9 (2*2*2+1)
3 19 (3*3*2+1)
4 33 (4*4*2+1)
5 51 (5*5*2+1)
and tell Excel to use a power-type regression curve it'll gives me the equation Y=2X^2+1
is there any way to do this thing in OO?
Back to top
View user's profile Send private message
AndrewZ
Moderator
Moderator


Joined: 21 Jun 2004
Posts: 4148
Location: Colorado, USA

PostPosted: Sat Apr 02, 2005 2:26 pm    Post subject: Reply with quote

I see. You create a graph from a set of data, and then you want to calculate the regression from the graph. I did that for my physics class a few weeks ago.

1. Make your graph. It must be an XY chart.
2. Click on the chart to select it.
3. Double click on the chart to "enter" it.
4. Double click on a data point to bring up "Data Series" dialog.
5. Under the Statistics tab, there is an area for Regression curves.

You can also find this info in the OOo help under Regression.
Back to top
View user's profile Send private message Visit poster's website
joerg04
OOo Advocate
OOo Advocate


Joined: 14 May 2004
Posts: 327
Location: Germany

PostPosted: Sat Apr 02, 2005 3:56 pm    Post subject: Reply with quote

@aziem, I guess he knows how to do this.

@ib@32, your English is perfect Very Happy

It is not so easy possible with OOo to show the equation like in EXCEL. You must do it by hand.
OOo can give you the parameters for linear and exponential regression.
For power-type look here please (at the part that SergeM wrote):
http://www.oooforum.org/forum/viewtopic.phtml?t=3155&highlight=power+regression
SergeM (Serge Moutou) has done a good job -> http://www.ooomacros.org/user.php#104423
In the help you will find how to calculate R square.
Then you can write your equation in math with your parameters.
Code:
y = ax^2 + bx + c newline R^2=0.??

Finally paste it as math-object on your chart (looks much nicer than with ECXEL Wink ).

In the chart you can't influence the order of a power-type regression.

In summery, calc is very weak in such jobs. Unfortunately!

If the thread above not helps try gnumeric ( http://www.gnome.org/projects/gnumeric/ ). It may give you the decisive information. You can run it under Windows and Linux.
An other tool is R http://www.r-project.org/ but it is for advanced users, I mean you need a little time to handle it because it comes not with a GUI.
_________________
joerg04

RKWard: http://rkward.sourceforge.net/
sidux: http://sidux.com/index.html
Musix: http://musix.org.ar/en/index.html
Back to top
View user's profile Send private message Visit poster's website
ib@32
Newbie
Newbie


Joined: 02 Apr 2005
Posts: 3

PostPosted: Sun Apr 03, 2005 9:12 am    Post subject: Reply with quote

hmm thanks guys , tryed gnumetric and it seems like it cant do this to .
guess I'll have to use M$ excel
Back to top
View user's profile Send private message
Sam_F
General User
General User


Joined: 03 Jun 2005
Posts: 5

PostPosted: Fri Jul 08, 2005 8:57 am    Post subject: Me too Reply with quote

I'm having this same problem. I found this thread, and got as far as downloading the macro, but now am not sure what to do with the macro. Are there any instructions?

Thanks!
Back to top
View user's profile Send private message
David
Super User
Super User


Joined: 24 Oct 2003
Posts: 5671
Location: Canada

PostPosted: Sat Jul 09, 2005 7:27 pm    Post subject: Reply with quote

ib@32 wrote:
hmm thanks guys , tryed gnumetric and it seems like it cant do this to .
guess I'll have to use M$ excel


I've mentioned here and there a rather nice little free program called, simply, "Graph", available at http://www.padowan.dk/graph/

It might do what you need ...and more.

David.
Back to top
View user's profile Send private message
Science_Guy
Newbie
Newbie


Joined: 10 Nov 2005
Posts: 1

PostPosted: Thu Nov 10, 2005 10:17 am    Post subject: Reply with quote

This is a major shortcoming of OOo. What's the point of running a regression if you can't display the equation? The programmers understand that this makes Calc completely useless to scientists and engineers, right?

I was HOPING that Calc would treat graphing as a major feature instead of an afterthought like Excel. Guess not.
Back to top
View user's profile Send private message
RGB
Super User
Super User


Joined: 25 Nov 2003
Posts: 1743
Location: In Lombardy, near a glass of red Tuscany wine

PostPosted: Fri Nov 11, 2005 1:41 am    Post subject: Reply with quote

Science_Guy wrote:
The programmers understand that this makes Calc completely useless to scientists and engineers, right?

Sadly, I never (never) found a spreadsheat program that helps scientist and engineers. If you want to use serious scientific analysis, you need to use a serious scientific program. The most famous in windows is Microcal Origin, but it cost a huge amount of money. In Linux exists Grace and LabPlot (both are GPL)
Back to top
View user's profile Send private message
GDC
Newbie
Newbie


Joined: 09 Jan 2006
Posts: 1

PostPosted: Mon Jan 09, 2006 6:46 am    Post subject: Reply with quote

RGB

Excel is the defacto spreadsheet of Science and Engineering, at least in an industrial sense. I agree with Science Guy that the inability to show the equation for a regression line is a major shortcoming of this package.
Back to top
View user's profile Send private message
RGB
Super User
Super User


Joined: 25 Nov 2003
Posts: 1743
Location: In Lombardy, near a glass of red Tuscany wine

PostPosted: Mon Jan 09, 2006 6:56 am    Post subject: Reply with quote

GDC wrote:
Excel is the defacto spreadsheet of Science and Engineering

I work on science from (almost) 10 years, and the defacto standard for data processing is Microcal Origin. Recently I started (in Linux) with LabPlot, and I have great hope in this free project. I don't know about the "industrial sense", but it is not possible to do a serious data analysis with excell or Calc
Back to top
View user's profile Send private message
tbonepower07
Newbie
Newbie


Joined: 18 Jan 2006
Posts: 3

PostPosted: Wed Jan 18, 2006 4:33 pm    Post subject: graphing calculator Reply with quote

A graphing calculator should be able to do this.
A TI-83 - a very common graphing calculator - has simple ways to find regression curves. They are expensive, but are very common so you should be able to borrow one from somebody, possibly a friend or faculty member.
Back to top
View user's profile Send private message
David
Super User
Super User


Joined: 24 Oct 2003
Posts: 5671
Location: Canada

PostPosted: Wed Jan 18, 2006 5:13 pm    Post subject: Reply with quote

RGB wrote:
GDC wrote:
Excel is the defacto spreadsheet of Science and Engineering

I work on science from (almost) 10 years, and the defacto standard for data processing is Microcal Origin.


Have you tried this: http://www.spss.com/scienceproducts.htm ?

David.
Back to top
View user's profile Send private message
doudavisej
Newbie
Newbie


Joined: 25 Sep 2007
Posts: 3

PostPosted: Sun Sep 30, 2007 3:04 pm    Post subject: Reply with quote

I just saw a presentation on new features in OOo 2.3. One was select regression curve on the chart and the equation appears.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Math All times are GMT - 8 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group