Usage
gefp(..., fit = glm, scores = estfun, vcov = NULL,
decorrelate = TRUE, sandwich = TRUE, order.by = NULL,
fitArgs = NULL, parm = NULL, data = list())
Arguments
...
specification of some model which is passed together
with data to the fit function: fm <- fit(..., data = data)
fit
a model fitting function, typically lm,
glm or rlm. scores
a function which extracts the scores or estimating
function from the fitted object: scores(fm).
vcov
a function to extract the covariance matrix
for the coefficients of the fitted model:
vcov(fm, order.by = order.by, data = data).
decorrelate
logical. Should the process be decorrelated?
sandwich
logical. Is the function vcov the sandwich
estimator or only the middle part?
order.by
Either a vector z or a formula with a single explanatory
variable like ~ z. The observations in the model
are ordered by the size of z. If set to NULL (the
default) the observations are assum
fitArgs
List of additional arguments which could be passed to
the fit function. Usually, this is not needed and ...
will be sufficient to pass arguments to fit.
parm
integer or character specifying the component of the estimating
functions which should be used (by default all components are used).
data
an optional data frame containing the variables in the ...
specification and the order.by model. By default the variables are
taken from the environment which gefp is called from.