spleaf.Spleaf.loglike#

Spleaf.loglike(y)#

Compute the (natural) logarithm of the likelihood for a given vector of residuals \(y\).

Parameters:
y(n,) ndarray

The vector of residuals \(y\).

Returns:
loglikefloat

The natural logarithm of the likelihood.