sandwich.estimator {pim} | R Documentation |
Pseudo-observation variance sandwich estimator
Description
The functions described here all implement an estimator for the variance of the coefficients. This function is not exported.
Usage
sandwich.estimator(
U,
U.diff,
g1,
g2,
shared.factor = 1,
switched.factor = 1,
self.factor = 1
)
Arguments
U |
See the formula for sandwich estimator:
holds |
U.diff |
See the formula for sandwich estimator:
holds the partial derivatives of |
g1 , g2 |
Index in the original observations of the "left" and "right" part of the pseudo-observations. |
shared.factor |
Factor by which all |
switched.factor |
Factor by which all |
self.factor |
Factor by which all |
Value
The matrix of the sandwich estimator
[Package pim version 2.0.2 Index]