[R] optim question

2012-05-09 Thread John C Nash
and change. Best, JN Message: 4 Date: Tue, 8 May 2012 14:35:10 -0500 From: Wenhao Gui guiwen...@gmail.com To: r-help@r-project.org Subject: [R] optim question Message-ID: CABZdO=zKr1wsXmTOQ54UieVQfpkAx=cyt0dzip7yt1cjb6e...@mail.gmail.com Content-Type: text/plain Hello, I used optim

[R] optim question

2012-05-08 Thread Wenhao Gui
Hello, I used optim to find the MLE estimates of some parameters. See the code below. It works for data1(x). but It did not work for data2 and the error says L-BFGS-B needs finite values of 'fn' . data2: c(x, 32) that is, if I added the number 32 at the end of data1. The error appears

Re: [R] optim() question

2009-05-27 Thread John C Nash
: Tuesday, May 26, 2009 2:48 PM To: r-h...@stat.math.ethz.ch Subject: [R] optim() question I've seen with other software the capability for the optimizer to switch algorithms if it is not making progress between iterations. Is this capability available in optim()? Thanks, Stephen Collins, MPP | Analyst

[R] optim() question

2009-05-26 Thread Stephen Collins
I've seen with other software the capability for the optimizer to switch algorithms if it is not making progress between iterations. Is this capability available in optim()? Thanks, Stephen Collins, MPP | Analyst Health Benefits | Aon Consulting [[alternative HTML version deleted]]