confidence intervals with lsqlin

조회 수: 2 (최근 30일)
Jean-Yves
Jean-Yves 2014년 7월 9일
댓글: chen zhihua 2019년 6월 11일
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!

채택된 답변

Shashank Prasanna
Shashank Prasanna 2014년 7월 9일
편집: Shashank Prasanna 2014년 7월 9일
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
Rohan Kulkarni
Rohan Kulkarni 2018년 11월 14일
Same here! could someone please explai how bootci could be applied to our cases?
chen zhihua
chen zhihua 2019년 6월 11일
fx=@(x)lsqlin(C,d,A,b,Aeq,beq,lb,ub,options);
ci=bootci(nboot,fx,C,d,...)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Linear Least Squares에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by