diagnosis: Fleiss (1971): Diagnoses on 30 subjects by 6 raters per...

diagnosisR Documentation

Fleiss (1971): Diagnoses on 30 subjects by 6 raters per subject

Description

Psychiatric diagnoses of 30 patients provided by 6 raters. Data were used by Fleiss (1971) to illustrate the computation of Kappa for multiple raters.

Usage

diagnosis

Format

A tibble with 30 observations (psychiatric diagnoses with levels Depression, Personality Disorder, Schizophrenia, Neurosis, Other) on 6 variables representing different raters and one variable for subject ID.

subject

Subject ID

rater1

a factor including the diagnoses of rater 1 (levels see above)

rater2

a factor including the diagnoses of rater 2 (levels see above)

rater3

a factor including the diagnoses of rater 3 (levels see above)

rater4

a factor including the diagnoses of rater 4 (levels see above)

rater5

a factor including the diagnoses of rater 5 (levels see above)

rater6

a factor including the diagnoses of rater 6 (levels see above)

Source

Fleiss, J.L. (1971). Measuring nominal scale agreement among many raters. Psychological Bulletin, 76, 378-382.

References

Fleiss, J.L. (1971). Measuring nominal scale agreement among many raters. Psychological Bulletin, 76, 378-382.

Examples

diagnosis

library(dplyr)
library(tidyr)
# Table 1, Fleiss (1971): Diagnoses on 30 subjects by 6 raters per subject
diagnosis %>%
  tidyr::gather(.,
                key = "rater",
                value = "rating",
                dplyr::starts_with("rater")) %>%
  with(., table(subject, rating))

emilelatour/lagree documentation built on Sept. 18, 2024, 5:19 p.m.