ci.kappa: Confidence interval for a kappa reliability

View source: R/statpsych3.R

ci.kappaR Documentation

Confidence interval for a kappa reliability

Description

Computes a confidence interval for the intraclass kappa coefficient and Cohen's kappa coefficient for two dichotomous ratings. Both measures are intraclass reliability coefficients.

Usage

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

Arguments

alpha

alpha level for 1-alpha confidence

f00

number of objects rated y = 0 and x = 0

f01

number of objects rated y = 0 and x = 1

f10

number of objects rated y = 1 and x = 0

f11

number of objects rated y = 1 and x = 1

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

References

\insertRef

Fleiss2003statpsych

Examples

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



statpsych documentation built on July 9, 2023, 6:50 p.m.