This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _distn_infrastructure / rv_generic / nnlf

function

scipy.stats._distn_infrastructure:rv_generic.nnlf

source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_distn_infrastructure.py:1556

Signature

def nnlf(self, theta, x)

Summary

Negative loglikelihood function. Notes ----- This is -sum(log pdf(x, theta), axis=0) where theta are the parameters (including loc and scale).

Aliases

  • scipy.stats._distn_infrastructure.rv_generic.nnlf