Calculate the (unscaled) variance-covariance matrix from a generalized linear model regression output. Used in `GLMpack` within the function `glm.summary()`.
glm.vc(obj)
The regression output from glm().
The output is a matrix.
# NOT RUN {
data(campaign)
attach(campaign)
cmpgn.out <- glm(TOTCONTR ~ CANDGENDER + PARTY + INCUMCHALL + HISPPCT,
family=Gamma(link = 'log'), data=campaign)
glm.vc(cmpgn.out)
# }
Run the code above in your browser using DataLab