Matched case-control studies are a classical Epidemiology study design. Case-control study designs are used to estimate the relative risk for a disease from a specific risk factor. The estimate is the odds ratio, which is a good estimate of the relative risk especially when the disease is rare. cmatch tabulates the number of matched pairs by c levels of an exposure variable. cmatch forms a c x c table of matched pairs by the exposure status of the case and the exposure status of the control. The data must be in the form of individual records.


Note: cmatch is an improved version of match originally developed by the EPM-304 (Adavance Statistical Methods in Epidemiology) distance Learning MSc programme in Epidemiology from the London School of Hygiene and Tropical Medicine.

Miguel Angel Luque-Fernandez, LSHTM, NCDE, Cancer Survival Group, London, U.K.

Luque-Fernandez MA, (2017). Tabulation of matched pairs in 1:1 case control study by exposure status. GitHub repository,

Miguel Angel Luque-Fernandez
E-mail: miguel-angel.luque at
Twitter: @WATZILEI

Comments are closed.