On Mon, Jul 27, 2009 at 5:59 AM, Carlo
Hamalainen<carlo.hamalai...@gmail.com> wrote:
>
> Hi,
>
> Does Sage have anything for generating discrete random variables
> according to some user-defined distribution? DiscreteRandomVariable
> doesn't seem to actually generate things. Or am I missing something
> really obvious?
>
> I'm wondering if there is a Python-accessible implementation of the
> code here: http://www.jstatsoft.org/v11/i03/paper

I'm not aware of anything in Sage to do this.  scipy.stats has a lot
of continuous random variables and code (often very very slow) for
generating random values using them.     It's often incredibly useful
having code to quickly generate random values from some distribution.

 -- William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to