Compute the negative log-likelihood of data under the generalized extreme value (GEV) distribution with given parameter values.
x = -5:-1; k = -0.2; sigma = 0.3; mu = 0.5; [L, ~, C] = gevlike ([k sigma mu], x);
See also: gevcdf, gevfit, gevinv, gevpdf, gevrnd, gevstat.
Package: statistics