using nlparci with weighted error function
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Linear and Nonlinear Regression in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!