
How Predint works?
9 views (last 30 days)
Show older comments
I was working on a fit for that I had to generate the confidence bounds.
I used predint function for this purpose.

This is a theta VS time plot. I will be attaching the correspoding data (those in dots) for that.The function that I want to fit with the data is
for this plot Take x=1.
for this plot Take x=1.Now to obtain the upper and lower bounds I simply used predint ,but now I have to show how I got the bounds mathematically.
So I wanted to know how predint works and what method does it follows to generate curves for upper and lower bound for any confidence.
Thanks.
1 Comment
Adam Danz
on 16 Jun 2020
This question is a bit outside of the scope of the forum since it really isn't about Matlab. If you look up "prediction interval" in most stats textbooks you'll see how prediction intervals are computed. You can also search the internet for "Difference between confidence interval and prediction interval". They are not the same.

Answers (0)
See Also
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!