Learn R Programming

VGAM (version 1.0-1)

rrvglm-class: Class ``rrvglm''

Description

Reduced-rank vector generalized linear models.

Arguments

Objects from the Class

Objects can be created by calls to rrvglm.

Extends

Class "vglm", directly. Class "vlm", by class "vglm".

References

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

Yee, T. W. and Wild, C. J. (1996) Vector generalized additive models. Journal of the Royal Statistical Society, Series B, Methodological, 58, 481--493.

See Also

rrvglm, lvplot.rrvglm, vglmff-class.

Examples

Run this code
# Rank-1 stereotype model of Anderson (1984)
pneumo <- transform(pneumo, let = log(exposure.time),
                            x3  = runif(nrow(pneumo)))  # x3 is unrelated
fit <- rrvglm(cbind(normal, mild, severe) ~ let + x3,
              multinomial, data = pneumo, Rank = 1)
Coef(fit)

Run the code above in your browser using DataLab