wbllike
Weibull negative loglikelihood
Syntax
Description
[
also returns the inverse of the Fisher information matrix nlogL,aVar] = wbllike(___)aVar, using
any of the input argument combinations in the previous syntaxes. 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.
The Weibull negative loglikelihood for uncensored data is
where f is the Weibull probability density function.
wbllike is a utility function for maximum likelihood estimation.
Examples
Input Arguments
Output Arguments
Alternative Functionality
wbllike is a function specific to the Weibull 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',@wblpdf)returns the asymptotic covariance matrix of the MLEs for the Weibull distribution.Create a
WeibullDistributionprobability 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] Patel, J. K., C. H. Kapadia, and D. B. Owen. Handbook of Statistical Distributions. New York: Marcel Dekker, 1976.
Version History
Introduced before R2006a