sample from arbitrary continuous distribution
Mostrar comentarios más antiguos
Say I have a very complicated probability distribution function: x^(-2)*y^(-3)*exp(-z/t), where x y z t are all continuous positive numbers. The integration in x,y,z,t space is not 1, so there has to be some scaling factor. How can I devise a function, or is there a convenient function with some symbolic that allows me to sample a random, continuous set of numbers from this distribution? What if I want to sample a full conditional distribution, say x, with y,z,t as known?
Many thanks.
1 comentario
the cyclist
el 8 de En. de 2017
Are your x, y, and z correlated with each other, or independent?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Copula Distributions and Correlated Samples 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!