why does fitlm not provide prediction intervals?
7 次查看(过去 30 天)
显示 更早的评论
fitlm provides 95% confidence intervals but not prediction intervals. Why? Is there an easy way to get prediction intervals?
0 个评论
回答(1 个)
Hannah Chan
2020-8-3
If you use [ypred,yci] = predict(mdl,Xnew,Name,Value)
With Name = 'Prediction', and value = 'observation' it should give the prediction interval
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!