wbllike
Weibull negative log-likelihood
📝Syntax
nlogL = wbllike(params, x)
[nlogL, avar] = wbllike(params, x, censoring, freq)
📥Input Arguments
Parameter Description
params two-element vector: scale and shape parameters.
x positive finite real nonempty array: sample data.
censoring array containing 0 or 1 values: right-censoring flags.
freq array of nonnegative finite values: observation frequencies.
📤Output Arguments
Parameter Description
nlogL scalar: negative log-likelihood.
avar 2-by-2 array: approximate covariance matrix.
📄Description

wbllike evaluates the negative log-likelihood of the Weibull distribution.

💡Examples
x = [0.5 1 2 3 5 8];
phat = wblfit(x);
nlogL = wbllike(phat, x);
🔗See Also
wblfitwblpdfwblcdf
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub