[R] [newbie] Want to perform some simple regressions.

2005-08-28 Thread Thomas Baruchel
Hi, I am a very newbie to R, and also have no knowledge concerning statistics. Nevertheless I think R might be the right software for a very specific number theory problem I sometime have. Studying some properties, I often get sequences of real numbers (let's call them y, the index x being 0, 1,

Re: [R] [newbie] Want to perform some simple regressions.

2005-08-28 Thread Thomas Baruchel
On Sun, Aug 28, 2005 at 09:48:15AM +0200, Thomas Baruchel wrote: Is R the right choice ? Please, could you step by step show me how you would do on this example (data below) in order to let me I forgot my data :-( 0 2.205954909440447 1 8.150580118785099 2 15.851323727378597 3

Re: [R] [newbie] Want to perform some simple regressions.

2005-08-28 Thread Sean O'Riordain
Hi Thomas, I'm not an expert - so I might use incorrect terminology, but hopefully you'll get the picture! Assuming that you've got your data in a .CSV file, you'd first read in your data, where the first three lines might look like... x,y 0,2.205954909440447 1,8.150580118785099 # load the info

Re: [R] [newbie] Want to perform some simple regressions.

2005-08-28 Thread Duncan Murdoch
Sean O'Riordain wrote: Hi Thomas, I'm not an expert - so I might use incorrect terminology, but hopefully you'll get the picture! Assuming that you've got your data in a .CSV file, you'd first read in your data, where the first three lines might look like... x,y 0,2.205954909440447

Re: [R] [newbie] Want to perform some simple regressions.

2005-08-28 Thread jim holtman
try 'nls' Here is your data applied to it. It looks like you had an 'exact' fit: x.1[1:10,] V1V2 1 0 2.205955 2 1 8.150580 3 2 15.851324 4 3 22.442796 5 4 29.358580 6 5 36.460605 7 6 43.751692 8 7 51.223688 9 8 58.866102 10 9 66.668220 x.p - nls(V2 ~