How to generate random numbers from the Weibull-Gamma distribution ?

3 ビュー (過去 30 日間)
Abdoulaye Thiam
Abdoulaye Thiam 2019 年 8 月 9 日
編集済み: Abdoulaye Thiam 2019 年 8 月 9 日
Hello,
How to generate random numbers from the Weibull-Gamma distribution ? Something similar to https://www.mathworks.com/help/stats/gamrnd.html
Thanks

採用された回答

Neuropragmatist
Neuropragmatist 2019 年 8 月 9 日
I'm not really familiar with the Weibull-Gamma distribution, do you mean the Gamma-Weibull distribution?
Or do you mean you want to generate random numbers from the Weibull distribution and control the scale parameter which is often referred to as λ:
If that's the case the third input to wblpdf is the scale parameter - which is just called a in the documentation:
Or, if the distribution you want is something different and you know it's formulation can't you generate the Weibull using wblpdf and the Gamma using gampdf and them combine them as necessary? Or model the distribution mathematically and generate the random numbers with your own code:
Hope this helps,
M.
  1 件のコメント
Abdoulaye Thiam
Abdoulaye Thiam 2019 年 8 月 9 日
編集済み: Abdoulaye Thiam 2019 年 8 月 9 日
I think it is the same. People called Gamma-Weibull distribution or Weibull-Gamma distribution. Your second link seems interesting. Thanks

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by