theta.ml {MASS} | R Documentation |
Given the estimated mean vector, estimate theta
of the Negative Binomial
Distribution.
theta.ml(y, mu, n, limit = 10, eps = .Machine$double.eps^0.25, trace = FALSE)
y |
Vector of observed values from the Negative Binomial. |
mu |
Estimated mean vector. |
n |
Number of data points (defaults to length of y )
|
limit |
Limit on the number of iterations. |
eps |
Tolerance to determine convergence. |
trace |
logical: should iteration progress be printed? |
The required estimate of theta
, as a scalar.
## Not run: theta <- theta.ml(y, fitted(fm), dfr = 123)