dfbeta.moult {moult} | R Documentation |
Calculates dfbeta (change in coefficients) and dfbetas (scaled by standard error) for moult parameters.
## S3 method for class 'moult'
dfbeta(model, ...)
model |
a model object returned by |
... |
further arguments. |
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 / \sqrt{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.
dfbeta |
|
dfbetas |
|
Birgit Erni birgit.erni@uct.ac.za
Fox, J.D. (2020). Regression Diagnostics: an Introduction. 2nd edition. SAGE Publications.
data(sanderlings)
m2 <- moult(MIndex ~ Day, data = sanderlings)
## Not run: dfbeta(m2)