why does fitlm not provide prediction intervals?
7 views (last 30 days)
Show older comments
fitlm provides 95% confidence intervals but not prediction intervals. Why? Is there an easy way to get prediction intervals?
0 Comments
Answers (1)
Hannah Chan
on 3 Aug 2020
If you use [ypred,yci] = predict(mdl,Xnew,Name,Value)
With Name = 'Prediction', and value = 'observation' it should give the prediction interval
0 Comments
See Also
Categories
Find more on Dimensionality Reduction and Feature Extraction 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!