lpdf#

abstractmethod ContinuousDistribution.lpdf(X)[source]#

Logarithm of the Probability Density Function.

Evaluating the log-PDF is often more numerically stable than evaluating the PDF directly, especially for very small probability values.

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]