pdf#

Cauchy.pdf(X)[source]#

Probability density function (PDF).

The PDF for the two-parameter cauchy distribution is:

\[f(x | \alpha, \beta) = \frac{1}{\pi \cdot \beta \cdot (1 +(\frac{(x - \alpha)}{\beta})^2)}\]

where \(\beta\) is the scale parameter and \(\alpha\) is the location parameter.

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]