sample from arbitrary continuous distribution
Afficher commentaires plus anciens
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 commentaire
the cyclist
le 8 Jan 2017
Are your x, y, and z correlated with each other, or independent?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Copula Distributions and Correlated Samples dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!