bundles / scipy 1.17.1 / scipy / stats / _fit / FitResult / nllf
function
scipy.stats._fit:FitResult.nllf
source: /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