Generating Random Variables with beta Distribution

I need to generate n random varibales with Beta Distribution with specified mean, variance, meninmum and maximum limit. I would be thankful if you can help me.

Antworten (1)

Walter Roberson
Walter Roberson am 26 Mär. 2019

0 Stimmen

3 Kommentare

I have problem with determinig the alfa and beta parameters, how is possible to determine these paramaters??
Torsten
Torsten am 27 Mär. 2019
Bearbeitet: Torsten am 27 Mär. 2019
You write you want to generate random numbers with specified mean and variance.
Mean and variance are functions of alpha and beta:
So solve these relations E[X]=f(alpha,beta), Var[X]=g(alpha,beta) for alpha and beta.
The difficulty with the above is that Wikipedia only deals with the case of x ~ [0, 1] or x ~ (0,1) rather than a more generalized range.

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 26 Mär. 2019

Kommentiert:

am 27 Mär. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by