[Numpy-discussion] weibull distribution has only one parameter?
D.Hendriks at tue.nl
Mon Nov 12 03:51:55 EST 2007
According to (for instance)
http://en.wikipedia.org/wiki/Weibull_distribution the Weibull
distribution has two parameters: lambda > 0 is the scale parameter
(real) and k > 0 is the shape parameter (real). However, the
numpy.random.weibull function has only a single 'a' parameter (except
for the size parameter which indicates the size of the array to fill
with values - this is NOT a parameter of the distribution itself). My
question is how this 'a' parameter translates to the Weibull
distribution as it 'normally' is and how to sample the distribution when
I have the lambda and k parameters?
More information about the NumPy-Discussion