50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

moult (version 2.3.1)

dfbeta.moult: Influence Statistics for Moult Parameters

Description

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

Usage

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

Value

dfbeta

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

dfbetas

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

Arguments

model

a model object returned by moult.

...

further arguments.

Author

Birgit Erni birgit.erni@uct.ac.za

Details

Both dfbeta (absolute change in coefficients) and dfbetas (change in coefficients scaled by standard error of coefficient) are returned. dfbetasi=b^b^iSE(b^i),

where the b^i estimate is obtained with observation i removed.

In the optional plot of dfbetas, cutoff lines at ±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.

References

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

See Also

Examples

Run this code
data(sanderlings)
m2 <- moult(MIndex ~ Day, data = sanderlings) 
if (FALSE) dfbeta(m2)

Run the code above in your browser using DataLab