using nlparci with weighted error function
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello.
I have the same problem than: https://fr.mathworks.com/matlabcentral/answers/265273-how-to-correctly-use-lsqnonlin-in-conjunction-with-nlparci-and-nlpredci-by-fitting-to-a-weighted-fu
As this post is really old and not really answered,I ask the question again.
How to calculate parameters confidence interval with for exemple nlparci when the function is weighted. In general case one can write the error to minimize as:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/289673/image.png)
w is the wheight, y the data, f(x) the function to approximate the data.
In my case I use a relative error:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/289674/image.png)
I used the lsqnonlin function and fitted during 5 days since my function is slow and since I have 7 parameters. I recorded the output of lsqnonlin
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!