lpdf#
- Exponential.lpdf(X)[source]#
Log of the Probability Density Function (LPDF).
The log-PDF for the two-parameter exponential distribution is:
\[\ln f(x | \alpha, \beta) = \ln(\alpha) - \alpha \cdot (x - \beta)\]- Parameters:
X (ArrayLike) – The input data points at which to evaluate the LPDF.
- Returns:
The log-PDF values corresponding to each point in
X.- Return type:
NDArray[np.float64]