[SciPy-User] help with weibull distribution

josef.pktd at gmail.com josef.pktd at gmail.com
Wed Mar 23 11:40:25 EDT 2011


On Wed, Mar 23, 2011 at 11:32 AM, Vineeth Mohan <vineethrakesh at gmail.com> wrote:
>
> Hello,
>
> I am trying to generate weibull distributions for the shape and scale
> parameters that I have with me. I am looking at the numpy random module.
> The weibull distribution defined here takes just the shape parameter and
> not the scale parameter. Can any one suggest me what module to use if
> any other module is available.

In general you can just rescale the random variables, for example

>>> scale = 2
>>> scale*numpy.random.weibull(5, size=10)

Josef

>
> Thank You
> Vin
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>



More information about the SciPy-User mailing list