Biostatistics for Medical Students: Choose Tests and Interpret Results

Biostatistics is the backbone of evidence-based medicine. As a medical student, you don’t need to become a mathematician, but you must know how to choose the right statistical test and correctly interpret the results. This article walks you through the practical steps, from understanding your data to reading p‑values, with real clinical examples you will see in your studies and future practice.

Understanding Data Types and Research Questions

  • Every statistical test depends on the type of data you have: categorical (e.g., male/female, recovered/not recovered) or continuous (e.g., blood pressure, weight).
  • The research question also dictates the test: are you comparing groups, looking for an association, or predicting an outcome?
  • Identify whether your variables are independent (different patients in each group) or paired (same patient measured twice, e.g., before and after treatment).
  • For example, comparing systolic blood pressure between a drug group and a placebo group uses an independent t‑test; measuring the same patients before and after treatment uses a paired t‑test.

Choosing the Right Statistical Test

  • Start with your outcome variable: continuous or categorical?
  • Then ask how many groups you are comparing: two groups, three or more groups, or just one group against a known value?
  • If comparing two independent continuous variables, use an independent t‑test; for three or more independent groups, use one‑way ANOVA.
  • For categorical outcomes (e.g., yes/no), use a chi‑square test for association or Fisher’s exact test when sample sizes are small.
  • To examine the relationship between two continuous variables, use Pearson or Spearman correlation; to predict an outcome, use linear or logistic regression.
  • Always check test assumptions (normality, equal variances, independence) before applying a test.
“Statistics is the grammar of science.” — Karl Pearson. Knowing the right test is like choosing the correct verb tense – it makes your clinical findings clear and trustworthy.

Common Tests for Medical Studies

The table below summarises the most frequently used statistical tests in medical research. Use it as a quick reference when you read journal articles or plan your own project.

Test Name When to Use Example How to Interpret
Independent t‑test Compare means of two unrelated groups (continuous outcome) Mean LDL cholesterol in statin vs. placebo group If p < 0.05, the difference is statistically significant; report mean difference and 95% CI
Paired t‑test Compare means of the same subjects at two time points Blood pressure before and after a diuretic Significant p‑value suggests a real change over time
One‑way ANOVA Compare means of three or more independent groups HbA1c across three different diabetes medications Significant F‑test indicates at least one group differs; post‑hoc tests show which pairs
Chi‑square test Test association between two categorical variables Smoking status (yes/no) vs. lung cancer diagnosis (yes/no) p < 0.05 means there is a significant association; check odds ratio for strength
Pearson correlation Measure linear relationship between two continuous variables BMI vs. fasting glucose r close to 1 or -1 indicates strong correlation; p‑value says if it’s real
Linear regression Predict a continuous outcome from one or more predictors Predict weight from height, age, and sex Look at the coefficient (slope) and its p‑value; R² explains variance
Logistic regression Predict a binary outcome (yes/no) from predictors Predict 30‑day mortality based on age, creatinine, and infection Odds ratio with 95% CI; if CI does not include 1, predictor is significant

Detailed Examples of Each Test

  • Independent t‑test: You want to see if a new antihypertensive lowers systolic BP more than a placebo. After collecting data from 50 patients per group, you calculate a mean difference of 8 mmHg with p = 0.003. You conclude the drug is effective.
  • Paired t‑test: A cohort of 30 asthmatic patients has FEV1 measured before and after using a bronchodilator. The mean increase is 0.4 L, p = 0.001. The effect is statistically significant.
  • Chi‑square test: In a case‑control study, 40 out of 100 lung cancer patients are smokers, compared to 15 out of 100 controls. Chi‑square = 14.2, p < 0.001. Smoking is strongly associated with lung cancer.
  • ANOVA: Three diets (low‑fat, low‑carb, Mediterranean) are compared for weight loss. ANOVA F = 4.5, p = 0.01. Post‑hoc tests show that the Mediterranean diet led to significantly more weight loss than the low‑fat diet.
  • Pearson correlation: You plot hours of sleep versus blood glucose levels in 200 healthy adults. r = -0.35, p = 0.001. More sleep is weakly associated with lower glucose.

Interpreting p‑values and Confidence Intervals

  • A p‑value is the probability of observing your data (or something more extreme) if the null hypothesis is true. It is not the probability that the null hypothesis is true.
  • Common threshold: p < 0.05 is considered statistically significant, but this is an arbitrary cutoff. Always look at effect size and clinical relevance.
  • Confidence intervals give a range of plausible values for the true effect. A 95% CI that does not include zero (for differences) or one (for odds ratios) indicates statistical significance.
  • For example, if the mean difference in blood pressure is 8 mmHg with 95% CI [3, 13], you can be 95% confident that the true effect lies between 3 and 13 mmHg – a clinically meaningful drop.
  • Remember: a non‑significant p‑value does not prove no effect; it simply means the data are consistent with no effect. Sample size matters greatly.
“Absence of evidence is not evidence of absence.” — Carl Sagan. Medical students must resist the temptation to declare a treatment ineffective just because p > 0.05.

