Skip to content
Prev 94139 / 398500 Next

r's optim vs. matlab's fminsearch

Thanks for the feedback.  I should've mentioned before that the
function is non-smooth.  Also, it has a 3-element free parameter vector, and
I've been using a grid of 27 vectors of starting parameters.  

Anthony

-----Original Message-----
From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] 
Sent: Monday, June 12, 2006 1:40 PM
To: Anthony Bishara
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] r's optim vs. matlab's fminsearch

Unless you know the function to be non-smooth, I suggest you use 
method="BFGS" in R.

BTW, all such algorithms are only designed to find local minima, and so 
the choice of starting point may be crucial.
On Mon, 12 Jun 2006, Anthony Bishara wrote:

            
stuck
default
and
http://www.R-project.org/posting-guide.html