Skip to content
naulon

No retraction, correction or concern found when last checked on Oct 24, 2026.

Measuring agreement of administrative data with chart data using prevalence unadjusted and adjusted kappa

Guanmin Chen, Peter Faris, Brenda Hemmelgarn and 2 more

BMC Medical Research Methodology · 2009

doi:10.1186/1471-2288-9-5

Abstract

Background. Kappa is commonly used when assessing the agreement of conditions with reference standard, but has been criticized for being highly dependent on the prevalence. To overcome this limitation, a prevalence-adjusted and bias-adjusted kappa (PABAK) has been developed. The purpose of this study is to demonstrate the performance of Kappa and PABAK, and assess the agreement between hospital discharge administrative data and chart review data conditions.

Methods. The agreement was compared for random sampling, restricted sampling by conditions, and case-control sampling from the four teaching hospitals in Alberta, Canada from ICD10 administrative data during January 1, 2003 and June 30, 2003. A total of 4,008 hospital discharge records and chart view, linked for personal unique identifier and admission date, for 32 conditions of random sampling were analyzed. The restricted sample for hypertension, myocardial infarction and congestive heart failure, and case-control sample for those three conditions were extracted from random sample. The prevalence, kappa, PABAK, positive agreement, negative agreement for the condition was compared for each of three samples.

Results. The prevalence of each condition was highly dependent on the sampling method, and this variation in prevalence had a significant effect on both kappa and PABAK. PABAK values were obviously high for certain conditions with low kappa values. The gap between these two statistical values for the same condition narrowed as the prevalence of the condition approached 50%.

Conclusion. Kappa values varied more widely than PABAK values across the 32 conditions. PABAK values should usually not be interpreted as measuring the same agreement as kappa in administrative data, particular for the condition with low prevalence. There is no single statistic measuring agreement that captures the desired information for validity of administrative data. Researchers should report kappa, the prevalence, positive agreement, negative agreement, and the relative frequency in each cell (i.e. a, b, c and d) to enable the reader to judge the validity of administrative data from multiple aspects.

Full text

From PubMed Central, U.S. National Library of Medicine, as current on Oct 24, 2026. Paragraph numbers are ours, so an answer can point at one.

Background

Measuring validity, including content, construction, and criterion validity is a fundamental issue for medical research. In epidemiological studies, criterion validity (referred to simply as validity in this paper), is most widely used, and depends heavily on the criterion measurement. Ideally, the criterion should completely reflect the 'truth', and is commonly referred to as the 'gold standard'. Upon implementation of the 'gold standard', statistics of sensitivity, specificity, positive predictive value (PPV) and negative predictive value (NPV) are employed to quantify the validity of a measure that is being examined.

In the 'real' world, particularly in epidemiological studies, a 'gold standard' is rarely available, too difficult, or costly to establish. Therefore researchers often utilize proximate measures of the 'gold standard' as the criterion to assess validity. For example, the validity of medical conditions recorded in hospital discharge administrative data has been assessed by re-abstraction of inpatient charts by health professionals, as well as comparison with patient self-reported data. In these situations when there is no 'gold standard', the kappa statistic is commonly used to assess agreement for estimating "validity".

In 1960, based on the chance-corrected reliability of content analysis, Cohen developed the kappa statistic for evaluation of categorical data, which corrects or adjusts for the amount of agreement that can be expected to occur by chance alone. Since its inception, kappa has been widely studied and critiqued (Table 1). One common criticism is that kappa is highly dependent on the prevalence of the condition in the population. To overcome this limitation, several alternative methods for agreement have been investigated. In 1993, Byrt et al proposed a bias-adjusted and prevalence-adjusted kappa (PABAK) that assumes fifty percent prevalence of the condition, and absence of any bias. PABAK has been employed in many pervious studies for agreement assessment. Compared with kappa, PABAK reflects the ideal situation, and ignores the variation of prevalence across the conditions and bias presented in the "real" world. To demonstrate the performance of kappa and PABAK, we assessed the agreement between hospital discharge administrative data and chart review data conditions, considering that the prevalence of a condition varies by the sampling method employed. We analyzed kappa and PABAK in the following three sampling scenarios; 1) random sampling, 2) restricted sampling by conditions, and 3) case-control sampling.

Random sample

A total of 4,008 hospital discharge records were randomly selected from the four adult teaching hospitals in Alberta, Canada among admissions during January 1, 2003 and June 30, 2003. There were at least 1000 records from each hospital.

Defining conditions in ICD-10 administrative data

