powered by
eba
## S3 method for class 'eba': residuals(object, type = c("deviance", "pearson"), ...)
"deviance"
"pearson"
residuals.glm
plot.eba
data(celebrities) # absolute choice frequencies btl1 <- eba(celebrities) # fit BTL model sum( resid(btl1)^2 ) # deviance sum( resid(btl1, "pearson")^2 ) # Pearson chi2
Run the code above in your browser using DataLab