Why are prediction intervals on fitlm NaN
2 views (last 30 days)
Show older comments
Using
mdl = fitlm(x_mlr,y,'quadratic'); [y,pi] = predict(mdl,x,'Prediction','observation');
results in perfectly fitting model but in a pi matrix containing NaNs only. Any suggestion why this is the case. It works fine for:
mdl = fitlm(x_mlr,y,'linear');
Thank you in advance
0 Comments
Answers (0)
See Also
Categories
Find more on Analysis of Variance and Covariance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!