why does fitlm not provide prediction intervals?

10 Ansichten (letzte 30 Tage)
Isabel Chen
Isabel Chen am 31 Jan. 2015
Beantwortet: Hannah Chan am 3 Aug. 2020
fitlm provides 95% confidence intervals but not prediction intervals. Why? Is there an easy way to get prediction intervals?

Antworten (1)

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

Kategorien

Mehr zu Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by