[SciPy-User] generate integer numbers between 0 and 75 from a normal distribution

franck kalala franckkalala at googlemail.com
Wed Jul 20 06:38:15 EDT 2011


yes I want to restrict these numbers between 0 and 75,

2011/7/20 Brennan Williams <brennan.williams at visualreservoir.com>

>
> For a normal distribution you would use...
>
> scipy.stats.norm(loc=mean,scale=stddev)
>
> but if you want to restrict the range of generated values to being >=0 and
> <=75 you will need to use a truncated normal. Is that what you want to do?
>
>
>
> On 20/07/2011 10:22 p.m., franck kalala wrote:
>
> Hi list,
>
>
> I want to generate number between 0 and 75 from normal distribution,  what
> can I use?
>
>
> Thank you
>
> --
> **********
>   ++++
>     ---
>      *
>
>
>
> _______________________________________________
> SciPy-User mailing listSciPy-User at scipy.orghttp://mail.scipy.org/mailman/listinfo/scipy-user
>
>
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
>


-- 
**********
  ++++
    ---
     *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20110720/8bc2bc7c/attachment.html>


More information about the SciPy-User mailing list