Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

Value

See reference

References

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


robeth

R Functions for Robust Statistics

v2.7-6
GPL (>= 2)
Authors
Alfio Marazzi <Alfio.Marazzi@unisante.ch>
Initial release
2020-03-02

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.