gethats {brglm} | R Documentation |
Calculates the Leverages for a GLM through a C Routine
Description
Calculates the leverages of a GLM through a C routine. It is intended to
be used only within brglm.fit
.
Usage
gethats(nobs, nvars, x.t, XWXinv, ww)
Arguments
nobs |
The number of observations, i.e. |
nvars |
The number of parameters, i.e. |
x.t |
|
XWXinv |
The inverse of the Fisher information. |
ww |
The ‘working’ weights. |
Value
A vector containing the diagonal elements of the hat matrix.
Author(s)
Ioannis Kosmidis, ioannis.kosmidis@warwick.ac.uk
See Also
[Package brglm version 0.7.2 Index]