rayllike
Negative log-likelihood for the Rayleigh distribution.
nlogL = rayllike (sigma, x)
returns the negative
log likelihood of the data in x corresponding to the Rayleigh
distribution with rate parameter sigma. x must be a vector of
non-negative values.
[nlogL, acov] = rayllike (sigma, x)
also
returns the inverse of Fisher’s information matrix, acov. If the input
rate parameter, sigma, is the maximum likelihood estimate, acov
is its asymptotic variance.
[…] = rayllike (sigma, x, 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 Rayleigh distribution can be found at https://en.wikipedia.org/wiki/Rayleigh_distribution
See also: raylcdf, raylinv, raylpdf, raylrnd, raylfit, raylstat
Source Code: rayllike