필터 지우기
필터 지우기

Trustworthy covariance matrix and standard deviation from lsqnonlin with 'Local minimum possible'

조회 수: 4 (최근 30일)
I'm doing parameter estimation with lsqnonlin function and after many iterations I get ' Local minimum possible '. As an output I'm getting the covariance matrix and standard deviations too for my parameter set. My question is: even if I don't get the ' Local minimum found ' message, are the covariance matrix and standard deviations trustworthy? Their value are satisfactory to my case but are they are trustworthy with 'Local minimum possible' message?
I'm getting Local minimum possible due to the First-order optimality indicator, which is rather high (3.51 for my problem). It seems to be stuck at this value even if norm of step < 1e-10.
More details: I'm initializing lsqnonlin rather close to the optimal values because I'm using fminsearch to find a good initial value. fminsearch doesn't give the covariance matrix, so I'm using the result from fminsearch to initialize lsqnonlin and get the covariance matrix.
  댓글 수: 1
Minu Pilvankar
Minu Pilvankar 2019년 10월 21일
Hi,
I see you mentioned yu ar egetting covariance matrix in the output. could you please tell me how you get covriance matrix from lsqnonlin?

댓글을 달려면 로그인하십시오.

답변 (1개)

Matt J
Matt J 2017년 10월 12일
You can use the exitflag output to see if lsqnonlin thinks it succeeded. But even if it thinks so, it can always be wrong.

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by