dfbeta.moult: Influence Statistics for Moult Parameters

View source: R/dfbeta.moult.R

dfbeta.moultR Documentation

Influence Statistics for Moult Parameters

Description

Calculates dfbeta (change in coefficients) and dfbetas (scaled by standard error) for moult parameters.

Usage

## S3 method for class 'moult'
dfbeta(model, ...)

Arguments

model

a model object returned by moult.

...

further arguments.

Details

Both dfbeta (absolute change in coefficients) and dfbetas (change in coefficients scaled by standard error of coefficient) are returned.

dfbetas_i = \frac{\hat{b} - \hat{b}_i}{SE(\hat{b}_i}),

where the \hat{b}_i estimate is obtained with observation i removed.

In the optional plot of dfbetas, cutoff lines at \pm 2 / √{n} are added. These are the limits used in linear regression models, but there is no reason that the same limits are valid for moult models. Therefore these cutoff lines can only be used as very rough guidelines.

Value

dfbeta

n \times p matrix with absolute change in coefficients when observation i is deleted.

dfbetas

n \times p matrix with scaled change in coefficients when observation i is deleted.

Author(s)

Birgit Erni birgit.erni@uct.ac.za

References

Fox, J.D. (2020). Regression Diagnostics: an Introduction. 2nd edition. SAGE Publications.

See Also

dfbeta.lm

Examples

data(sanderlings)
m2 <- moult(MIndex ~ Day, data = sanderlings) 
## Not run: dfbeta(m2)

moult documentation built on Aug. 30, 2022, 9:06 a.m.