Learn R Programming

robeth (version 2.7-8)

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)

Value

See reference

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