pdf#

Weibull.pdf(X)[source]#

Probability density function (PDF).

The PDF for the three-parameter Weibull distribution is:

\[f(x | k, \lambda, \gamma) = \frac{k}{\lambda} \left( \frac{x - \gamma}{\lambda} \right)^{k-1} e^{-((x - \gamma) / \lambda)^k}\]

where \(k\) is the shape, \(\lambda\) is the scale, and \(\gamma\) is the location parameter. The function is zero for \(x < \gamma\).

Parameters:

X (ArrayLike) – The input data points at which to evaluate the PDF.

Returns:

The PDF values corresponding to each point in X.

Return type:

NDArray[np.float64]