ci.kappa(.05, 31, 12, 4, 58)
# Should return:
# Estimate SE LL UL
# IC kappa: 0.6736597 0.07479965 0.5270551 0.8202643
# Cohen kappa: 0.6756757 0.07344761 0.5317210 0.8196303
Run the code above in your browser using DataLab