Function Reference: ricelike

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

Negative log-likelihood for the Rician distribution.

nlogL = ricelike (params, x) returns the negative log likelihood of the data in x corresponding to the Rician distribution with (1) non-centrality (distance) parameter s and (2) scale parameter sigma given in the two-element vector params.

[nlogL, acov] = ricelike (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.

[…] = ricelike (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)).

[…] = ricelike (params, x, censor, freq) accepts a frequency vector, freq, of the same size as x. freq typically contains integer frequencies for the corresponding elements in x, but it can contain any non-integer non-negative values. By default, or if left empty, freq = ones (size (x)).

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

See also: ricecdf, riceinv, ricepdf, ricernd, ricefit, ricestat

Source Code: ricelike