Design-Based Cohen's Kappa and Weighted Kappa for Survey Data
Cohen's kappa and weighted kappa estimated from survey-weighted cell proportions of two ratings of the same units, with a standard error that reflects the sampling design. The variance comes from Taylor linearization of kappa as a function of weighted totals, combined over primary sampling units within strata, so clustering and unequal weights are taken into account.
같은 단위에 대한 두 평정의 일치도를 조사 가중치를 반영한 칸 비율로 계산한 코헨 카파와 가중 카파이며, 표준오차는 표본설계를 반영합니다. 카파를 가중 합계의 함수로 보고 테일러 선형화한 뒤 층 안의 1차 추출단위별로 합쳐 분산을 구하므로 집락과 불균등 가중치가 반영됩니다.
In a national health survey with strata, clusters and weights, how well do self-reported and measured obesity categories agree in the population, and how uncertain is that agreement?
층, 집락, 가중치가 있는 국가 건강조사에서 자기보고 비만 범주와 실측 비만 범주는 모집단에서 얼마나 일치하며, 그 일치도의 불확실성은 어느 정도입니까?
The method returns the population kappa and weighted kappa with design-based standard errors, t intervals on the design degrees of freedom, a test against zero agreement beyond chance and the design effect relative to a simple random sample of the same size.
When to use Design-Based Cohen's Kappa and Weighted Kappa for Survey Data
- The two ratings come from a complex survey with weights, strata or clusters.
- Population-level agreement, not sample-level agreement, is the target.
- Ordinal categories call for weighted kappa with linear or quadratic weights.
When to use something else
- Data are a simple random sample or a convenience sample of rated items: use Cohen's Kappa
- There are more than two raters: use Fleiss' Kappa
- The ratings are continuous measurements: use Intraclass Correlation (ICC)
Assumptions and requirements
- Both columns use the same set of categories
- Primary sampling units treated as drawn with replacement within strata
- Enough PSUs for a stable variance (design df of 10 or more)
What the analysis reports
- Kappa and weighted kappa with design-based SE and t interval
- Design degrees of freedom and design effect
- Weighted cell proportions
How to report it
Design-based kappa was [value] (SE = [value], 95% CI [[value], [value]], t([df]) = [value]); the design effect was [value].
Related methods
- Cohen's Kappa
- Weighted Kappa
- Rao-Scott Design-Adjusted Chi-Square Test
- Replicate Weight Variance Estimation (Jackknife, BRR, Bootstrap)
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with scikit-learn and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-12.
독립 계산. scikit-learn·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-12).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Design-Based Cohen's Kappa and Weighted Kappa for Survey Data on Quorant
- Data you need
- a table (CSV or Excel) with item columns (e.g. questionnaire items)
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.