Clinical Knowledge › Epidemiology and biostatistics › Descriptive statistics
Types of data and variables
Every statistical choice in medicine starts with one question: what type of data is this? Categorical (qualitative) data place people into groups. Nominal categories have no order (blood group, ethnicity), binary or dichotomous data have two levels (alive or dead, smoker or not) and ordinal categories have a natural order but unequal steps (NYHA class, cancer stage, a pain score). Numerical (quantitative) data are counts or measurements. Discrete data take whole-number values (number of asthma attacks, parity), while continuous data can take any value within a range (haemoglobin, weight, time). Numerical scales are interval if zero is arbitrary (temperature in °C, so 40 °C is not twice as hot as 20 °C) or ratio if zero means none (creatinine, height). The data type decides how you summarise the data (proportion, median or mean), how you plot it (bar chart, histogram or box plot) and which test you use (chi-squared, Mann–Whitney or t-test). Variables also have roles: outcome, exposure, confounder and effect modifier. Splitting continuous variables into categories wastes information and power.
Patient case, mechanism, investigations, management, differentials, exam pearls, flashcards and exam-style questions. Included free with every exam plan (IFOM, MCCQE, AMC, Qatar, MRCP, OET) or a Clinical Knowledge plan.Open the lesson → See plans
Key facts (preview)
- Categorical data: nominal (no order), binary (two groups) and ordinal (ordered, unequal intervals)
- Numerical data: discrete (counts) and continuous (measurements on a scale)
- Interval scale has an arbitrary zero (°C); ratio scale has a true zero (kelvin, mmol/L, kg), so ratios make sense
- Worked example: 40 °C vs 20 °C is 313.15 K / 293.15 K = 1.07 times, not twice as hot
Guideline
SAMPL guidelines for basic statistical reporting (2015), CONSORT 2025 and ICMJE Recommendations (updated 2025)
References
- Stevens SS. On the theory of scales of measurement. Science 1946.
- Lang TA, Altman DG. Basic statistical reporting for articles published in biomedical journals: the Statistical Analyses and Methods in the Published Literature (SAMPL) guidelines. Int J Nurs Stud 2015.
- Altman DG, Royston P. The cost of dichotomising continuous variables. BMJ 2006.
- Hopewell S, Chan AW, Collins GS, et al.. CONSORT 2025 statement: updated guideline for reporting randomised trials. BMJ 2025.
- International Committee of Medical Journal Editors (ICMJE). Recommendations for the Conduct, Reporting, Editing, and Publication of Scholarly Work in Medical Journals (updated periodically). ICMJE 2025.
- Altman DG. Practical Statistics for Medical Research. Chapman and Hall 1991.
Related topics
By Dr Khalid Seidi (B.Sc., M.D.) · MedEd World Clinical Knowledge library. Original teaching content checked against current guidelines (November 2026); confirm the latest local guidance before clinical use. Not a substitute for clinical judgement.