using nlparci with weighted error function
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Linear and Nonlinear Regression finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!