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

3 visualizzazioni (ultimi 30 giorni)
Tommy
Tommy il 18 Gen 2016
Commentato: Star Strider il 14 Dic 2020
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

Risposte (1)

Star Strider
Star Strider il 18 Gen 2016
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.

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by