Weibull distribution
1 次查看(过去 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!