bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / stats / _fit / FitResult / nllf
function
scipy.stats._fit:FitResult.nllf
source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_fit.py:87
Signature
def nllf(self, params = None, data = None)Summary
Negative log-likelihood function
Extended Summary
Evaluates the negative of the log-likelihood function of the provided data at the provided parameters.
Parameters
params: tuple, optionalThe shape parameters, location, and (if applicable) scale of the distribution as a single tuple. Default is the maximum likelihood estimates (
self.params).data: array_like, optionalThe data for which the log-likelihood function is to be evaluated. Default is the data to which the distribution was fit.
Returns
nllf: floatThe negative of the log-likelihood function.
Aliases
scipy.stats._fit.FitResult.nllf