Hi all,
I'd like to know if a function exists that computes the intervals of confidence of the result of the lsqlin optimisation given the intervals of confidence of the input data.
Using the notations here (<http://www.mathworks.fr/fr/help/optim/ug/lsqlin.html)>, I'm basically looking for confidence intervals of x components given the confidence intervals of d components.
Thanks in advance for your advice!

 Réponse acceptée

Shashank Prasanna
Shashank Prasanna le 9 Juil 2014
Modifié(e) : Shashank Prasanna le 9 Juil 2014

1 vote

If you have constraints (looks like you do since you use lsqlin) then you will have to explore bootstrapping methods to estimate confidence intervals in the presence of constraints.
If you simply have bound constraints then you can transform your data as explained here:
If you do not have constraints or bounds, simply use fitlm which give you all the information you may need to assess your fit:

4 commentaires

Jean-Yves
Jean-Yves le 10 Juil 2014
Thanks, as you suspected, I'm in the first case, so I'll look into bootci!
Hermence Dewintre
Hermence Dewintre le 22 Mai 2018
Modifié(e) : Hermence Dewintre le 22 Mai 2018
Have you found how to have the confidence interval ? I'm in the same situation as you and i can't understand how bootci works
Rohan Kulkarni
Rohan Kulkarni le 14 Nov 2018
Same here! could someone please explai how bootci could be applied to our cases?
chen zhihua
chen zhihua le 11 Juin 2019
fx=@(x)lsqlin(C,d,A,b,Aeq,beq,lb,ub,options);
ci=bootci(nboot,fx,C,d,...)

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by