필터 지우기
필터 지우기

Weibull distribution

조회 수: 8 (최근 30일)
Ana Carrasco
Ana Carrasco 2011년 11월 3일
I applied a weibull distribution fitting to my data. How can I estimate the associated error?

답변 (2개)

Wayne King
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)});

Amith Kamath
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!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by