Professional trained health record coders read through the patient' medical chart to assign International Classification of Disease 10th version (ICD-10) diagnoses that appropriately described the patient's hospitalization. Each discharge record contained a unique identification number for each admission, a patient chart number, and up to 16 diagnoses. We defined 32 conditions based on ICD-10 codes.

Defining conditions in chart data

Charts of the randomly selected 4008 patients were located using the personal unique identifier and admission date. Two professionally trained reviewers completed a thorough chart review of 4008 patients through examining the chart cover page, discharge summaries, narrative summaries, pathology reports (including autopsy reports), trauma and resuscitation records, admission notes, consultation reports, surgery/operative reports, anesthesia reports, physician daily progress notes, physician orders, diagnostic reports, and transfer notes for evidence of any of the 32 conditions. The process took approximately one hour for each chart.

Restricted sample

We extracted records with any one of three conditions (i.e. hypertension, myocardial infarction and congestive heart failure) from the ICD-10 administrative data. Among 1126 records that met the criteria, there were 887 records with hypertension, 336 with myocardial infarction and 254 with congestive heart failure.

Case-control sample

We defined a case-control sample for each of the three specific conditions based on ICD-10 administrative data. The first sample included 887 records with hypertension and 887 randomly selected records among those without hypertension. Thus in total the sample for hypertension contained 1774 records. Using the same method, the second and third sample was generated for myocardial infarction and congestive heart failure. In total there were 672 records for myocardial infarction (336 with myocardial infarction, 336 without) and 508 records for congestive heart failure (254 with congestive heart failure and 254 records without).

Statistical indices of agreement

We calculated the prevalence of condition, kappa, PABAK statistic, positive agreement, negative agreement, observed agreement, and chance agreement for the condition in each of three samples. The definition of kappa and PABAK is:

Where Io and Ie is observed agreement and chance agreement, respectively.

The cross-classification for the results of the condition by two databases and the formulas for calculating agreement statistics can be found in Additional file 1. We calculated statistical values in the three samples, such as kappa. These refer to statistics for samples and do not refer to parameter values for populations although the sample statistics are used to estimate population values. Therefore, the statistical indices used in this paper refer to the statistical value for sample, not for population.

This study was approved by the ethics committee of University of Calgary, Canada

Random sample for 32 conditions

The statistical indices for agreement for the 32 conditions are presented in table 2. The prevalence of the conditions for ICD-10 administrative data ranged from 0.25% to 22.13%, whereas for chart review, it was from 0.60% to 30.19% among the 32 conditions. The variation for negative agreement was from 0.92 to 1.00, and from 0.21 to 0.84 for positive agreement. The kappa varied from 0.20 to 0.83, whereas for PABAK, it was from 0.72 to 0.99, with the PABAK value greater than kappa for all conditions in the sample. The difference between PABAK and kappa values ranged from 0.06 to 0.77. Hypertension and metastatic cancer had the lowest difference of 0.06, while blood loss anemia and coagulopathy had the most extreme difference of 0.77. The kappa and PABAK with the prevalence of 32 conditions illustrate in the figure 1.

Restricted sample for select conditions

The prevalence of hypertension, myocardial infarction and congestive heart failure for ICD-10 data increased from 22.13%, 8.38%, 6.34% in the randomly selected sample to 78.77%, 29.84% and 22.56% for restricted sample, respectively (see Table 3). The difference between PABAK and kappa values for hypertension, myocardial infarction and congestive heart failure was 0.09, 0.03 and 0.05, respectively that changed from 0.06, 0.18 and 0.18 for the random sample.

Case-control sample for select conditions

By design the prevalence for these three conditions for ICD-10 administrative data was 50%, both PABAK and kappa values for hypertension, myocardial infarction and congestive heart failure were 0.82, 0.88, and 0.89, resulting in a difference of 0 between these two indices.

Discussion

We investigated the performance of prevalence unadjusted (i.e. kappa) and adjusted statistical indices (i.e. PABAK) to assess agreement between administrative data and medical chart review data in a randomly selected sample for 32 conditions, as well as a restricted, and case-control sample for three select conditions (hypertension, myocardial infarction and congestive heart failure). Our results indicate that for the same condition the prevalence varies depending on the sampling method, and this variation affects both the kappa and PABAK statistic. We highlight that 1) kappa values varied more widely than PABAK values across the 32 conditions; 2) PABAK should usually not be interpreted as measuring the same agreement parameter as kappa in administrative data, particular for the condition with low prevalence; 3) the gap between these two statistical values for the same condition became narrowed with an increase of its prevalence and disappeared when the prevalence was fixed to 50%.

