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