Learn R Programming

VGAM (version 0.8-1)

Coef.rrvglm-class: Class ``Coef.rrvglm''

Description

The most pertinent matrices and other quantities pertaining to a RR-VGLM.

Arguments

Objects from the Class

Objects can be created by calls of the form Coef(object, ...) where object is an object of class rrvglm (see rrvglm-class).

In this document, $M$ is the number of linear predictors and $n$ is the number of observations.

References

Yee, T. W. and Hastie, T. J. (2003) Reduced-rank vector generalized linear models. Statistical Modelling, 3, 15--41.

See Also

Coef.rrvglm, rrvglm, rrvglm-class, print.Coef.rrvglm.

Examples

Run this code
# Rank-1 stereotype model of Anderson (1984)
n = nrow(pneumo)
pneumo = transform(pneumo, let=log(exposure.time), x1=runif(n), x2=runif(n))
fit = rrvglm(cbind(normal,mild,severe) ~ let + x1 + x2, multinomial, pneumo)
coef(fit, mat=TRUE)
Coef(fit)
print(Coef(fit), digits=3)

Run the code above in your browser using DataLab