General Beta distribution with in arbitrary limits?

I want to generate Beta Random numbers in interval 2 to 5; I want it to have parameters alpha = 3; and beta=2; and I want it to have a variance = 0.33; How do I do it? I know mean is 1/(1+2/3) =3/5 = 0.6 for interval 0 to 1. Rest I have no clue. Thanks in advance.

 採用された回答

Torsten
Torsten 2015 年 8 月 5 日

0 投票

3 件のコメント

Pappu Murthy
Pappu Murthy 2015 年 8 月 5 日
Thanks.answers my question completely. A very useful compilation of all distributions and how to generate random numbers from those distributions.
David Stolz
David Stolz 2018 年 8 月 16 日
Does this also allow to determine the probability densities of data points under the assumption of a beta distribution with another domain than 0,1? I.e. is there a function like betapdf() for other domains? Thanks in advance
Jeff Miller
Jeff Miller 2018 年 8 月 17 日
Use a linear transformation of the 0,1 random variables to get them into whatever new range you want, i.e., y = a + b*beta01, where you choose a & b to get the desired new domain.

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

その他の回答 (0 件)

製品

質問済み:

2015 年 8 月 4 日

コメント済み:

2018 年 8 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by