Re: [R] Negative exponential fit

2011-11-30 Thread Ben Bolker
On 11-11-30 11:32 AM, peter dalgaard wrote: > > On Nov 29, 2011, at 23:19 , Ben Bolker wrote: > >> rch4 geneseo.edu> writes: >> >>> >>> We need help >>> >>> We are doing a project for a statistical class in and we are >>> looking at world record times in different running events over >>>

Re: [R] Negative exponential fit

2011-11-30 Thread peter dalgaard
On Nov 29, 2011, at 23:19 , Ben Bolker wrote: > rch4 geneseo.edu> writes: > >> >> We need help >> >> We are doing a project for a statistical class in and we are looking at >> world record times in different running events over time. We are trying to >> fit the data with a negative expone

Re: [R] Negative exponential fit

2011-11-30 Thread Indrajit Sengupta
Thanks Peter, will take a look at this package. Regards, Indrajit From: Peter Ruckdeschel To: r-h...@stat.math.ethz.ch Sent: Wednesday, November 30, 2011 5:03 PM Subject: Re: [R] Negative exponential fit I do not want to shed out any doubt as to the merits

Re: [R] Negative exponential fit

2011-11-30 Thread Peter Ruckdeschel
rch4 > To: r-help@r-project.org > Sent: Tuesday, November 29, 2011 8:39 AM > Subject: [R] Negative exponential fit > > We need help > > We are doing a project for a statistical class in and we are looking at > world record times in different running events over time. We are

Re: [R] Negative exponential fit

2011-11-30 Thread Uwe Ligges
ship with R. Best, Uwe Regards, From: Uwe Ligges To: Indrajit Sengupta Cc: "r-help@r-project.org"; rch4 Sent: Tuesday, November 29, 2011 7:33 PM Subject: Re: [R] Negative exponential fit On 29.11.2011 07:06, Indrajit Sengupta wrote: What have

Re: [R] Negative exponential fit

2011-11-29 Thread Indrajit Sengupta
, 2011 8:37 AM Subject: Re: [R] Negative exponential fit Thank you for your suggestions. We are currently working with an the nls function, but are having trouble getting a curve that fits our data. We have tried using the following formula: mod1 = nls(time~a*exp(b*(date)), start=list(a=4.178,b=-1.18

Re: [R] Negative exponential fit

2011-11-29 Thread Indrajit Sengupta
ing it the *default* ... who defined that? Best, Uwe Ligges > > Regards, > Indrajit > > > > >  From: rch4 > To: r-help@r-project.org > Sent: Tuesday, November 29, 2011 8:39 AM > Subject: [R] Negative exponential fit > > We

Re: [R] Negative exponential fit

2011-11-29 Thread rch4
Thank you for your suggestions. We are currently working with an the nls function, but are having trouble getting a curve that fits our data. We have tried using the following formula: mod1 = nls(time~a*exp(b*(date)), start=list(a=4.178,b=-1.18)) av=mdate bv=predict(mod1,list(mdate=av)) length(av)

Re: [R] Negative exponential fit

2011-11-29 Thread Ben Bolker
rch4 geneseo.edu> writes: > > We need help > > We are doing a project for a statistical class in and we are looking at > world record times in different running events over time. We are trying to > fit the data with a negative exponential but we just cant seem to get a > function that works

Re: [R] Negative exponential fit

2011-11-29 Thread Uwe Ligges
fined that? Best, Uwe Ligges Regards, Indrajit From: rch4 To: r-help@r-project.org Sent: Tuesday, November 29, 2011 8:39 AM Subject: [R] Negative exponential fit We need help We are doing a project for a statistical class in and we are looking at wo

Re: [R] Negative exponential fit

2011-11-28 Thread Indrajit Sengupta
What have you tried so far - can you explain? "fitdistrplus" package is the default package for fitting distributions. Regards, Indrajit From: rch4 To: r-help@r-project.org Sent: Tuesday, November 29, 2011 8:39 AM Subject: [R] Negative exponentia

[R] Negative exponential fit

2011-11-28 Thread rch4
We need help We are doing a project for a statistical class in and we are looking at world record times in different running events over time. We are trying to fit the data with a negative exponential but we just cant seem to get a function that works properly. we have on our x-axis the date