Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: use fminsearch and fmincon to find MLE
Date: Fri, 14 Dec 2012 00:25:19 +0000 (UTC)
Organization: Xoran Technologies
Lines: 12
Message-ID: <kadrlf$i7v$1@newscl01ah.mathworks.com>
References: <kadqg5$ehk$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1355444719 18687 172.30.248.48 (14 Dec 2012 00:25:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 14 Dec 2012 00:25:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1440443
Xref: news.mathworks.com comp.soft-sys.matlab:784790

"Lizzy " <lizzy1230@gmail.com> wrote in message <kadqg5$ehk$1@newscl01ah.mathworks.com>...
> Hi,
> I'm trying to estimate coefficients and sigma in a MLE function. I guess sigma is around 9. But when I use fminsearch, the result is very different from when I use fmincon, constrainted sigma to be larger than 0.0000000001, even though I set the same initial value to sigma (set as 9). Can anyone please explain to me why it is like this?
==============

A few ideas,

(1) You're running a constrained optimization with FMINCON but an unconstrained optimization with FMINSEARCH. So, why shouldn't their results be different?

(2) FMINSEARCH uses a heuristic algorithm, not gaurnateed to converge except for problems with a single unknown. Conversely, FMINCON uses algorithms which are more robustly convergent in multi-variable problems. How many unknowns do you have?

(3) What reason do we have to believe the solution is unique?