Matched case-control studies are a classical epidemiological study design. Case-control designs are used to estimate the odds ratio for a disease given exposure to a specific risk factor. The odds ratio 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.

Access CMATCH (opens in a new window)

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.