[SciPy-User] help with weibull distribution

josef.pktd@gmai... josef.pktd@gmai...
Wed Mar 23 10:40:25 CDT 2011


On Wed, Mar 23, 2011 at 11:32 AM, Vineeth Mohan <vineethrakesh@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@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>


More information about the SciPy-User mailing list