Re: [R] fitting a hyperbola to data points

2013-04-09 Thread PIKAL Petr
etter to use nonlinear regression ?nls Regards Petr > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Manoj Srivastava > Sent: Monday, April 08, 2013 6:05 PM > To: r-help@r-project.org > Subject: Re: [R] fitt

Re: [R] fitting a hyperbola to data points

2013-04-08 Thread Manoj Srivastava
On Mon, Apr 08 2013, PIKAL Petr wrote: Thanks for responding. > without data we can provide just basic help. > fit<-lm(Time~I(1/Requests)) > shall give you hyperbolic fit. > You can test if your data follow this assumption by > plot(1/Requests, Time) > which shall for straight line. > >

Re: [R] fitting a hyperbola to data points

2013-04-08 Thread PIKAL Petr
ole output directly to your mail. Petr > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Manoj Srivastava > Sent: Monday, April 08, 2013 4:08 AM > To: r-h...@stat.math.ethz.ch > Subject: [R] fitting a hyp

[R] fitting a hyperbola to data points

2013-04-08 Thread Manoj Srivastava
Hi, I am new to R, and I suspect I am missing something simple. I have a data set that performance data that correlates request rate to response times http://pastebin.com/Xhg0RaUp There is some jitter in the data, but mostly it looks like a hockey puck curve. It does