hatvalues.betareg {betareg}R Documentation

Hat values

Description

Compute the diagonal elements of the "Hat" matrix of a beta regression model.

Usage

hatvalues.betareg(model, ...)

Arguments

model a fitted model using betareg.
... further arguments passed to or from other methods.

Value

This function returns a vector containing the diagonal elements of the "hat" matrix.

Author(s)

Alexandre de Bustamante Simas, Instituto de Matemática Pura e Aplicada (alesimas@impa.br).

References

FERRARI, S.L.P., CRIBARI-NETO, F. (2004). Beta regression for modeling rates and proportions. Journal of Applied Statistics, v. 31, n. 7, p. 799-815.

See Also

br.fit, summary.betareg, predict.betareg, residuals.betareg

Examples

data(pratergrouped)
fit <- betareg(oil ~ batch1 + batch2 + batch3 + batch4 + batch5 + 
batch6 + batch7 + batch8 + batch9 + temp, data=pratergrouped)
hatvalues(fit)

[Package betareg version 1.2 Index]