Learn R Programming

statpsych (version 1.7.0)

ci.kappa: Confidence interval for two kappa reliability coefficients

Description

Computes confidence intervals for the intraclass kappa coefficient and Cohen's kappa coefficient with two dichotomous ratings.

Usage

ci.kappa(alpha, f00, f01, f10, f11)

Value

Returns a 2-row matrix. The results in row 1 are for the intraclass kappa. The results in row 2 are for Cohen's kappa. The columns are:

  • Estimate - estimate of interrater reliability

  • SE - standard error

  • LL - lower limit of the confidence interval

  • UL - upper limit of the confidence interval

Arguments

alpha

alpha level for 1-alpha confidence

f00

number of objects rated 0 by both Rater 1 and Rater 2

f01

number of objects rated 0 by Rater 1 and 1 by Rater 2

f10

number of objects rated 1 by Rater 1 and 0 by Rater 2

f11

number of objects rated 1 by both Rater 1 and Rater 2

References

Fleiss2003statpsych

Examples

Run this code
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