Confidence index of lsqcurvefit?
조회 수: 21 (최근 30일)
이전 댓글 표시
Hi,
I am using the lsqcurvefit function in a model, and am wondering what the default confidence index is for the coefficients that the lsqcurvefit spits out. ( x = lsqcurvefit(@myFun,x0,x,y,lb,ub,options) I have looked through the options and cannot seem to find something that will give me a confidence index of the coefficients.
Thank you in advance for any help
댓글 수: 0
채택된 답변
Star Strider
2012년 7월 2일
편집: Star Strider
2012년 7월 2일
The output of 'lsqcurvefit' will not give you confidence limits on the estimated parameters. You have to use 'nlparci' to calculate them. (It defaults to 95% confidence limits, but you can change those.) You can also use 'nlpredci' to get confidence intervals on the fitted curve.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Interpolation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!