Skip to main content

Posts

Showing posts from June, 2017

A multigroup comparison of IRR using a modified Fleiss' Kappa statistic

Inter rater reliability (IRR) among more than two raters may be calculated using a modified Fleiss' Kappa. I suggest a modified version of the procedures for modified Fleiss' Kappa enabling the surveyor to compare different groups of respondents across a range of evaluators.

Scripts:
IRR for nomial data
IRR for ordinal data using a linear weight matrix



NORDCAN - incidences and numbers

Below components to a R-script, which will extract age-gender specific rates and proportions from Nordic databases divided by year and geography.

Link to NORDCAN website: >click here<

library(XML)

#Source
#http://www-dep.iarc.fr/NORDCAN/DK/glossary.htm#ASR

#Table mapping ICD codes and cancer types

# ICD-10Label
# C00-14\C10.1 Lip, oral cavity and pharynx
# C00.0-2,C00.5-9 Lip
# C00.3-4,C02-04,C05.0,C06 Oral cavity
# C01,C05.1-9,C09,C10.0,C10.2-9 Oropharynx
# C07-08 Salivary glands
# C11 Nasopharynx
# C12-13 Hypopharynx
# C14 Pharynx, ill-defined
# C15 Oesophagus
# C16 Stomach
# C17 Small intestine
# C18 Colon
# C18-21 Colorectal
# C19-21 Rectum and anus
# C22 Liver
# C23-24 Gallbladder
# C25 Pancreas
# C26,C39,C76-80, C97,D47 Unknown and ill-defined
# C30-31 Nose, sinuses
# C32+C10.1 Larynx
# C33-34 Lung
# C37,C38.0-3,C38.8,C45.1-9,C46.2-9,C47-48,C74,C75.0,C75.4-9,C88,D46 Other specified cancers
# C38.4+C45.0 Pleura
# C40-41 Bone
# C43 Melanoma of skin
# C44+C46.0 Skin, non-melanoma
# C49+C46.1 Soft tissues
# C…