Weibull distribution
Story
The quantity
Example
This is a model for aging. The longer an organism lives, the more likely it is to die.
Parameters
There are two parameters, both strictly positive: the shape parameter
Support
The Weibull distribution has support on the nonnegative real numbers.
Probability density function
Cumulative distribution function
Moments
Mean:
Variance:
Usage
Package |
Syntax |
---|---|
NumPy |
|
SciPy |
|
Distributions.jl |
|
Stan |
|
Notes
SciPy has a location parameter, which should be set to zero, with
being the scale parameter.NumPy only provides a version of the Weibull distribution with
. Sampling out of the Weibull distribution may be accomplished by multiplying the resulting samples by .