What is a Kappa coefficient? (Cohen's Kappa)

What is a Kappa coefficient? (Cohen's Kappa)

When two binary variables are attempts by two individuals to measure the same thing, you can use Cohen's Kappa (often simply called Kappa) as a measure of agreement between the two individuals.

Kappa measures the percentage of data values in the main diagonal of the table and then adjusts these values for the amount of agreement that could be expected due to chance alone.

Two raters are asked to classify objects into categories 1 and 2. The table below contains cell probabilities for a 2 by 2 table.

To compute Kappa, you first need to calculate the observed level of agreement

This value needs to be compared to the value that you would expect if the two raters were totally independent,

The value of Kappa is defined as

The numerator represents the discrepancy between the observed probability of success and the probability of success under the assumption of an extremely bad case. Independence implies that pair of raters agree about as often as two pairs of people who effectively flip coins to make their ratings.

The maximum value for kappa occurs when the observed level of agreement is 1, which makes the numerator as large as the denominator. As the observed probability of agreement declines, the numerator declines. It is possible for Kappa to be negative, but this does not occur too often. In such a case, you should interpret the value of Kappa to imply that there is no effective agreement between the two rates.

How to interpret Kappa

Kappa is always less than or equal to 1. A value of 1 implies perfect agreement and values less than 1 imply less than perfect agreement.

In rare situations, Kappa can be negative. This is a sign that the two observers agreed less than would be expected just by chance.

It is rare that we get perfect agreement. Different people have different interpretations as to what is a good level of agreement. At the bottom of this page is one interpretation, provided on page 404 of Altman DG. Practical Statistics for Medical Research. (1991) London England: Chapman and Hall.

Here is one possible interpretation of Kappa.

  • Poor agreement = Less than 0.20
  • Fair agreement = 0.20 to 0.40
  • Moderate agreement = 0.40 to 0.60
  • Good agreement = 0.60 to 0.80
  • Very good agreement = 0.80 to 1.00

An example of Kappa

In an examination of self reported prescription use and prescription use estimated by electronic medical records

 the following table was observed.

4.5% 11.2%
10.6% 73.8%

 The value for Kappa is 0.16, indicating a poor level of agreement.

  • 4
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
`integrate-series-tail` is a function used in the definition of stream-based power series expansions. It takes a stream representing the coefficients of a power series, and returns a new stream representing the coefficients of the antiderivative of that series. Here's the definition of `integrate-series-tail`: ``` (define (integrate-series-tail s) (stream-cons 0 (add-series-tail (scale-series-tail s 1/2) (integrate-series-tail (stream-cdr s))))) ``` The function first creates a new stream with a leading coefficient of 0, since the antiderivative of a power series has no constant term. It then uses two other functions, `add-series-tail` and `scale-series-tail`, to combine and manipulate the coefficients of the input stream. `add-series-tail` takes two streams representing power series, and returns a new stream representing the sum of those series. `scale-series-tail` takes a stream representing a power series, and a scalar value, and returns a new stream representing the series with each coefficient multiplied by that scalar. In the definition of `integrate-series-tail`, we use `scale-series-tail` to multiply the input stream by `1/2`, since the antiderivative of a power series is obtained by dividing each coefficient of the original series by the corresponding power of the variable. We then use `add-series-tail` to combine this scaled stream with the recursively computed antiderivative of the tail of the input stream. This recursive computation of the antiderivative of the tail of the input stream is what allows us to generate the coefficients of the power series for the antiderivative. By repeatedly integrating the series, we can generate the coefficients of the power series for any number of antiderivatives of the original function.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值