How to plot and calculate 95% confidence interval
422 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Sara
am 30 Nov. 2018
Kommentiert: Sara
am 10 Dez. 2018
Hello,
I have two vectors of the actual values and predicted values and I want to calculate and plot 95% confidenence interval just like the image I have attached. Colud you please help me?
thanks a lot.
0 Kommentare
Akzeptierte Antwort
Rishabh Gupta
am 10 Dez. 2018
Hi Sara,
To calculate the 95% confidence intervals of your signal, you first will need to calculate the mean and *|std| (standard deviation) of your experiments at each value of your independent variable. The standard way to do this is to calculate the standard error of the mean at each value of your independent variable, multiply it by the calculated 95% values of the t-distribution (here), then add and subtract those values from the mean.
Please refer to following MATLAB Answer for more details:
I hope this helps.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical 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!