How to create a random gamma distributed vector with a mean of 0.1 and entries between 0 and 1?
Mostrar comentarios más antiguos
I would like to create a random gamma distributed vector with a specific mean (0.1) and only values between 0 and 1. How ? Just how?
1 comentario
Sky Sartorius
el 11 de Sept. de 2017
The gamma distribution is unbounded, which makes it a difficult candidate for what you're trying to do without adding steps such as clipping.
Check out the beta distribution to see if that will work for you. You can use betaincinv to help generate the vector.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Gamma Functions en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!