How to add confidence intervals (95%) in a return level plot for a Weibull3 distribution?
조회 수: 6 (최근 30일)
이전 댓글 표시
I have gotten a code from a colleague, which I have to update. The code (EVA_Weibull3.m) conducts a extreme value analysis by using the Weibull3 distribution for wind data (Wind_Krakenes_2005-2016). To evaluate the max values a block maximum method is used, with a block width of 30 days.
The script is working, but I want to include confidence intervals for the Weibull 3 distribution when plotting the return level. My figure now only contains the block maximum value of the data (blue dots) and the return value of the created distribution (black line).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168664/image.png)
My problem is that I'm not sure how to calculate the 95% confidence intervals?
I have attached the code, since it is almost 200 lines and I'm not sure what information is needed to calculate the 95% confidence intervals.
Mari
댓글 수: 0
답변 (1개)
Mary Abbott
2017년 10월 30일
Hello,
The "wblfit" function can be used to estimate the confidence interval of the parameters of a Weibull distribution:
https://www.mathworks.com/help/stats/wblfit.html
참고 항목
카테고리
Help Center 및 File Exchange에서 Exploration and Visualization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!