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.



