Description Usage Arguments Value Note References Examples
Evaluates Cook's Distance.
1 |
fn |
The function to use when creating the model. Either "glm" or "gamlss". |
formula |
The formula to use in the model. |
data |
The dataframe. |
family |
The distribution family. E.g. "poisson" if using glm. PO or NBI if using gamlss. |
A vector of distances
Although lm/glm stores the original data in the model at m$data, that is not the case in GAMLSS. Therefore, unlike the function cooks.distance which only requires a model parameter, this function requires the formula and data.
https://www.ime.usp.br/~abe/lista/pdf1USQwcGBX1.pdf
Robust Diagnostic Regression Analysis, Anthony Atkinson and Marco Riani
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.