scoringrules.logs_loglaplace#
- scoringrules.logs_loglaplace(obs: ArrayLike, locationlog: ArrayLike, scalelog: ArrayLike, *, backend: Backend = None) ArrayLike#
Compute the logarithmic score (LS) for the log-Laplace distribution.
This score is equivalent to the negative log likelihood of the log-Laplace distribution
- Parameters:
- obsarray_like
Observed values.
- locationlogarray_like
Location parameter of the forecast log-laplace distribution.
- scalelogarray_like
Scale parameter of the forecast log-laplace distribution.
- Returns:
- scorearray_like
The LS between obs and Loglaplace(locationlog, scalelog).
Examples
>>> import scoringrules as sr >>> sr.logs_loglaplace(3.0, 0.1, 0.9)