Description Usage Arguments Details Value References Examples
A barplot for cook's distances values
1 | plot_cd(influence_obs)
|
influence_obs |
a list with following values: leverage.value, cooks.distance, studentized.residuals |
Further information about cook's distances can be found in the
documentation influence_observation
qqplot-object
Cook, R. D. and Weisberg, S. (1984) Residuals and Influence in Regression.
Wiley. Fox, J. (1997) Applied Regression, Linear Models, and Related Methods.
Sage. Williams, D. A. (1987) Generalized linear model diagnostics using the deviance and single case deletions. Applied Statistics 36, 181–191.
1 2 3 4 5 6 7 | ## Not run:
X <- data.frame(matrix(rnorm(1000), nrow = 100))
resid <- rnorm(100)
inf_obs <- olsdiagnosticR:::influence_observation(X = X, e = error)
olsdiagnosticR:::plot_cd(influence_obs = inf_obs)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.