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?

回答(1 个)

Hannah Chan
Hannah Chan 2020-8-3
Using [ypred,yci] = predict(mdl,Xnew) gives the confidence interval.
With Name = 'Prediction', and value = 'observation' it should give the prediction interval

类别

Help CenterFile Exchange 中查找有关 Dimensionality Reduction and Feature Extraction 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by