Common Mistakes to Avoid

  • Multiple testing without correction: Running many tests inflates the chance of a false positive. Use Bonferroni, Holm, or false discovery rate adjustments.
  • Ignoring assumptions: For example, using a t‑test on non‑normal data when a Mann‑Whitney U test would be more appropriate.
  • Misinterpreting p‑values as effect sizes: A very small p‑value from a large sample does not mean a large effect – always check the mean difference or odds ratio.
  • Using the wrong test for paired data: Comparing before‑after measurements with an independent t‑test loses power and can mislead.
  • Over‑reliance on p‑values: Instead, focus on confidence intervals and clinical significance.

Practical Example: A Clinical Trial

Imagine a randomized controlled trial comparing a new antibiotic (Group A) to standard therapy (Group B) for hospital‑acquired pneumonia. The primary outcome is clinical cure rate (yes/no) at day 14. The secondary outcome is length of hospital stay (continuous). The researchers collect data from 120 patients per group.

  • Primary analysis: Chi‑square test compares cure rates. Group A: 85% cured (102/120), Group B: 70% cured (84/120). Chi‑square = 7.8, p = 0.005. The difference in proportions is 15% with a 95% CI [6%, 24%]. The new antibiotic is significantly better.
  • Secondary analysis: Length of stay is compared using an independent t‑test. Mean stay: Group A 7.2 days, Group B 8.8 days. Mean difference = -1.6 days, t = 2.9, p = 0.004, 95% CI [-2.7, -0.5]. The new antibiotic also reduces hospital stay.
  • Assumptions checked: Normality of length of stay was assessed with a histogram and Shapiro‑Wilk test; variances were equal (Levene’s test p = 0.45).
  • Interpretation summary: The trial shows statistically significant and clinically meaningful benefits for the new antibiotic. However, one should also consider side effects and cost before changing practice.

Conclusion

Choosing the correct statistical test and interpreting results accurately are core skills for every medical student. Focus on your data type, the structure of your study, and the clinical question. Use the table and examples above as a starting point. Always pair statistical significance with effect sizes and confidence intervals. With practice, you will read research critically and design better studies yourself.

Frequently Asked Questions (FAQ)

What is the difference between parametric and nonparametric tests?

Parametric tests (e.g., t‑test, ANOVA) assume data follow a known distribution (usually normal) and require continuous data with homogeneity of variances. Nonparametric tests (e.g., Mann‑Whitney U, Kruskal‑Wallis) make fewer assumptions and can be used on ordinal data or when normality is violated. For small samples or skewed data, nonparametric tests are safer.

When should I use a one‑tailed vs. two‑tailed test?

Use a two‑tailed test unless you have a strong theoretical reason to expect an effect only in one direction (e.g., a new drug can only be better, not worse). In medical research two‑tailed tests are standard because they protect against unexpected adverse effects.

How do I interpret an odds ratio from logistic regression?

An odds ratio (OR) greater than 1 means the exposure increases the odds of the outcome; OR less than 1 means it decreases the odds. The confidence interval tells you precision. For example, OR = 2.5 (95% CI 1.8–3.5) means the exposed group has 2.5 times the odds of the outcome, and the result is significant because the CI does not include 1.

What does “p = 0.06” mean in a clinical trial?

It means there is a 6% probability of seeing the observed difference (or more extreme) if the null hypothesis were true. This is not statistically significant at the conventional α = 0.05 level. However, it does not mean “no effect.” It could be a small sample size or a clinically important trend. Always evaluate effect size and clinical context.

How do I choose between Pearson and Spearman correlation?

Pearson correlation measures linear relationships and assumes continuous, normally distributed data. Spearman correlation is based on ranks and works for monotonic relationships (not necessarily linear) and for ordinal data or non‑normal continuous data. If you see a curve in your scatter plot, use Spearman.

What is the best way to adjust for multiple comparisons?

The Bonferroni correction divides the α level by the number of tests (e.g., α = 0.05/10 tests = 0.005). It is very conservative. Alternative methods like Holm‑Bonferroni or the false discovery rate provide more power. The choice depends on whether you want to avoid any false positives (Bonferroni) or tolerate a small proportion of false discoveries (FDR).

Can I use a chi‑square test if any expected count is less than 5?

No. When expected frequencies are small, the chi‑square approximation is unreliable. Use Fisher’s exact test instead, which calculates the exact p‑value regardless of sample size. Many statistical software automatically do this for 2×2 tables.

What is a “clinically significant” result?

A clinically significant result is one that makes a real difference to patient care – not just a statistically significant p‑value. For example, a drug that lowers systolic BP by 2 mmHg might be statistically significant with a large sample, but 2 mmHg is rarely clinically meaningful. Always ask: would this change my management?

How do I interpret the R² value in linear regression?

R² tells you the proportion of variance in the outcome that is explained by the predictors. For example, R² = 0.45 means 45% of the variation in blood pressure is explained by age, weight, and diet. The remaining 55% is due to other factors and random variation.

What is the difference between intention‑to‑treat and per‑protocol analysis?

Intention‑to‑treat (ITT) includes all participants as originally allocated, regardless of adherence or dropout. This preserves randomization and gives a pragmatic estimate of effect. Per‑protocol analysis includes only those who completed the treatment as assigned, which can introduce bias. ITT is preferred for primary analysis in superiority trials.

Still to read...