General Beta distribution with in arbitrary limits?

4 views (last 30 days)
Pappu Murthy
Pappu Murthy on 4 Aug 2015
Commented: Jeff Miller on 17 Aug 2018
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.

Accepted Answer

Torsten
Torsten on 5 Aug 2015
  3 Comments
Jeff Miller
Jeff Miller on 17 Aug 2018
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.

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!

Translated by