ML.k: Maximum likelihood algorithm for determining the binomial dispersal coefficient
Description
The function uses the maximum likelihood method described by Bliss and R. A. Fisher (1953) to determine maximum likelihood estimates for the binomial parameters m (the mean) and k (a parameter describing aggregation/dispersion).
Usage
ML.k(f, x, res = 1e-06)
Value
Returns a list with two items
k
The negative binomial dispersion parameter, k
m
The negative binomial distribution mean, m
Arguments
f
A vector of frequencies for objects in x (must be integers).
x
A vector of counts, must be sequential integers.
res
Resolution for the ML estimator.
Author
Ken Aho
References
Bliss, C. I., and R. A. Fisher (1953) Fitting the negative binomial distribution to biological data. Biometrics 9: 176-200.