Weibull distribution
조회 수: 5 (최근 30일)
이전 댓글 표시
I applied a weibull distribution fitting to my data. How can I estimate the associated error?
댓글 수: 0
답변 (2개)
Wayne King
2011년 11월 3일
Hi Ana, did you use fitdist() or wblfit() to get the Weibull parameters?
One thing you can do is use qqplot() to examine the fit graphically.
data = wblrnd(0.5,0.8,100,1);
[parmhat, parmci] = wblfit(data);
pd = ProbDistUnivParam('weibull',[parmhat(1) parmhat(2)]);
qqplot(data,pd);
You can also use a Chi-square goodness of fit test with the null hypothesis that the data are drawn from a Weibull distribution with your estimated parameters:
[h,p] = chi2gof(data,'cdf',{@wblcdf,parmhat(1),parmhat(2)});
댓글 수: 0
Amith Kamath
2011년 11월 3일
AFAIK, there is no particular relation between error calculation and the model you use to fit the data. They are independently calculated quantities. By this, what I really mean to say is that you could apply any fitting error function to any model that you use to estimate the data. Mean Square Error is generally used for measuring the quality of the fitting, and it is irrespective of what model you've used to fit. I hope this answers the question!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Half-Normal Distribution에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!