------------------------------------------------------------------------------- help forkapci,kappaci(Author: David Harrison) -------------------------------------------------------------------------------

Confidence intervals for kappaTwo unique raters, two ratings:

kapcivarname1varname2[ifexp] [inrange] [,positive(exp)[exact|wilson|agresti|jeffreys]level(#)]Two or more (non-unique) raters, two ratings:

kapcivarname1varname2varname3[...] [ifexp] [inrange] [,positive(exp)level(#)]

kappacivarname1varname2[ifexp] [inrange] [,level(#)]

Description

kapci(first syntax) calculates the kappa-statistic measure of interrater agreement when there are two unique raters and two ratings, with confidence interval using the goodness-of-fit approach of Donner & Eliasziw (1992).

kapci(second syntax) andkappacicalculate the kappa-statistic in the case of two or more (nonunique) raters and two ratings, with confidence interval using an inverted modified Wald test approach applied to the Fleis-Cuzick estimate of kappa as recommended by Zou & Donner (2004).

kapci(second syntax) andkappaciproduce the same results; they merely assume the data are organized differently. Both commands assume each observation is a subject. In the case ofkapci,varname1contains the ratings by the first rater,varname2the ratings by the second rater, and so on.kappaci, on the other hand, assumes each variable records the frequencies with which ratings were assigned. The first variable records the number of times a positive rating was assigned, and the second variable the number of times a negative rating was assigned. These definitions follow the same patterns askapandkappa; see help kappa.

Options

positive(exp)specifies an expression identifying the ratings that should be considered to be positive; the default assumes non-zero (and non-missing) for positive and 0 for negative.

exact,wilson,agresti, andjeffreysspecify how binomial confidence intervals for the observed agreement are to be calculated (see help ci); the default isexact.

level(#)specifies the confidence level, in percent, for confidence intervals; see help level.

ExamplesTwo raters, rating variables coded 0/1.

. kapci rada radbTwo raters, rating variables coded Y/N, Wilson confidence interval on observed agreement.

. kapci rada radb, pos("Y") wilsonMore than two raters, 99% confidence interval.

. kappaci pos neg, level(99)

ReferencesDonner, A. and Eliasziw, M. 1992. A goodness-of-fit approach to inference procedures for the kappa statistic: confidence interval construction, significance-testing and sample size estimation.

Statistics in Medicine11: 1511-1519.Zou, G. and Donner, A. 2004. Confidence interval estimation of the intraclass correlation coefficient for binary outcome data.

Biometrics60: 807-811.

MaintainerDavid A. Harrison Intensive Care National Audit & Research Centre david@icnarc.org

Also seeOnline: help for kappa, ci