View source: R/cooks_distance_stanarm.R
cooks_distance_stanarm | R Documentation |
Calcola le distanze di Cook di un modello ottenuto con il pacchetto rstanarm
.
cooks_distance_stanarm( fit )
fit |
oggetto ottenuto con la funzione |
Restituisce un vettore con le distanze di Cook per ciascuna osservazione.
Massimiliano Pastore
require(rstanarm)
data(sherifdat)
fit <- stan_glmer(y~time+condition+(1|group),data=sherifdat)
CD <- cooks_distance_stanarm(fit)
plot(CD)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.