gevlike
Generalized extreme value negative loglikelihood
Description
[
also returns the inverse of the Fisher information matrix nlogL,aVar] = gevlike(params,x)aVar. If
the values in params are the maximum likelihood estimates (MLEs) of
the parameters, the diagonal elements of aVar are their asymptotic
variances. aVar is based on the observed Fisher information, not the
expected information.
When k < 0, the GEV
distribution is the type III extreme value distribution. When k >
0, the GEV distribution is the type II (Frechet) extreme value
distribution. If w has a Weibull distribution, then –w has
a type III extreme value distribution and 1/w has a type II extreme value
distribution. In the limiting case as k approaches 0, the
GEV distribution is the mirror image of the type I (Gumbel) extreme value distribution. For more
information, see Generalized Extreme Value Distribution.
The mean of the GEV distribution is not finite when k ≥
1, and the variance is not finite when k ≥
1/2. The GEV distribution has positive density only for values of
x such that k*(x – mu)/sigma >
–1.
Examples
Input Arguments
Output Arguments
Alternative Functionality
gevlike is a function specific to the generalized extreme value
distribution. Statistics and Machine Learning Toolbox™ also offers the generic functions mlecov, fitdist, negloglik, and proflik and the Distribution
Fitter app, which support various probability distributions.
mlecovreturns the asymptotic covariance matrix of the MLEs of the parameters for a distribution specified by a custom probability density function. For example,mlecov(params,x,'pdf',@gevpdf)returns the asymptotic covariance matrix of the MLEs for the generalized extreme value distribution.Create a
GeneralizedExtremeValueDistributionprobability distribution object by fitting the distribution to data using thefitdistfunction or the Distribution Fitter app. The object propertyParameterCovariancestores the covariance matrix of the parameter estimates. To obtain the negative loglikelihood of the parameter estimates and the profile of the likelihood function, pass the object tonegloglikandproflik, respectively.
References
[1] Embrechts, P., C. Klüppelberg, and T. Mikosch. Modelling Extremal Events for Insurance and Finance. New York: Springer, 1997.
[2] Kotz, S., and S. Nadarajah. Extreme Value Distributions: Theory and Applications. London: Imperial College Press, 2000.
Extended Capabilities
Version History
Introduced before R2006a