{ } Raw JSON

bundles / scipy 1.18.0 / scipy / stats / _distn_infrastructure / rv_continuous / _nnlf_and_penalty

function

scipy.stats._distn_infrastructure:rv_continuous._nnlf_and_penalty

source: /scipy/stats/_distn_infrastructure.py:2404

Signature

def _nnlf_and_penalty(self, x, args)

Summary

Compute the penalized negative log-likelihood for the "standardized" data (i.e. already shifted by loc and scaled by scale) for the shape parameters in args.

Extended Summary

x can be a 1D numpy array or a CensoredData instance.

Aliases

  • scipy.stats.rv_continuous._nnlf_and_penalty