Learn R Programming

survey (version 4.4-2)

svy.varcoef: Sandwich variance estimator for glms

Description

Computes the sandwich variance estimator for a generalised linear model fitted to data from a complex sample survey. Designed to be used internally by svyglm.

Usage

svy.varcoef(glm.object, design)

Value

A variance matrix

Arguments

glm.object

A glm object

design

A survey.design object

Author

Thomas Lumley

See Also

svyglm,svydesign, svyCprod