hatvalues.CountsEPPM: Extraction of hat matrix values from CountsEPPM Objects

Description Usage Arguments Value Author(s) References See Also Examples

Description

Extract the values of the hat matrix from models of class "CountsEPMM".

Usage

1
2
## S3 method for class 'CountsEPPM'
hatvalues(model, ...)

Arguments

model

fitted model object of class "CountsEPPM".

...

some methods for this generic function require additional arguments.

Value

The calculated hat values for the fitted model. These are used to calculate Cook's distances.

Author(s)

David M. Smith <smithdm1@us.ibm.com>

References

Cribari-Neto F, Zeileis A. (2010). Beta Regression in R. Journal of Statistical Software, 34(2), 1-24. doi: 10.18637/jss.v034.i02.

See Also

betareg

Examples

1
2
3
4
5
data("herons.group") 
output.fn  <- CountsEPPM(number.attempts ~ 0 + group,
 herons.group, model.type = 'mean only', model.name = 'Poisson')
cooks.distance(output.fn)
hatvalues(output.fn)

CountsEPPM documentation built on May 1, 2019, 10:25 p.m.