powered by
Calculates S as an index of agreement for two observations of nominal scale data.
bags(data = NULL, kat = NULL, conf.level = 0.95)
A matrix with n subjects and two observations (n*2 matrix)
Number of possible categories
Confidence level of the interval.
Analysis name
Number of observations
Sample size
Point estimate
Standard error
Lower confidence boundary
Upper confidence boundary
contingency table
analyzed data
Bennett, E. M., Alpert, R., Goldstein, A. C. (1954). Communications through limited-response questioning. Public Opinion Quarterly, 18(3), 303-308.
# NOT RUN { #Sample data: 200 subjects and one 5-category item. data <- cbind(sample(1:5,200, replace=TRUE),sample(1:5,200, replace=TRUE)) #Analysis bags(data=data, kat=5, conf.level=0.95) # }
Run the code above in your browser using DataLab