svynb: Wrapper for Negative Binomial

View source: R/svymisc.R

svynbR Documentation

Wrapper for Negative Binomial

Description

Wrapper for glm.nb for replicate weights

Usage

svynb(formula, design, subset, ..., scale.weights = FALSE)

Arguments

formula

Model formula

design

Survey design from svrepdesign

subset

Expression to select a subpopulation

...

Other arugments passed to glm.nb

scale.weights

Indicate whether to rescale weights (defaults to false)

References

Lumley, Thomas. Complex Surveys: A Guide to Analisys Using R. Hoboken, NJ: Wiley, 2010. Print.

See Also

withReplicates glm.nb


carlganz/svrepmisc documentation built on July 4, 2023, 6:56 p.m.