calculating and plotting 95% confidence intervals
39 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Rik
2023 年 9 月 28 日
A 95% confidence interval means 2 standard deviations on either side. So you simply need to insert *2 in your code.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!