why does fitlm not provide prediction intervals?

10 vues (au cours des 30 derniers jours)
Isabel Chen
Isabel Chen le 31 Jan 2015
fitlm provides 95% confidence intervals but not prediction intervals. Why? Is there an easy way to get prediction intervals?

Réponses (1)

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

Catégories

En savoir plus sur Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by