[SciPy-user] Generate random samples from a non-standard distribution
Fri Oct 19 02:18:46 CDT 2007
Scipy proposes a lot of random distribution in the stats module, just use
2007/10/19, Manu Hack <firstname.lastname@example.org>:
> 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
> 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!
> SciPy-user mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-user