How to plot the 95% confident (prediction) intervals?

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.
Thank you very much
Tommy

Réponses (1)

Star Strider
Star Strider le 18 Jan 2016

1 vote

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 commentaires

Thank you
Chaman Dewangan —
My pleasure!

Connectez-vous pour commenter.

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Produits

Question posée :

le 18 Jan 2016

Commenté :

le 14 Déc 2020

Community Treasure Hunt

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

Start Hunting!

Translated by