The sampling method employed has a significant effect on the assessment of validity. Currently, random sample, restricted sample, and case-control sample are popularly used in validity study for administrative data. In our study, the kappa value for hypertension is 0.72 for random sample and 0.69 for restricted sample. Previous studies indicate that kappa value is highly dependent on the prevalence of the condition. The prevalence of hypertension is 22.13% for the random sample and 78.77% for the restricted sample in this study. Therefore, the difference of kappa value for hypertension might be caused by the different prevalence between random and restricted samples. The sampling method also impacted the PABAK value, with the PABAK value varying by type of sampling method. By definition the PABAK assumes the prevalence is 50% with zero bias; its value only depends on the observed agreement. It reaches to 0.82 for case-control sample when prevalence of hypertension is 50%. These findings are consistent with Vach's report based on the hypothetical sample. In order to overcome the effect of prevalence on kappa value, some researchers advocate using a balance sample and avoiding kappa to assess validity of conditions with low or very high prevalence. A potential reason for the variation in PABAK by sampling methods is due to the change in observed agreement, which was a result of the variation in prevalence estimates by sampling methods. Interpretation of validation study results should therefore consider sampling effect and the disease prevalence.

Kappa is sensitive to the prevalence of a condition defined from administrative data. Agresti's study investigated the influence of prevalence on kappa, and compared the kappa values from populations with different prevalence. Vach's study indicated the kappa is highest when prevalence equals 50%. In reality, nearly all diseases have prevalence lower than 50% in populations. Case-control study design (1:1 matching) automatically maximizes kappa value. In our study, kappa for hypertension in the case-control sample of 0.82 was higher than that in the random sample of 0.72. Therefore, caution should be used in interpreting kappa for case-control studies.

In this study, we compared performance of kappa and PABAK in measuring agreement between administrative data and chart review data but were unable to determine which statistic measures agreement more accurately and reliably. The reason is that we could not establish parameter of 'true' validity of administrative data. However, assessment of these two statistics through administrative data coding practice (i.e. face-validity) demonstrates that PABAK values should usually not be interpreted as measuring the same agreement parameter as kappa, particular for the condition with low prevalence. In our random sample, PABAK value ranged from 0.72 to 0.99 among 32 conditions, indicating a high degree of "validity" for administrative data in recording these conditions. The high PABAK value for obesity and weight loss are examples (0.96 for both conditions) that question the PABAK validity. Administrative data coding guideline and practice instructs coders not to code these conditions even if they are documented in charts because they may not affect length of stay, healthcare or therapeutic treatment. Additionally, coders may intentionally not code these conditions due to the limited amount of time given to code each chart. Therefore, these two conditions generally have very poor validity in administrative data. The fact is revealed by the very poor positive agreement (0.30 for obesity and 0.21 for weight loss, respectively) and kappa value (0.20 and 0.28). PABAK assumes the bias is absent and the prevalence is 50%. However, when bias presented and the prevalence departed from 50%, the PABAK value and kappa value are inconsistence.

Bias also has an effect on the kappa values. Bias is the extent to which there is disagreement on the proportion of positive (or negative) cases and is reflected in a difference between b and c (see Additional file 1). The kappa value is higher for a large bias, while the kappa value is lower for lower or absent bias. In our study, the value of b and c changed for the same condition in the different samples. For myocardial infarction, the value of b and c was 0.55% and 4.92% in the random sample, respectively, whereas it was 1.95% and 10.04% in the restricted sample. Furthermore, the prevalence of the condition also changed from 8.38% for random sample, and 29.84% for restricted sample, respectively. According to the definition of kappa, it is obvious that the changes of prevalence have the effect on kappa. For the restricted sample, both the difference of b and c, and the prevalence of myocardial infarction are higher compared to the random sample. This partly explains why the kappa value is higher in the restricted sample than those in the random sample.

Our study at least has two limitations. Firstly, we cannot capture the 'true' value of the kappa for the conditions in the administrative data in our study. Therefore, the difference between the 'true' value and estimated value of kappa, and their changes due to the variation of prevalence, cannot be evaluated. Secondly, we employed chart data extracted by reviewers as a 'gold standard' to assess the validity of ICD-10 data. Such a criterion standard depends on the quality of charts.

Conclusion

