hatvalues.CountsEPPM | R Documentation |
Extract the values of the hat matrix from models of class "CountsEPMM".
## S3 method for class 'CountsEPPM'
hatvalues(model, ...)
model |
fitted model object of class "CountsEPPM". |
... |
some methods for this generic function require additional arguments. |
The calculated hat values for the fitted model. These are used to calculate Cook's distances.
David M. Smith <dmccsmith@verizon.net>
Cribari-Neto F, Zeileis A. (2010). Beta Regression in R. Journal of Statistical Software, 34(2), 1-24. \Sexpr[results=rd]{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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.