ind.contrib | R Documentation |
Computes difference in regression parameters when each individual is dropped, expressed in proportion of the whole regression coefficients. The function deals with lm
(including glm) and least.rect
models.
ind.contrib(model, print.diff = FALSE, graph = TRUE, warning=25)
model |
model (of class |
print.diff |
logical. If |
graph |
logical. If |
warning |
level of graphical warning. |
coefficients |
coefficients of each computed regression. |
coefficients.diff |
difference in coefficients between each computed regression and the whole regression. |
coefficients.prop |
difference in coefficients expressed in proportion of the whole regression coefficients. |
Maxime HERVE <maxime.herve@univ-rennes1.fr>
lm.influence
, least.rect
x <- 1:30
y <- 1:30+rnorm(30,0,4)
model1 <- lm(y~x)
model2 <- least.rect(y~x)
ind.contrib(model1)
ind.contrib(model2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.