grc(y, Rank = 1, Index.corner = 2:(1 + Rank),
Structural.zero = 1, summary.arg = FALSE, h.step = 1e-04, ...)
table()
is acceptable;
it is converted into a matrix.
Note that y
must be at least 3 by 3.min(nrow(y), ncol(y))
}.
This is the dimension of the fit.Rank
integers.
These are used to store the Rank
by Rank
identity matrix in the
A
matrix; corner constraints are used.min(nrow(y), ncol(y))
},
specifying the row that is used as the structural zero.TRUE
, a summary is returned.
If TRUE
, y
may be the output (fitted
object) of grc()
.summary.rrvglm()
. Only used when summary.arg=TRUE
.rrvglm.control()
."grc"
, which currently is the same as
an "rrvglm"
object..grc.df
, which used to be needed by summary.rrvglm()
.
Then .grc.df
is deleted before exiting the function. If an
error occurs, then .grc.df
may be present in the workspace.A %*% t(C)
,
the product of two `thin' matrices.
Indeed, A
and C
have Rank
columns.
By default, the first column and row of the interaction matrix
A %*% t(C)
is chosen
to be structural zeros, because Structural.zero=1
.
This means the first row of A
are all zeros. This function uses options()$contrasts
to set up the row and
column indicator variables.
Yee, T. W. and Hastie, T. J. (2003) Reduced-rank vector generalized linear models. Statistical Modelling, 3, 15--41.
Documentation accompanying the
rrvglm
,
rrvglm.control
,
rrvglm-class
,
summary.grc
,
auuc
.# Some undergraduate student enrolments at the University of Auckland in 1990
data(auuc)
g1 = grc(auuc, Rank=1)
fitted(g1)
summary(g1)
g2 = grc(auuc, Rank=2, Index.corner=c(2,5))
fitted(g2)
summary(g2)
Run the code above in your browser using DataLab