powered by
Extract the values of the hat matrix from models of class "CountsEPMM".
# S3 method for CountsEPPM hatvalues(model, ...)
The calculated hat values for the fitted model. These are used to calculate Cook's distances.
fitted model object of class "CountsEPPM".
some methods for this generic function require additional arguments.
David M. Smith <dmccsmith@verizon.net>
Cribari-Neto F, Zeileis A. (2010). Beta Regression in R. Journal of Statistical Software, 34(2), 1-24. tools:::Rd_expr_doi("10.18637/jss.v034.i02").
betareg
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)
Run the code above in your browser using DataLab