Azzera filtri
Azzera filtri

why does fitlm not provide prediction intervals?

7 visualizzazioni (ultimi 30 giorni)
Isabel Chen
Isabel Chen il 31 Gen 2015
Risposto: Hannah Chan il 3 Ago 2020
fitlm provides 95% confidence intervals but not prediction intervals. Why? Is there an easy way to get prediction intervals?

Risposte (1)

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

Community Treasure Hunt

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

Start Hunting!

Translated by