How to plot the 95% confident (prediction) intervals?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi everyone
Is there a function to add 95% confident bounds (Prediction bounds) to my plot, like the one below. The dashed line suppose to be the confidence interval.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/153366/image.jpeg)
Thank you very much
Tommy
댓글 수: 0
답변 (1개)
Star Strider
2016년 1월 18일
There is no one function that will plot them. You can calculate them with the predict function for linear models and the nlpredci for nonlinear models. You can then plot the results.
댓글 수: 2
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!