influence.sklarsomega | R Documentation |
Compute DFBETAs for units and/or coders.
## S3 method for class 'sklarsomega'
influence(model, units, coders, ...)
model |
a fitted model object. |
units |
a vector of integers. A DFBETA will be computed for each of the corresponding units. |
coders |
a vector of integers. A DFBETA will be computed for each of the corresponding coders. |
... |
additional arguments. |
This function computes DFBETAs for one or more units and/or one or more coders.
A list comprising at most two elements.
dfbeta.units |
a matrix, the columns of which contain DFBETAs for the units specified via argument |
dfbeta.coders |
a matrix, the columns of which contain DFBETAs for the coders specified via argument |
Young, D. S. (2017). Handbook of Regression Methods. CRC Press.
Krippendorff, K. (2013). Computing Krippendorff's alpha-reliability. Technical report, University of Pennsylvania.
# The following data were presented in Krippendorff (2013). After
# analyzing the data and displaying a summary of the fit, compute
# and display DFBETAs for unit 11 and coders 2 and 3.
data.nom = matrix(c(1,2,3,3,2,1,4,1,2,NA,NA,NA,
1,2,3,3,2,2,4,1,2,5,NA,3,
NA,3,3,3,2,3,4,2,2,5,1,NA,
1,2,3,3,2,4,4,1,2,5,1,NA), 12, 4)
colnames(data.nom) = c("c.1.1", "c.2.1", "c.3.1", "c.4.1")
fit.nom = sklars.omega(data.nom, level = "nominal", confint = "none")
summary(fit.nom)
(inf = influence(fit.nom, units = 11, coders = c(2, 3)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.