mhat: Computes the diagonal elements of the hat matrix
Description
See Marazzi A. (1993), p.354
Usage
mhat(x, n = nrow(x), k = np, sh)
Arguments
- x
See reference
- n
See reference
- k
See reference
- sh
See reference
References
Marazzi A. (1993) Algorithm, Routines, and S functions
for Robust Statistics. Wadsworth & Brooks/cole, Pacific Grove,
California. p.354