calculating and plotting 95% confidence intervals
38 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
In the attached figure I plot the daily mean hot temperature. Instead of plotting the standard deviation around the mean, I would like to plot 95% confidence intervals around the mean.
I have attached my current code to make this figure.
Thanks in advance!
run average_temp_question
0 Kommentare
Akzeptierte Antwort
Rik
am 28 Sep. 2023
A 95% confidence interval means 2 standard deviations on either side. So you simply need to insert *2 in your code.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations 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!