How we generate random variates from a generalized poisson distribution?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
ektor
el 19 de Oct. de 2015
Comentada: ektor
el 19 de Oct. de 2015
Dear all, I want to use generate draws from the "generalized poisson distribution". Is there any function in matlab to do that?
thanks
Respuesta aceptada
Image Analyst
el 19 de Oct. de 2015
If you have the Statistics and Machine Learning Toolbox, that is one of the distributions given in the random() function. From the help:
Generate a single random value from Poisson distributions with rate parameters 1, 2, ..., 6, respectively:
x2 = random('Poisson',1:6,1,6)
x2 =
0 0 1 2 5 7
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!