Fitting bimodal wind data using Weibull mixture in matlab
显示 更早的评论
Hi, I have wind data that am analyzing and I intially chose Weibull distribution to fit the data. However, from the results, the wind data displays bimodal behaviour hence unimodal weibull distribution is not fitting it well. I intend to use Weibull mixture to get more accurate resukts. How can I constract Weibull mixture in matlab? Down here is a sample of what i get with unimodal weibull distribution. Kindly help anyone who can. I will really appreciate.

采纳的回答
更多回答(1 个)
Jeff Miller
2022-7-30
0 个投票
Your sample graph is not a probability distribution, Weibull or otherwise. For a probability distribution, the vertical axis always shows some measure of probability or relative frequency--wind speed is not such a measure. Also, for a probability distribution the possible values of the variable are on the horizontal axis (I guess these values would be the possible wind speeds in your case).
Your graph seems to be a plot of average wind speed versus month, but this is not normally called a probability distribution and it isn't obvious why one might try to fit it with a Weibull distribution.
If you want to describe how wind speed varies across months, thinking of the data as a probability distribution is probably not the right way to go.
5 个评论
okoth ochola
2022-7-31
Jeff Miller
2022-8-1
Is this the histogram including scores from all 12 months? And do you think it should be fit by a mixture because the months appear different in your earlier graph?
If so, then maybe you should start by fitting 2 separate Weibulls--one Weibull for months 2 & 7-11 with the larger wind speeds and a second Weibull for the other months. Mixtures are generally used when there is no way to identify which scores come from which component of the mixture distribution. That isn't the case here, because you know (I assume) which month each score comes from.
FWIW, I don't think that this histogram will be fit well by a mixture of 2 Weibulls either. It is too flat across bins 3-7.
okoth ochola
2022-8-2
Jeff Miller
2022-8-3
@okoth ochola Sorry if I gave you the wrong impression--I know a lot about probability distributions but nothing about wind measurement. The histogram you posted has an unusual shape (or at least one I do not recognize) so I am not sure how to advise you. Perhaps you can learn a lot from your data even if they do not follow one of the traditional distribution shapes (as is often the case)?
okoth ochola
2022-8-4
类别
在 帮助中心 和 File Exchange 中查找有关 Weibull Distribution 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
