theta.mmmod {mmlcr}R Documentation

Estimate theta of the Negative Binomial by Moments

Description

Estimate theta of the negative binomial by moments, adapted to mmlcrfit from theta.mm of the MASS library

Usage

theta.mmmod(y, u, dfr, wts, limit = 10, eps = .Machine$double.eps^0.25)

Arguments

y Vector of observed values.
u Estimated mean vector.
dfr Residual degrees of freedom.
wts Weights for the observations.
limit Limit on iterations.
eps Convergence tolerance.

Value

Estimate of theta.

See Also

theta.mm, mmlcrfit, theta.mm from the MASS library


[Package mmlcr version 1.3.5 Index]