mhat: Computes the diagonal elements of the hat matrix

mhatR Documentation

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

Value

See reference

References

Marazzi A. (1993) Algorithm, Routines, and S functions for Robust Statistics. Wadsworth & Brooks/cole, Pacific Grove, California. p.354


robeth documentation built on Aug. 22, 2023, 9:09 a.m.

Related to mhat in robeth...