Statistics answers two questions: what did we observe in our sample, and how confident can we be that it reflects the truth in the wider population? This page explains the concepts surgeons meet most often in papers, audits and examinations, without the mathematics.
Types of data
| Type | Description | Example | Summarised by |
|---|---|---|---|
| Continuous (interval or ratio) | Measured on a scale | Age, creatinine, gradient | Mean and SD (if normally distributed) or median and IQR |
| Ordinal | Ordered categories without equal steps | NYHA class, frailty score | Median and IQR, or counts |
| Nominal (categorical) | Unordered categories | Valve type, sex | Counts and percentages |
| Binary | Two categories | Alive or dead, stroke or no stroke | Proportions |
| Time-to-event | Time until an outcome, with censoring | Survival, freedom from reoperation | Kaplan–Meier curves, median survival |
Describing data
- Mean: the average; sensitive to outliers.
- Median: the middle value; robust to skewed data (for example length of stay).
- Standard deviation (SD): spread of individual values around the mean. In a normal distribution, about 68% of values lie within 1 SD and 95% within 1.96 SD.
- Interquartile range (IQR): the middle 50% of values (25th to 75th centile).
- Standard error of the mean (SEM): SD divided by the square root of the sample size; describes the precision of the estimated mean, not the spread of the data.
- Normal (Gaussian) distribution: symmetrical, bell-shaped. Check normality with a histogram, a Q–Q plot or a test such as Shapiro–Wilk. Skewed data can be transformed (for example logarithmically) or analysed with non-parametric tests.
Hypothesis testing
- Null hypothesis (H₀): there is no difference between groups.
- P value: the probability of observing a result at least as extreme as the one seen, if the null hypothesis were true. It is not the probability that the null hypothesis is true, and it says nothing about the size or importance of an effect.
- Significance level (α): the threshold below which the null hypothesis is rejected, usually 0.05.
- Type I error (false positive): rejecting a true null hypothesis; its probability is α.
- Type II error (false negative): failing to reject a false null hypothesis; its probability is β.
- Power (1 − β): the probability of detecting a true effect of a given size; usually set at 80–90%.
- Multiple comparisons: testing many outcomes or subgroups increases the chance of false positives; correct with methods such as Bonferroni, or treat secondary results as hypothesis-generating.
P values and confidence intervals
A 95% confidence interval gives a range of values that is compatible with the data: if the study were repeated many times, 95% of such intervals would contain the true value. A confidence interval is more informative than a P value because it shows both the size of the effect and its precision. If the 95% CI for a difference excludes 0 (or for a ratio excludes 1), P is below 0.05.
Measures of effect for binary outcomes
Consider a trial in which 10% of control patients and 6% of treated patients die.
| Measure | Calculation | Result | Meaning |
|---|---|---|---|
| Absolute risk reduction (ARR) | Control risk − treated risk | 10% − 6% = 4% | Treatment prevents 4 deaths per 100 patients |
| Relative risk (RR) | Treated risk ÷ control risk | 0.06 ÷ 0.10 = 0.6 | Treated patients have 60% of the risk |
| Relative risk reduction (RRR) | 1 − RR | 40% | Treatment reduces risk by 40% (in relative terms) |
| Number needed to treat (NNT) | 1 ÷ ARR | 1 ÷ 0.04 = 25 | 25 patients must be treated to prevent one death |
| Odds ratio (OR) | Odds in treated ÷ odds in control | (6/94) ÷ (10/90) ≈ 0.57 | Approximates the RR when events are uncommon; used in case–control studies and logistic regression |
| Hazard ratio (HR) | Ratio of event rates over time | From Cox regression | An HR of 0.7 means a 30% lower instantaneous risk at any time |
Relative measures look impressive; absolute measures and the NNT show the real-world benefit, which depends on the baseline risk.
Diagnostic tests
| Disease present | Disease absent | |
|---|---|---|
| Test positive | True positive (a) | False positive (b) |
| Test negative | False negative (c) | True negative (d) |
- Sensitivity = a ÷ (a + c): the proportion of people with disease who test positive. A highly sensitive test, when negative, rules out disease ("SnNout").
- Specificity = d ÷ (b + d): the proportion of people without disease who test negative. A highly specific test, when positive, rules in disease ("SpPin").
- Positive predictive value = a ÷ (a + b) and negative predictive value = d ÷ (c + d): depend on the prevalence of disease in the population tested.
- Likelihood ratios combine sensitivity and specificity and can be applied to any pre-test probability.
- ROC curve: plots sensitivity against 1 − specificity across cut-offs; the area under the curve (AUC, or C-statistic) measures discrimination (0.5 = chance, 1.0 = perfect). EuroSCORE II has a C-statistic of about 0.8.
- Calibration: whether predicted risks match observed risks (for example on a calibration plot); a risk model can discriminate well but be poorly calibrated.
Survival analysis
- Censoring: patients who have not had the event by the end of follow-up (or who are lost) contribute information up to the time they are censored.
- Kaplan–Meier curve: estimates the proportion free from the event over time. Check the numbers at risk shown beneath the curve; estimates become unreliable when few patients remain.
- Log-rank test: compares Kaplan–Meier curves between groups.
- Cox proportional hazards regression: estimates hazard ratios while adjusting for several variables; assumes the hazard ratio is constant over time (check this assumption, as early surgical risk followed by later benefit violates it).
- Competing risks: when death prevents the event of interest (for example reoperation in elderly patients), Kaplan–Meier overestimates the event rate; use cumulative incidence functions (Fine–Gray models).
Regression and adjustment
- Linear regression: continuous outcomes (for example postoperative creatinine).
- Logistic regression: binary outcomes (for example 30-day mortality); gives adjusted odds ratios. Risk scores such as EuroSCORE are built this way.
- Cox regression: time-to-event outcomes.
- Confounding: a factor associated with both the exposure and the outcome (for example frailty is linked to choosing TAVI and to mortality). Adjust by multivariable regression, matching, stratification or propensity scores.
- Propensity score: the probability of receiving a treatment given the measured covariates; used for matching, weighting or adjustment, but cannot correct for unmeasured confounders.
- Overfitting: too many variables for the number of events; a rule of thumb is at least 10 events per variable.
Choosing a statistical test
| Question | Data | Two groups, independent | Two groups, paired | Three or more groups |
|---|---|---|---|---|
| Compare averages | Continuous, normal | Unpaired t-test | Paired t-test | One-way ANOVA (repeated-measures ANOVA if paired) |
| Compare averages | Continuous skewed, or ordinal | Mann–Whitney U test | Wilcoxon signed-rank test | Kruskal–Wallis test (Friedman test if paired) |
| Compare proportions | Categorical | Chi-squared test (Fisher's exact test if expected counts below 5) | McNemar's test | Chi-squared test |
| Compare survival | Time-to-event | Log-rank test | Log-rank test | |
| Association between two variables | Continuous, normal | Pearson correlation; linear regression | ||
| Association between two variables | Ordinal or skewed | Spearman rank correlation | ||
| Agreement between methods | Continuous | Bland–Altman plot (not correlation) | ||
| Agreement between observers | Categorical | Cohen's kappa |
Common pitfalls
- Confusing statistical significance with clinical importance.
- Treating "not significant" as "no difference": an underpowered study may miss a real effect; look at the confidence interval.
- Subgroup analyses: most "significant" subgroup findings are chance; look for a test of interaction and biological plausibility.
- Using correlation to assess agreement between two measurement methods.
- Reporting SEM instead of SD to make data look less variable.
- Survivor (immortal time) bias in observational studies, when a treatment can only be received by patients who survive long enough to receive it.
- Regression to the mean in before-and-after studies.