These functions serve as preparation functions to calculute the variance-
covariance matrix of a pim using any of the vcov.estimators
provided in this package. The result of these preparation functions
is used by the sandwich.estimator
and
score.estimator
functions respectively.
U.sandwich(Zbeta, Z, Y, link, W = NULL)U.score(Zbeta, Z, Y, link, W = NULL)
fitted values
design matrix
pseudo responses
character vector with link function
vector with weights