Biostatistics for your PG thesis: p-values, confidence intervals and choosing a test

A plain guide to biostatistics for MD, MS and DNB theses: what a p-value and confidence interval mean, how to choose a test, and common mistakes to avoid.

By the NextPrep editorial team · · 4 min read · 942 words

Most postgraduate residents meet biostatistics twice: once as a short chapter in community medicine, and again when the thesis committee asks, "Which test did you use, and why?" By then the chapter is a blur. This guide is a refresher aimed at the second moment. It will not replace a biostatistician, and it is not a course. It will help you talk to one, understand your own results, and avoid the mistakes committees notice first.

Your university's thesis guidelines and your guide decide the required format, so treat this as general support.

Start with the question, not the test

Every analysis begins with the study question and the type of data you collected. Ask three things.

  1. What is the outcome? A measurement (blood pressure, haemoglobin) or a category (cured or not, mild or severe)?
  2. How many groups are you comparing? One, two, or more?
  3. Are the groups independent, or are they the same patients measured twice?

These three answers choose the test far more than any rule of thumb.

Types of data in one table

TypeExampleUsual summary
Numerical, roughly symmetricalAge, haemoglobinMean and standard deviation
Numerical, skewedLength of stay, serum triglyceridesMedian and interquartile range
CategoricalSex, stage, responseCounts and percentages

If you summarise skewed data with a mean, a few extreme values can mislead the reader. Look at the distribution before you choose.

Choosing a test: a starting map

This map covers the most common situations. Confirm the assumptions with your statistician.

  • Compare the means of two independent groups: the independent t-test, if the data are roughly normal. If not, the Mann-Whitney U test.
  • Compare the same patients before and after: the paired t-test, or the Wilcoxon signed-rank test if not normal.
  • Compare means across three or more groups: analysis of variance, or the Kruskal-Wallis test if not normal.
  • Compare proportions between groups: the chi-square test, or Fisher's exact test when the numbers are small.
  • Look at the relationship between two numerical variables: correlation, and regression if you want to predict one from the other.

What a p-value means, and what it does not

A p-value is the probability of seeing a result at least as extreme as yours if there were truly no difference (the null hypothesis). A small p-value, conventionally below 0.05, means your data would be unusual if there were no effect.

It does not tell you:

  • the probability that the null hypothesis is true,
  • how large or important the effect is,
  • that a non-significant result means "no difference". It may simply mean the study was too small to detect one.

Always report the p-value alongside the size of the effect.

Confidence intervals: more informative than a p-value

A 95 percent confidence interval gives a range of values that is compatible with your data. If the interval for a difference between two groups excludes zero (or, for a ratio, excludes one), the result is statistically significant at that level. More usefully, the width tells you how precise your estimate is. A very wide interval means the study cannot say much, even if p is small.

Type I and type II errors, and why sample size matters

  • A type I error is a false positive: you conclude there is a difference when there is none. The significance level you choose controls its risk.
  • A type II error is a false negative: you miss a real difference. The power of a study is the chance of detecting a real effect, and a study with too few participants has low power.

This is why the sample size is calculated before you collect data, from the expected effect, the variability, the significance level and the desired power. A committee will ask where your number came from, so keep the calculation and its source in your protocol.

Common mistakes committees notice

  • Many tests on the same data, and reporting only the significant ones. The more comparisons you run, the more likely something looks significant by chance.
  • Using a parametric test on clearly skewed data without checking.
  • Treating "not significant" as "equivalent".
  • Percentages without counts, which hide small numbers.
  • Confusing correlation with causation.
  • Dropping participants without saying so. Report how many were enrolled, completed and analysed.

Reading your own output

Statistical software gives a lot of numbers. Read in this order: first the descriptive summary (do the numbers look sensible?), then the effect size and confidence interval, then the p-value. If anything surprises you, go back to the data and check for entry errors before you believe the result.

Writing the results section

State the test used and why, report the effect with its confidence interval, give the p-value, and say what it means in clinical terms. Add a table of baseline characteristics, because readers want to know whether the groups were comparable. Our guide to reading a journal article and citing guidelines shows how to judge the same things in other people's papers, and the thesis timeline shows when each step falls.

One thing to do this week

Write your study question, the outcome type, the number of groups and whether they are independent, on one page. Take it to your guide or a statistician and ask them to confirm the test. Doing that before data collection, and not after, saves months.

This article is general educational guidance. Confirm your design, sample size and tests with your guide and a qualified statistician.

Put it into practice

Where do you actually stand?

One question from every NEET PG subject, then an honest read on your starting point, with the reasoning behind every option.

General study advice, not medical or clinical guidance. NextPrep is independent and not affiliated with any examination authority. Check exam details in the official information bulletin.

Keep reading

Sign up for our newsletter

Launch news and new study guides. Occasional, plain, and nothing sold or shared.

Privacy policy