pastas.solver.objective.likelihood.GaussianLikelihoodAr1.compute#

pastas.solver.objective.likelihood.GaussianLikelihoodAr1.compute(res: pastas.typing.ArrayLike, p: pastas.typing.ArrayLike) → float#

Compute the log-likelihood.

Parameters:
  • res (array) – Residuals of the model.

  • p (array or list) – Parameters of the log-likelihood function.

Returns:

ln – Log-likelihood.

Return type:

float