{ } Raw JSON

bundles / scipy latest / 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, optional

The 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, optional

The data for which the log-likelihood function is to be evaluated. Default is the data to which the distribution was fit.

Returns

nllf : float

The negative of the log-likelihood function.

Aliases

  • scipy.stats._fit.FitResult.nllf