Function Reference: nakalike

statistics: nlogL = nakalike (params, x)
statistics: [nlogL, acov] = nakalike (params, x)
statistics: […] = nakalike (params, x, censor)
statistics: […] = nakalike (params, x, censor, freq)

Negative log-likelihood for the Nakagami distribution.

nlogL = nakalike (params, x) returns the negative log likelihood of the data in x corresponding to the Nakagami distribution with (1) shape parameter mu and (2) spread parameter omega given in the two-element vector params.

[nlogL, acov] = nakalike (params, x) also returns the inverse of Fisher’s information matrix, acov. If the input parameter values in params are the maximum likelihood estimates, the diagonal elements of params are their asymptotic variances.

[…] = nakalike (params, x, censor) accepts a boolean vector, censor, of the same size as x with 1s for observations that are right-censored and 0s for observations that are observed exactly. By default, or if left empty, censor = zeros (size (x)).

[…] = nakalike (params, x, censor, freq) accepts a frequency vector, freq, of the same size as x. freq must contain non-negative integer frequencies for the corresponding elements in x. By default, or if left empty, freq = ones (size (x)).

Further information about the Nakagami distribution can be found at https://en.wikipedia.org/wiki/Nakagami_distribution

See also: nakacdf, nakainv, nakapdf, nakarnd, nakafit, nakastat

Source Code: nakalike