Our study indicates the prevalence of conditions varies depending on the sampling method employed, and these changes have an effect on kappa and PABAK. Although PABAK theoretically adjusts for prevalence, this statistic may be high to evaluate the agreements between two data sources, and may result in misleading conclusion. Although no single agreement statistic can capture the desired information, we encourage researchers to report kappa, the prevalence, positive agreement, negative agreement, and the relative frequency of in each cell (i.e. a, b, c and d) to permit readers to judge the validity of administrative data from multiple aspects.

Competing interests

The authors declare that they have no competing interests.

Authors' contributions

GC involved in study design, performed statistical analysis, interpreted the results and drafted the manuscript. PF and BH participated in the study design and interpretation of the results. RB involved in interpretation of the results and participated in preparation the manuscripts. HQ conceived the study, participated in its design and interpreted results. All authors read and approved the final manuscript.

Pre-publication history

The pre-publication history for this paper can be accessed here:

http://www.biomedcentral.com/1471-2288/9/5/prepub

References 33

  1. 1.

    Scott WA Reliability of content analysis: The case of nominal scale codingPublic Opinion Quart1955 19321353

    Not in our library10.1086/266577

  2. 2.

    Cohen J A coefficients of agreement for nominal scalesEdu and Psych Meas1960 203746

    Not in our library10.1177/001316446002000104

  3. 3.

    Cicchetti DV Feinstein AR High agreement but low kappa: II. Resolving the paradoxesJ Clin Epidemiol1990 436551558

    Not in our library10.1016/0895-4356(90)90159-m

  4. 4.

    Feinstein AR Cicchetti DV High agreement but low kappa: I. The problems of two paradoxesJ Clin Epidemiol1990 436543549

    Not in our library10.1016/0895-4356(90)90158-l

  5. 5.

    Bloch DA Kraemer HC 2 × 2 kappa coefficients: measures of agreement or associationBiometrics1989 451269287

    Not in our library10.2307/2532052

  6. 6.

    Hoehler FK Bias and prevalence effects on kappa viewed in terms of sensitivity and specificityJ Clin Epidemiol2000 535499503

    Not in our library10.1016/s0895-4356(99)00174-2

  7. 7.

    Lantz CA Nebenzahl E Behavior and interpretation of the kappa statistic: resolution of the two paradoxesJ Clin Epidemiol1996 494431434

    Not in our library10.1016/0895-4356(95)00571-4

  8. 8.

    Soeken KL Prescott PA Issues in the use of kappa to estimate reliabilityMed Care1986 248733741

    Not in our library10.1097/00005650-198608000-00008

  9. 9.

    Byrt T Bishop J Carlin JB Bias, prevalence and kappaJ Clin Epidemiol1993 465423429

    Not in our library10.1016/0895-4356(93)90018-v

  10. 10.

    Mak HKF Yau KKW Chan BPL Prevalence-adjusted Bias-adjusted {kappa} Values as Additional Indicators to Measure Observer Agreement [letter]Radiology2004 2321302-a303

    Not in our library10.1148/radiol.2321031974

  11. 11.

    Mak HKF Yau KKW Khong P-L Ching ASC Cheng P-W Au-Yeung PKM Pang PKM Wong KCW Chan BPL Hypodensity of > 1/3 Middle Cerebral Artery Territory Versus Alberta Stroke Programme Early CT Score (ASPECTS): Comparison of Two Methods of Quantitative Evaluation of Early CT Changes in Hyperacute Ischemic Stroke in the Community SettingStroke2003 34511941196

    Not in our library10.1161/01.str.0000069162.64966.71

  12. 12.

    Wapenaar W Barkema HW VanLeeuwen JA McClure JT O'Handley RM Kwok OCH Thulliez P Dubey JP Jenkins MC Comparison of serological methods for the diagnosis of Neospora caninum infection in cattleVeterinary Parasitology2007 1432166173

    Not in our library10.1016/j.vetpar.2006.08.007

  13. 13.

    Garbers S Chiasson MA Patterns of agreement on breast cancer screening knowledge and practices among women in Dominican and Mexican families in New York CityMed Sci Monit2004 1011CR628634

    Not in our library

  14. 14.

    Thomsen PT Baadsgaard NP Intra- and inter-observer agreement of a protocol for clinical examination of dairy cowsPreventive Veterinary Medicine2006 751–2133139

    Not in our library10.1016/j.prevetmed.2006.02.004

  15. 15.

    Cibere J Bellamy N Thorne A Esdaile JM McGorm KJ Chalmers A Huang S Peloso P Shojania K Singer J Reliability of the knee examination in osteoarthritis: Effect of standardizationArthritis & Rheumatism2004 502458468

    Not in our library10.1002/art.20025

  16. 16.

    Wapenaar W Barkema HW Schares G Rouvinen-Watt K Zeijlemaker L Poorter B O'Handley RM Kwok OCH Dubey JP Evaluation of four serological techniques to determine the seroprevalence of Neospora caninum in foxes (Vulpes vulpes) and coyotes (Canis latrans) on Prince Edward Island, CanadaVeterinary Parasitology2007 1451–25158

    Not in our library10.1016/j.vetpar.2006.12.002

  17. 17.

    Vania Reis Girianelli LCST Evaluation of agreement between conventional and liquid-based cytology in cervical cancer early detection based on analysis of 2,091 smears: Experience at the Brazilian National Cancer InstituteDiagnostic Cytopathology2007 359545549

    Not in our library10.1002/dc.20699

  18. 18.

    Quan H Sundararajan V Halfon P Fong A Burnand B Luthi JC Saunders LD Beck CA Feasby TE Ghali WA Coding algorithms for defining comorbidities in ICD-9-CM and ICD-10 administrative dataMed Care2005 431111301139

    Not in our library10.1097/01.mlr.0000182534.19832.83

  19. 19.

    Bernstein CN Blanchard JF Rawsthorne P Wajda A Epidemiology of Crohn's disease and ulcerative colitis in a central Canadian province: a population-based studyAm J Epidemiol1999 14910916924

    Not in our library10.1093/oxfordjournals.aje.a009735

  20. 20.

    Humphries KH Rankin JM Carere RG Buller CE Kiely FM Spinelli JJ Co-morbidity data in outcomes research: are clinical data derived from administrative databases a reliable alternative to chart review?J Clin Epidemiol2000 534343349

    Not in our library10.1016/s0895-4356(99)00188-2

  21. 21.

    Kokotailo RA Hill MD Coding of stroke and stroke risk factors using international classification of diseases, revisions 9 and 10Stroke2005 36817761781

    Not in our library10.1161/01.str.0000174293.17959.a1

  22. 22.

    Vach W The dependence of Cohen's kappa on the prevalence does not matterJ Clin Epidemiol2005 587655661

    Not in our library10.1016/j.jclinepi.2004.02.021

  23. 23.

    Whiteburst JA Interrater agreement for journal manuscript reviewsAm Psychologist1984 392228

    Not in our library10.1037/0003-066x.39.1.22

  24. 24.

    Agresti A Ghosh A Raking Kappa: Describing Potential Impact of Marginal Distributions on Measures of AgreementBiometrical Journal1995 377811820

    Not in our library10.1002/bimj.4710370705

  25. 25.

    CIHICanadian Coding Standards for ICD-10-CA and CCI for 20072007 Ottawa: Canadian Institute of Health Information

    Not in our library

  26. 26.

    Sim J Wright CC The kappa statistic in reliability studies: use, interpretation, and sample size requirementsPhys Ther2005 853257268

    Not in our library

  27. 27.

    Cohen J Weighted kappa: Nominal scale agreement with provision for scaled disagreement or partial creditPsych Bull1968 70213220

    Not in our library10.1037/h0026256

  28. 28.

    Fleiss JL Cohen J Davies M Large sample standard errors of kappa and weighted kappaPsych Bull1969 72323327

    Not in our library10.1037/h0028106

  29. 29.

    Landis RJ Koch GG The measurement of observer agreement for categorical dataBiometrics1977 33159174

    Not in our library10.2307/2529310

  30. 30.

    Fleiss JL Measuring nominal scale agreement among many ratersPsych Bull1971 76378382

    Not in our library10.1037/h0031619

  31. 31.

    Landis RJ Koch GG A one-way components of variance model for categorical dataBiometrics1977 33671679

    Not in our library10.2307/2529465

  32. 32.

    Barlow W Measurement of interrater agreement with adjustment for covariatesBiometrics1996 522695702

    Not in our library10.2307/2532907

  33. 33.

    Quan H Parsons GA Ghali WA Validity of procedure codes in International Classification of Diseases, 9th revision, clinical modification administrative dataMed Care2004 428801809

    Not in our library10.1097/01.mlr.0000132391.59713.0d

Cited by papers we hold 6

Reads

Read by people on this page

None yet.

Checked or read by AI through naulon

None yet.

A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.

Are you an author?

Is this your paper?

Claim it to add your note and be paid when agents cite it. Free.