Re: [R] Optimize multiple variable sets

2010-12-06 Thread Hans W Borchers
peter dalgaard gmail.com> writes: > > On Dec 6, 2010, at 15:15 , Jonathan P Daily wrote: > > > Correct me if I'm wrong, but isn't the minimal x value in your example > > the same regardless of what positive coefficient you apply to x? If that > > is the case, you would expect the same min(x) for

Re: [R] Optimize multiple variable sets

2010-12-06 Thread Ravi Varadhan
org; sandra lag Subject: Re: [R] Optimize multiple variable sets I suppose I should have been more clear. I saw that her interval did not include the actual minimum, but I was asking if (and if, why) she was expecting the minimum x value to be different for each run. If the y value were returned t

Re: [R] Optimize multiple variable sets

2010-12-06 Thread Jonathan P Daily
uot;Is the room still a room when its empty? Does the room, the thing itself have purpose? Or do we, what's the word... imbue it." - Jubal Early, Firefly peter dalgaard wrote on 12/06/2010 09:39:43 AM: > [image removed] > > Re: [R] Optimize multiple variable

Re: [R] Optimize multiple variable sets

2010-12-06 Thread peter dalgaard
On Dec 6, 2010, at 15:15 , Jonathan P Daily wrote: > Correct me if I'm wrong, but isn't the minimal x value in your example the > same regardless of what positive coefficient you apply to x? If that is > the case, you would expect the same min(x) for each iteration. > > i.e. in the interval [0

Re: [R] Optimize multiple variable sets

2010-12-06 Thread Jonathan P Daily
the word... imbue it." - Jubal Early, Firefly r-help-boun...@r-project.org wrote on 12/06/2010 07:00:57 AM: > [image removed] > > [R] Optimize multiple variable sets > > sandra lag > > to: > > r-help > > 12/06/2010 08:54 AM > > Sent by:

[R] Optimize multiple variable sets

2010-12-06 Thread sandra lag
Hi, I usually use optimize function for ML Estimation. Now I´ve got a data frame with many sets, but I can´t save estimates each time I run the code for each data set (I´m using a for loop with my loglikelihood function and works ok but when I apply another for loop to: optimize(my.loglikeliho