Learn R Programming

BinaryEPPM (version 3.0)

cooks.distance.BinaryEPPM: Cook's distance for BinaryEPPM Objects

Description

Calculates Cook's distances for BinaryEPPM objects.

Usage

# S3 method for BinaryEPPM
cooks.distance(model, ...)

Value

A vector of Cook's distances.

Arguments

model

fitted model object of class "BinaryEPPM".

...

some methods for this generic function require additional arguments.

Author

David M. Smith <dmccsmith@verizon.net>

Details

Cook's distances as in GLMs.

References

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").

See Also

betareg

Examples

Run this code
data("ropespores.case") 
output.fn <- BinaryEPPM(data = ropespores.case,
                  number.spores / number.tested ~ 1 + offset(logdilution),
                  model.type = 'p only', model.name = 'binomial')   
cooks.distance(output.fn)

Run the code above in your browser using DataLab