nlpredci for lsqnonlin and a set of ODEs
Show older comments
Hi There
I am trying to get the prediction intervals for my outputs for a nonlinear parameter estimation probelm where the function is calculated by a set of ODEs. Is it possible to use nlpredci with the results of lsqnonlin like jacobian, residuals etc to get the prediction intervals? How do you set up nlpredci for this problem? nlparci can be done but nlpredci is a bit confusing. Code is attached
Thanks for your input!
Answers (1)
Star Strider
on 13 Apr 2015
0 votes
If I remember correctly, nlpredci will only calculate predictions for a vector-valued dependent variable, not a matrix, so it will work with nlinfit and with vector-valued dependent variables from lsqcurvefit. I remember encountering this problem when I attempted something similar. I have not been able to find a work-around for it.
Categories
Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!