sandwich | R Documentation |
Compute the sandwich variance components from a model fit
sandwich(fit, data, weights, t, fit.detail)
fit |
A fitted model object of class glm, coxph, ah, or survfit |
data |
The data used to fit the model |
weights |
Optional weights |
t |
Optional fixed time point for survival objects |
fit.detail |
For Cox models, the result of running coxph.detail on the model fit |
A list consisting of the Fisher information matrix (I) and the Score equations (U)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.