glm.vc: Compute variance-covariance matrix.

Description Usage Arguments Value Examples

View source: R/glm.vc.R

Description

Calculate the (unscaled) variance-covariance matrix from a generalized linear model regression output. Used in 'GLMpack' within the function 'glm.summary()'.

Usage

1
glm.vc(obj)

Arguments

obj

The regression output from glm().

Value

The output is a matrix.

Examples

1
2
3
4
5
data(campaign)
attach(campaign)
cmpgn.out <- glm(TOTCONTR ~ CANDGENDER + PARTY + INCUMCHALL + HISPPCT,
              family=Gamma(link = 'log'), data=campaign)
glm.vc(cmpgn.out)

GLMpack documentation built on July 19, 2019, 5:05 p.m.

Related to glm.vc in GLMpack...