Description Usage Arguments Value See Also
This is the basic computing engine called by pim
to get the estimates for the coefficients and the variance-
covariance matrices. This function currently only spits out
these components using the sandwich estimators.
1 2 3 4 5 6 7 8 9 10 11 |
x |
a model matrix with as many rows as |
y |
a vector with the pseudo-responses |
link |
a character vector with a link function |
estim |
a character vector or a function indicating the solver
to be used for estimating the coefficients. By default this is
the function |
start |
A numeric vector with the starting values for the fitting algorithm, if required. |
vcov.estim |
a function to determine the variance-covariance matrix.
Possibilities are |
weights |
currently not implemented |
penv |
An environment, |
... |
Further arguments that need to be passed to
the estimation function. The most relevant is |
A list with the following elements
a numeric vector with the coefficients
a numeric matrix with the variance-covarianc matrix for the coefficients
a numeric vector with the raw fitted values
a list with two components named coef
and vcov
containing information on the used estimators for both.
model.matrix
for how to construct a valid model matrix
for a pim, pim
for the general user interface
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.