This is documentation for an old release of SciPy (version 0.8.). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.stats.rv_continuous.nnlf

rv_continuous.nnlf(theta, x)

Negative log likelihood function.

This function should be minimized to produce maximum likelihood estimates (MLE).

Returns :

nnlf : float

For an array of x values, this reeturns the sum (along axis=0) of the log-likelihood (i.e. assumes independent observations).

This Page