[SciPy-user] Generate random samples from a non-standard distribution

Matthieu Brucher matthieu.brucher@gmail....
Fri Oct 19 02:18:46 CDT 2007


Scipy proposes a lot of random distribution in the stats module, just use
them ;)


2007/10/19, Manu Hack <manuhack@gmail.com>:
> Hi,
> I've been goolging around but not sure how to generate random samples
> given the density function of a random variable.  I was looking around
> something like scipy.stats.rv_continuous but couldn't find anything
> useful.
> Also, if one wants to do Markov Chain Monte Carlo, is scipy possible
> and if not, what should be a workaround (if still want to do in
> Python).  I heard something like openbugs but seems that debian
> doesn't have a package.
> Any input is appreciated.  Thanks!
> Manu
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20071019/3e9d8277/attachment.html 

More information about the SciPy-user mailing list