Description Usage Arguments Value References Examples
Calculate Cook Distance
1 | CookDistance(y, X)
|
y |
A vector with response variables. |
X |
A matrix or vector with explanatory variables. |
Cook Distance |
A vector with Cook Distance for each observation. |
.
Sun, R.-B. and Wei, B.-C. (2004) On influence assessment for lad regression. Statistics & Probability Letters, 67, 97-110. doi: 10.1016/j.spl.2003.08.018.
1 2 3 | ### Using stackloss data
CookDistance(stack.loss, stack.x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.